struct Facebook::Proto::Tab
- Facebook::Proto::Tab
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
cli/proto/facebook/Tab.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: :custom_image_url, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :custom_name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :image_url, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :is_non_connection_landing_tab, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :is_permanent, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :link, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :position, 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, custom_image_url : String | Nil = nil, custom_name : String | Nil = nil, image_url : String | Nil = nil, is_non_connection_landing_tab : Bool | Nil = nil, is_permanent : Bool | Nil = nil, link : String | Nil = nil, name : String | Nil = nil, position : Int64 | Nil = nil)
- .new(pull : JSON::PullParser)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #[]=(key : String, val)
- #[]?(key : String)
- #custom_image_url : String | Nil
- #custom_image_url=(custom_image_url : String | Nil)
- #custom_name : String | Nil
- #custom_name=(custom_name : String | Nil)
- #id : String | Nil
- #id=(id : String | Nil)
- #image_url : String | Nil
- #image_url=(image_url : String | Nil)
- #is_non_connection_landing_tab : Bool | Nil
- #is_non_connection_landing_tab=(is_non_connection_landing_tab : Bool | Nil)
- #is_permanent : Bool | Nil
- #is_permanent=(is_permanent : Bool | Nil)
- #link : String | Nil
- #link=(link : String | Nil)
- #name : String | Nil
- #name=(name : String | Nil)
- #position : Int64 | Nil
- #position=(position : Int64 | Nil)
- #to_hash
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
Constructor Detail
def self.new(id : String | Nil = nil, custom_image_url : String | Nil = nil, custom_name : String | Nil = nil, image_url : String | Nil = nil, is_non_connection_landing_tab : Bool | Nil = nil, is_permanent : Bool | Nil = nil, link : String | Nil = nil, name : String | Nil = nil, position : Int64 | Nil = nil)
#