struct Facebook::Proto::VideoCopyrightRule
- Facebook::Proto::VideoCopyrightRule
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
cli/proto/facebook/VideoCopyrightRule.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: :copyrights, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 3 => {name: :created_date, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :is_in_migration, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :name, pb_type: :string, crystal_type: String, cast_type: String?, 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, copyrights : Array(String) | Nil = nil, created_date : Datetime | Nil = nil, is_in_migration : Bool | Nil = nil, name : String | Nil = nil)
- .new(pull : JSON::PullParser)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #[]=(key : String, val)
- #[]?(key : String)
- #copyrights : Array(String) | Nil
- #copyrights=(copyrights : Array(String) | Nil)
- #copyrights=(copyrights : Array(String) | Nil)
- #created_date : Datetime | Nil
- #created_date=(created_date : Datetime | Nil)
- #id : String | Nil
- #id=(id : String | Nil)
- #is_in_migration : Bool | Nil
- #is_in_migration=(is_in_migration : Bool | Nil)
- #name : String | Nil
- #name=(name : String | Nil)
- #to_hash
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
Constructor Detail
def self.new(id : String | Nil = nil, copyrights : Array(String) | Nil = nil, created_date : Datetime | Nil = nil, is_in_migration : Bool | Nil = nil, name : String | Nil = nil)
#