struct Facebook::Proto::CopyrightReferenceContainer
- Facebook::Proto::CopyrightReferenceContainer
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
cli/proto/facebook/CopyrightReferenceContainer.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: :content_type, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :copyright_creation_time, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :download_hd_url, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :duration_in_sec, pb_type: :double, crystal_type: Float64, cast_type: Float64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :fingerprint_validity, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :iswc, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :published_time, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :thumbnail_url, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :title, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 11 => {name: :universal_content_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 12 => {name: :writer_names, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)
-
Fields =
{} of String => Field
Constructors
- .new(buf : Protobuf::Buffer)
- .new(id : String | Nil = nil, content_type : String | Nil = nil, copyright_creation_time : Datetime | Nil = nil, download_hd_url : String | Nil = nil, duration_in_sec : Float64 | Nil = nil, fingerprint_validity : String | Nil = nil, iswc : String | Nil = nil, published_time : Datetime | Nil = nil, thumbnail_url : String | Nil = nil, title : String | Nil = nil, universal_content_id : String | Nil = nil, writer_names : Array(String) | Nil = nil)
- .new(pull : JSON::PullParser)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #[]=(key : String, val)
- #[]?(key : String)
- #content_type : String | Nil
- #content_type=(content_type : String | Nil)
- #copyright_creation_time : Datetime | Nil
- #copyright_creation_time=(copyright_creation_time : Datetime | Nil)
- #download_hd_url : String | Nil
- #download_hd_url=(download_hd_url : String | Nil)
- #duration_in_sec : Float64 | Nil
- #duration_in_sec=(duration_in_sec : Float64 | Nil)
- #fingerprint_validity : String | Nil
- #fingerprint_validity=(fingerprint_validity : String | Nil)
- #id : String | Nil
- #id=(id : String | Nil)
- #iswc : String | Nil
- #iswc=(iswc : String | Nil)
- #published_time : Datetime | Nil
- #published_time=(published_time : Datetime | Nil)
- #thumbnail_url : String | Nil
- #thumbnail_url=(thumbnail_url : String | Nil)
- #title : String | Nil
- #title=(title : String | Nil)
- #to_hash
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
- #universal_content_id : String | Nil
- #universal_content_id=(universal_content_id : String | Nil)
- #writer_names : Array(String) | Nil
- #writer_names=(writer_names : Array(String) | Nil)
- #writer_names=(writer_names : Array(String) | Nil)
Constructor Detail
def self.new(id : String | Nil = nil, content_type : String | Nil = nil, copyright_creation_time : Datetime | Nil = nil, download_hd_url : String | Nil = nil, duration_in_sec : Float64 | Nil = nil, fingerprint_validity : String | Nil = nil, iswc : String | Nil = nil, published_time : Datetime | Nil = nil, thumbnail_url : String | Nil = nil, title : String | Nil = nil, universal_content_id : String | Nil = nil, writer_names : Array(String) | Nil = nil)
#