struct Facebook::Proto::Album

Included Modules

Defined in:

cli/proto/facebook/Album.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: :backdated_time, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :backdated_time_granularity, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :can_backdate, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :can_upload, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :count, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :created_time, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :description, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :is_user_facing, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :location, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 11 => {name: :modified_major, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 12 => {name: :name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 13 => {name: :photo_count, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 14 => {name: :privacy, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 15 => {name: :type, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 16 => {name: :updated_time, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 17 => {name: :video_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

Class Method Summary

Instance Method Summary

Constructor Detail

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

def self.new(id : String | Nil = nil, backdated_time : Datetime | Nil = nil, backdated_time_granularity : String | Nil = nil, can_backdate : Bool | Nil = nil, can_upload : Bool | Nil = nil, count : Int64 | Nil = nil, created_time : Datetime | Nil = nil, description : String | Nil = nil, is_user_facing : Bool | Nil = nil, location : String | Nil = nil, modified_major : Datetime | Nil = nil, name : String | Nil = nil, photo_count : Int64 | Nil = nil, privacy : String | Nil = nil, type : String | Nil = nil, updated_time : Datetime | Nil = nil, video_count : 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 backdated_time : Datetime | Nil #

def backdated_time=(backdated_time : Datetime | Nil) #

def backdated_time_granularity : String | Nil #

def backdated_time_granularity=(backdated_time_granularity : String | Nil) #

def can_backdate : Bool | Nil #

def can_backdate=(can_backdate : Bool | Nil) #

def can_upload : Bool | Nil #

def can_upload=(can_upload : Bool | Nil) #

def count : Int64 | Nil #

def count=(count : Int64 | Nil) #

def created_time : Datetime | Nil #

def created_time=(created_time : Datetime | Nil) #

def description : String | Nil #

def description=(description : String | Nil) #

def id : String | Nil #

def id=(id : String | Nil) #

def is_user_facing : Bool | Nil #

def is_user_facing=(is_user_facing : Bool | Nil) #

def location : String | Nil #

def location=(location : String | Nil) #

def modified_major : Datetime | Nil #

def modified_major=(modified_major : Datetime | Nil) #

def name : String | Nil #

def name=(name : String | Nil) #

def photo_count : Int64 | Nil #

def photo_count=(photo_count : Int64 | Nil) #

def privacy : String | Nil #

def privacy=(privacy : String | Nil) #

def to_hash #

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

def to_protobuf #

def type : String | Nil #

def type=(type : String | Nil) #

def updated_time : Datetime | Nil #

def updated_time=(updated_time : Datetime | Nil) #

def video_count : Int64 | Nil #

def video_count=(video_count : Int64 | Nil) #