struct Facebook::Proto::VideoCopyright

Included Modules

Defined in:

cli/proto/facebook/VideoCopyright.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: :content_category, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :copyright_content_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :in_conflict, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :monitoring_status, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :monitoring_type, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :reference_file_disabled, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :reference_file_disabled_by_ops, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :reference_file_expired, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :reference_owner_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 11 => {name: :whitelisted_ids, 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

Class Method Summary

Instance Method Summary

Constructor Detail

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

def self.new(id : String | Nil = nil, content_category : String | Nil = nil, copyright_content_id : String | Nil = nil, in_conflict : Bool | Nil = nil, monitoring_status : String | Nil = nil, monitoring_type : String | Nil = nil, reference_file_disabled : Bool | Nil = nil, reference_file_disabled_by_ops : Bool | Nil = nil, reference_file_expired : Bool | Nil = nil, reference_owner_id : String | Nil = nil, whitelisted_ids : Array(String) | 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 content_category : String | Nil #

def content_category=(content_category : String | Nil) #

def copyright_content_id : String | Nil #

def copyright_content_id=(copyright_content_id : String | Nil) #

def id : String | Nil #

def id=(id : String | Nil) #

def in_conflict : Bool | Nil #

def in_conflict=(in_conflict : Bool | Nil) #

def monitoring_status : String | Nil #

def monitoring_status=(monitoring_status : String | Nil) #

def monitoring_type : String | Nil #

def monitoring_type=(monitoring_type : String | Nil) #

def reference_file_disabled : Bool | Nil #

def reference_file_disabled=(reference_file_disabled : Bool | Nil) #

def reference_file_disabled_by_ops : Bool | Nil #

def reference_file_disabled_by_ops=(reference_file_disabled_by_ops : Bool | Nil) #

def reference_file_expired : Bool | Nil #

def reference_file_expired=(reference_file_expired : Bool | Nil) #

def reference_owner_id : String | Nil #

def reference_owner_id=(reference_owner_id : String | Nil) #

def to_hash #

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

def to_protobuf #

def whitelisted_ids : Array(String) | Nil #

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

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