struct Facebook::Proto::Album
- Facebook::Proto::Album
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
cli/proto/facebook/Album.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: :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
- .new(buf : Protobuf::Buffer)
- .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)
- .new(pull : JSON::PullParser)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #[]=(key : String, val)
- #[]?(key : String)
- #backdated_time : Datetime | Nil
- #backdated_time=(backdated_time : Datetime | Nil)
- #backdated_time_granularity : String | Nil
- #backdated_time_granularity=(backdated_time_granularity : String | Nil)
- #can_backdate : Bool | Nil
- #can_backdate=(can_backdate : Bool | Nil)
- #can_upload : Bool | Nil
- #can_upload=(can_upload : Bool | Nil)
- #count : Int64 | Nil
- #count=(count : Int64 | Nil)
- #created_time : Datetime | Nil
- #created_time=(created_time : Datetime | Nil)
- #description : String | Nil
- #description=(description : String | Nil)
- #id : String | Nil
- #id=(id : String | Nil)
- #is_user_facing : Bool | Nil
- #is_user_facing=(is_user_facing : Bool | Nil)
- #location : String | Nil
- #location=(location : String | Nil)
- #modified_major : Datetime | Nil
- #modified_major=(modified_major : Datetime | Nil)
- #name : String | Nil
- #name=(name : String | Nil)
- #photo_count : Int64 | Nil
- #photo_count=(photo_count : Int64 | Nil)
- #privacy : String | Nil
- #privacy=(privacy : String | Nil)
- #to_hash
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
- #type : String | Nil
- #type=(type : String | Nil)
- #updated_time : Datetime | Nil
- #updated_time=(updated_time : Datetime | Nil)
- #video_count : Int64 | Nil
- #video_count=(video_count : Int64 | Nil)
Constructor Detail
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)
#