struct Facebook::Proto::BrandAudience
- Facebook::Proto::BrandAudience
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
cli/proto/facebook/BrandAudience.pb.crConstant Summary
-
FIELDS =
{1 => {name: :id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :account_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :delivery_targeting, pb_type: Targeting, crystal_type: Targeting, cast_type: Targeting?, native: false, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :description, 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: :sentence_lines, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 7 => {name: :status, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :targeting, pb_type: Targeting, crystal_type: Targeting, cast_type: Targeting?, native: false, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :time_created, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :time_updated, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)
-
Fields =
{} of String => Field
Constructors
- .new(buf : Protobuf::Buffer)
- .new(id : String | Nil = nil, account_id : String | Nil = nil, delivery_targeting : Targeting | Nil = nil, description : String | Nil = nil, name : String | Nil = nil, sentence_lines : Array(String) | Nil = nil, status : String | Nil = nil, targeting : Targeting | Nil = nil, time_created : Datetime | Nil = nil, time_updated : Datetime | Nil = nil)
- .new(pull : JSON::PullParser)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #[]=(key : String, val)
- #[]?(key : String)
- #account_id : String | Nil
- #account_id=(account_id : String | Nil)
- #delivery_targeting : Targeting | Nil
- #delivery_targeting=(delivery_targeting : Targeting | Nil)
- #description : String | Nil
- #description=(description : String | Nil)
- #id : String | Nil
- #id=(id : String | Nil)
- #name : String | Nil
- #name=(name : String | Nil)
- #sentence_lines : Array(String) | Nil
- #sentence_lines=(sentence_lines : Array(String) | Nil)
- #sentence_lines=(sentence_lines : Array(String) | Nil)
- #status : String | Nil
- #status=(status : String | Nil)
- #targeting : Targeting | Nil
- #targeting=(targeting : Targeting | Nil)
- #time_created : Datetime | Nil
- #time_created=(time_created : Datetime | Nil)
- #time_updated : Datetime | Nil
- #time_updated=(time_updated : Datetime | Nil)
- #to_hash
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
Constructor Detail
def self.new(id : String | Nil = nil, account_id : String | Nil = nil, delivery_targeting : Targeting | Nil = nil, description : String | Nil = nil, name : String | Nil = nil, sentence_lines : Array(String) | Nil = nil, status : String | Nil = nil, targeting : Targeting | Nil = nil, time_created : Datetime | Nil = nil, time_updated : Datetime | Nil = nil)
#