struct Facebook::Proto::AdCreativeLinkDataImageLayerSpec

Included Modules

Defined in:

cli/proto/facebook/AdCreativeLinkDataImageLayerSpec.pb.cr

Constant 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

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(buf : Protobuf::Buffer) #

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) #

def self.new(pull : JSON::PullParser) #

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def []=(key : String, val) #

def []?(key : String) #

def blending_mode : String | Nil #

def blending_mode=(blending_mode : String | Nil) #

def frame_image_hash : String | Nil #

def frame_image_hash=(frame_image_hash : String | Nil) #

def frame_source : String | Nil #

def frame_source=(frame_source : String | Nil) #

def image_source : String | Nil #

def image_source=(image_source : String | Nil) #

def layer_type : String | Nil #

def layer_type=(layer_type : String | Nil) #

def opacity : Int64 | Nil #

def opacity=(opacity : Int64 | Nil) #

def overlay_position : String | Nil #

def overlay_position=(overlay_position : String | Nil) #

def overlay_shape : String | Nil #

def overlay_shape=(overlay_shape : String | Nil) #

def scale : Int64 | Nil #

def scale=(scale : Int64 | Nil) #

def shape_color : String | Nil #

def shape_color=(shape_color : String | Nil) #

def text_color : String | Nil #

def text_color=(text_color : String | Nil) #

def text_font : String | Nil #

def text_font=(text_font : String | Nil) #

def to_hash #

def to_protobuf(io : IO, embedded = false) #

def to_protobuf #