struct Facebook::Proto::AdCreativeLinkDataImageLayerSpec
- Facebook::Proto::AdCreativeLinkDataImageLayerSpec
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
cli/proto/facebook/AdCreativeLinkDataImageLayerSpec.pb.crConstant Summary
-
FIELDS =
{1 => {name: :blending_mode, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :frame_image_hash, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :frame_source, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :image_source, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :layer_type, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :opacity, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :overlay_position, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :overlay_shape, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :scale, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :shape_color, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 11 => {name: :text_color, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 12 => {name: :text_font, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)
-
Fields =
{} of String => Field
Constructors
- .new(buf : Protobuf::Buffer)
- .new(blending_mode : String | Nil = nil, frame_image_hash : String | Nil = nil, frame_source : String | Nil = nil, image_source : String | Nil = nil, layer_type : String | Nil = nil, opacity : Int64 | Nil = nil, overlay_position : String | Nil = nil, overlay_shape : String | Nil = nil, scale : Int64 | Nil = nil, shape_color : String | Nil = nil, text_color : String | Nil = nil, text_font : String | Nil = nil)
- .new(pull : JSON::PullParser)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #[]=(key : String, val)
- #[]?(key : String)
- #blending_mode : String | Nil
- #blending_mode=(blending_mode : String | Nil)
- #frame_image_hash : String | Nil
- #frame_image_hash=(frame_image_hash : String | Nil)
- #frame_source : String | Nil
- #frame_source=(frame_source : String | Nil)
- #image_source : String | Nil
- #image_source=(image_source : String | Nil)
- #layer_type : String | Nil
- #layer_type=(layer_type : String | Nil)
- #opacity : Int64 | Nil
- #opacity=(opacity : Int64 | Nil)
- #overlay_position : String | Nil
- #overlay_position=(overlay_position : String | Nil)
- #overlay_shape : String | Nil
- #overlay_shape=(overlay_shape : String | Nil)
- #scale : Int64 | Nil
- #scale=(scale : Int64 | Nil)
- #shape_color : String | Nil
- #shape_color=(shape_color : String | Nil)
- #text_color : String | Nil
- #text_color=(text_color : String | Nil)
- #text_font : String | Nil
- #text_font=(text_font : String | Nil)
- #to_hash
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
Constructor Detail
def self.new(blending_mode : String | Nil = nil, frame_image_hash : String | Nil = nil, frame_source : String | Nil = nil, image_source : String | Nil = nil, layer_type : String | Nil = nil, opacity : Int64 | Nil = nil, overlay_position : String | Nil = nil, overlay_shape : String | Nil = nil, scale : Int64 | Nil = nil, shape_color : String | Nil = nil, text_color : String | Nil = nil, text_font : String | Nil = nil)
#