struct Facebook::Proto::AdCustomizationRuleSpec
- Facebook::Proto::AdCustomizationRuleSpec
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
cli/proto/facebook/AdCustomizationRuleSpec.pb.crConstant Summary
-
FIELDS =
{1 => {name: :caption, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :description, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :link, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :message, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :priority, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, 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(caption : String | Nil = nil, description : String | Nil = nil, link : String | Nil = nil, message : String | Nil = nil, name : String | Nil = nil, priority : Int64 | Nil = nil)
- .new(pull : JSON::PullParser)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #[]=(key : String, val)
- #[]?(key : String)
- #caption : String | Nil
- #caption=(caption : String | Nil)
- #description : String | Nil
- #description=(description : String | Nil)
- #link : String | Nil
- #link=(link : String | Nil)
- #message : String | Nil
- #message=(message : String | Nil)
- #name : String | Nil
- #name=(name : String | Nil)
- #priority : Int64 | Nil
- #priority=(priority : Int64 | Nil)
- #to_hash
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
Constructor Detail
def self.new(caption : String | Nil = nil, description : String | Nil = nil, link : String | Nil = nil, message : String | Nil = nil, name : String | Nil = nil, priority : Int64 | Nil = nil)
#