struct Facebook::Proto::LiveVideo

Included Modules

Defined in:

cli/proto/facebook/LiveVideo.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: :ad_break_failure_reason, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :broadcast_start_time, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :creation_time, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :dash_ingest_url, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :dash_preview_url, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :description, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :embed_html, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :is_manual_mode, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :is_reference_only, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 11 => {name: :live_views, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 12 => {name: :permalink_url, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 13 => {name: :planned_start_time, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 14 => {name: :seconds_left, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 15 => {name: :secure_stream_url, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 16 => {name: :status, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 17 => {name: :stream_url, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 18 => {name: :title, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 19 => {name: :total_views, 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

Class Method Summary

Instance Method Summary

Constructor Detail

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

def self.new(id : String | Nil = nil, ad_break_failure_reason : String | Nil = nil, broadcast_start_time : Datetime | Nil = nil, creation_time : Datetime | Nil = nil, dash_ingest_url : String | Nil = nil, dash_preview_url : String | Nil = nil, description : String | Nil = nil, embed_html : String | Nil = nil, is_manual_mode : Bool | Nil = nil, is_reference_only : Bool | Nil = nil, live_views : Int64 | Nil = nil, permalink_url : String | Nil = nil, planned_start_time : Datetime | Nil = nil, seconds_left : Int64 | Nil = nil, secure_stream_url : String | Nil = nil, status : String | Nil = nil, stream_url : String | Nil = nil, title : String | Nil = nil, total_views : 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 ad_break_failure_reason : String | Nil #

def ad_break_failure_reason=(ad_break_failure_reason : String | Nil) #

def broadcast_start_time : Datetime | Nil #

def broadcast_start_time=(broadcast_start_time : Datetime | Nil) #

def creation_time : Datetime | Nil #

def creation_time=(creation_time : Datetime | Nil) #

def dash_ingest_url : String | Nil #

def dash_ingest_url=(dash_ingest_url : String | Nil) #

def dash_preview_url : String | Nil #

def dash_preview_url=(dash_preview_url : String | Nil) #

def description : String | Nil #

def description=(description : String | Nil) #

def embed_html : String | Nil #

def embed_html=(embed_html : String | Nil) #

def id : String | Nil #

def id=(id : String | Nil) #

def is_manual_mode : Bool | Nil #

def is_manual_mode=(is_manual_mode : Bool | Nil) #

def is_reference_only : Bool | Nil #

def is_reference_only=(is_reference_only : Bool | Nil) #

def live_views : Int64 | Nil #

def live_views=(live_views : Int64 | Nil) #

def permalink_url : String | Nil #

def permalink_url=(permalink_url : String | Nil) #

def planned_start_time : Datetime | Nil #

def planned_start_time=(planned_start_time : Datetime | Nil) #

def seconds_left : Int64 | Nil #

def seconds_left=(seconds_left : Int64 | Nil) #

def secure_stream_url : String | Nil #

def secure_stream_url=(secure_stream_url : String | Nil) #

def status : String | Nil #

def status=(status : String | Nil) #

def stream_url : String | Nil #

def stream_url=(stream_url : String | Nil) #

def title : String | Nil #

def title=(title : String | Nil) #

def to_hash #

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

def to_protobuf #

def total_views : String | Nil #

def total_views=(total_views : String | Nil) #