struct Facebook::Proto::Group

Included Modules

Defined in:

cli/proto/facebook/Group.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: :archived, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :created_time, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, 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: :email, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :icon, pb_type: :string, crystal_type: String, cast_type: String?, 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: :member_count, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :member_request_count, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 11 => {name: :permissions, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 12 => {name: :privacy, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 13 => {name: :purpose, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 14 => {name: :subdomain, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 15 => {name: :updated_time, 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

Class Method Summary

Instance Method Summary

Constructor Detail

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

def self.new(id : String | Nil = nil, archived : Bool | Nil = nil, created_time : Datetime | Nil = nil, description : String | Nil = nil, email : String | Nil = nil, icon : String | Nil = nil, link : String | Nil = nil, member_count : Int64 | Nil = nil, member_request_count : Int64 | Nil = nil, name : String | Nil = nil, permissions : Array(String) | Nil = nil, privacy : String | Nil = nil, purpose : String | Nil = nil, subdomain : String | Nil = nil, updated_time : Datetime | 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 archived : Bool | Nil #

def archived=(archived : Bool | Nil) #

def created_time : Datetime | Nil #

def created_time=(created_time : Datetime | Nil) #

def description : String | Nil #

def description=(description : String | Nil) #

def email : String | Nil #

def email=(email : String | Nil) #

def icon : String | Nil #

def icon=(icon : String | Nil) #

def id : String | Nil #

def id=(id : String | Nil) #

def link : String | Nil #

def link=(link : String | Nil) #

def member_count : Int64 | Nil #

def member_count=(member_count : Int64 | Nil) #

def member_request_count : Int64 | Nil #

def member_request_count=(member_request_count : Int64 | Nil) #

def name : String | Nil #

def name=(name : String | Nil) #

def permissions : Array(String) | Nil #

def permissions=(permissions : Array(String) | Nil) #

def permissions=(permissions : Array(String) | Nil) #

def privacy : String | Nil #

def privacy=(privacy : String | Nil) #

def purpose : String | Nil #

def purpose=(purpose : String | Nil) #

def subdomain : String | Nil #

def subdomain=(subdomain : String | Nil) #

def to_hash #

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

def to_protobuf #

def updated_time : Datetime | Nil #

def updated_time=(updated_time : Datetime | Nil) #