struct Facebook::Proto::Tab

Included Modules

Defined in:

cli/proto/facebook/Tab.pb.cr

Constant 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

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(buf : Protobuf::Buffer) #

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) #

def self.new(pull : JSON::PullParser) #

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def []=(key : String, val) #

def []?(key : String) #

def custom_image_url : String | Nil #

def custom_image_url=(custom_image_url : String | Nil) #

def custom_name : String | Nil #

def custom_name=(custom_name : String | Nil) #

def id : String | Nil #

def id=(id : String | Nil) #

def image_url : String | Nil #

def image_url=(image_url : String | Nil) #

def is_non_connection_landing_tab : Bool | Nil #

def is_non_connection_landing_tab=(is_non_connection_landing_tab : Bool | Nil) #

def is_permanent : Bool | Nil #

def is_permanent=(is_permanent : Bool | Nil) #

def link : String | Nil #

def link=(link : String | Nil) #

def name : String | Nil #

def name=(name : String | Nil) #

def position : Int64 | Nil #

def position=(position : Int64 | Nil) #

def to_hash #

def to_protobuf(io : IO, embedded = false) #

def to_protobuf #