struct Facebook::Proto::AdCreativeLinkDataImageOverlaySpec

Included Modules

Defined in:

cli/proto/facebook/AdCreativeLinkDataImageOverlaySpec.pb.cr

Constant Summary

FIELDS = {1 => {name: :custom_text_type, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :float_with_margin, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :overlay_template, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :position, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :text_font, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :text_template_tags, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 7 => {name: :text_type, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :theme_color, 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(custom_text_type : String | Nil = nil, float_with_margin : Bool | Nil = nil, overlay_template : String | Nil = nil, position : String | Nil = nil, text_font : String | Nil = nil, text_template_tags : Array(String) | Nil = nil, text_type : String | Nil = nil, theme_color : 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 custom_text_type : String | Nil #

def custom_text_type=(custom_text_type : String | Nil) #

def float_with_margin : Bool | Nil #

def float_with_margin=(float_with_margin : Bool | Nil) #

def overlay_template : String | Nil #

def overlay_template=(overlay_template : String | Nil) #

def position : String | Nil #

def position=(position : String | Nil) #

def text_font : String | Nil #

def text_font=(text_font : String | Nil) #

def text_template_tags : Array(String) | Nil #

def text_template_tags=(text_template_tags : Array(String) | Nil) #

def text_template_tags=(text_template_tags : Array(String) | Nil) #

def text_type : String | Nil #

def text_type=(text_type : String | Nil) #

def theme_color : String | Nil #

def theme_color=(theme_color : String | Nil) #

def to_hash #

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

def to_protobuf #