struct Facebook::Proto::AdPlacePageSet
- Facebook::Proto::AdPlacePageSet
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
cli/proto/facebook/AdPlacePageSet.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: :location_types, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 4 => {name: :name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :pages_count, 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(id : String | Nil = nil, account_id : String | Nil = nil, location_types : Array(String) | Nil = nil, name : String | Nil = nil, pages_count : Int64 | 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)
- #id : String | Nil
- #id=(id : String | Nil)
- #location_types : Array(String) | Nil
- #location_types=(location_types : Array(String) | Nil)
- #location_types=(location_types : Array(String) | Nil)
- #name : String | Nil
- #name=(name : String | Nil)
- #pages_count : Int64 | Nil
- #pages_count=(pages_count : Int64 | 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, location_types : Array(String) | Nil = nil, name : String | Nil = nil, pages_count : Int64 | Nil = nil)
#