struct Facebook::Proto::AdCreativeLinkDataImageOverlaySpec
- Facebook::Proto::AdCreativeLinkDataImageOverlaySpec
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
cli/proto/facebook/AdCreativeLinkDataImageOverlaySpec.pb.crConstant 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
- .new(buf : Protobuf::Buffer)
- .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)
- .new(pull : JSON::PullParser)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #[]=(key : String, val)
- #[]?(key : String)
- #custom_text_type : String | Nil
- #custom_text_type=(custom_text_type : String | Nil)
- #float_with_margin : Bool | Nil
- #float_with_margin=(float_with_margin : Bool | Nil)
- #overlay_template : String | Nil
- #overlay_template=(overlay_template : String | Nil)
- #position : String | Nil
- #position=(position : String | Nil)
- #text_font : String | Nil
- #text_font=(text_font : String | Nil)
- #text_template_tags : Array(String) | Nil
- #text_template_tags=(text_template_tags : Array(String) | Nil)
- #text_template_tags=(text_template_tags : Array(String) | Nil)
- #text_type : String | Nil
- #text_type=(text_type : String | Nil)
- #theme_color : String | Nil
- #theme_color=(theme_color : String | Nil)
- #to_hash
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
Constructor Detail
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)
#