struct Facebook::Proto::MailingAddress
- Facebook::Proto::MailingAddress
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
cli/proto/facebook/MailingAddress.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: :city, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :country, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :postal_code, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :region, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :street1, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :street2, 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(id : String | Nil = nil, city : String | Nil = nil, country : String | Nil = nil, postal_code : String | Nil = nil, region : String | Nil = nil, street1 : String | Nil = nil, street2 : String | Nil = nil)
- .new(pull : JSON::PullParser)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #[]=(key : String, val)
- #[]?(key : String)
- #city : String | Nil
- #city=(city : String | Nil)
- #country : String | Nil
- #country=(country : String | Nil)
- #id : String | Nil
- #id=(id : String | Nil)
- #postal_code : String | Nil
- #postal_code=(postal_code : String | Nil)
- #region : String | Nil
- #region=(region : String | Nil)
- #street1 : String | Nil
- #street1=(street1 : String | Nil)
- #street2 : String | Nil
- #street2=(street2 : String | Nil)
- #to_hash
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
Constructor Detail
def self.new(id : String | Nil = nil, city : String | Nil = nil, country : String | Nil = nil, postal_code : String | Nil = nil, region : String | Nil = nil, street1 : String | Nil = nil, street2 : String | Nil = nil)
#