struct Facebook::Proto::LiveVideoAdBreakConfig

Included Modules

Defined in:

cli/proto/facebook/LiveVideoAdBreakConfig.pb.cr

Constant Summary

FIELDS = {1 => {name: :default_ad_break_duration, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :failure_reason_polling_interval, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :first_break_eligible_secs, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :guide_url, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :is_eligible_to_onboard, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :is_enabled, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :onboarding_url, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :preparing_duration, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :time_between_ad_breaks_secs, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :viewer_count_threshold, 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

Class Method Summary

Instance Method Summary

Constructor Detail

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

def self.new(default_ad_break_duration : Int64 | Nil = nil, failure_reason_polling_interval : Int64 | Nil = nil, first_break_eligible_secs : Int64 | Nil = nil, guide_url : String | Nil = nil, is_eligible_to_onboard : Bool | Nil = nil, is_enabled : Bool | Nil = nil, onboarding_url : String | Nil = nil, preparing_duration : Int64 | Nil = nil, time_between_ad_breaks_secs : Int64 | Nil = nil, viewer_count_threshold : Int64 | 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 default_ad_break_duration : Int64 | Nil #

def default_ad_break_duration=(default_ad_break_duration : Int64 | Nil) #

def failure_reason_polling_interval : Int64 | Nil #

def failure_reason_polling_interval=(failure_reason_polling_interval : Int64 | Nil) #

def first_break_eligible_secs : Int64 | Nil #

def first_break_eligible_secs=(first_break_eligible_secs : Int64 | Nil) #

def guide_url : String | Nil #

def guide_url=(guide_url : String | Nil) #

def is_eligible_to_onboard : Bool | Nil #

def is_eligible_to_onboard=(is_eligible_to_onboard : Bool | Nil) #

def is_enabled : Bool | Nil #

def is_enabled=(is_enabled : Bool | Nil) #

def onboarding_url : String | Nil #

def onboarding_url=(onboarding_url : String | Nil) #

def preparing_duration : Int64 | Nil #

def preparing_duration=(preparing_duration : Int64 | Nil) #

def time_between_ad_breaks_secs : Int64 | Nil #

def time_between_ad_breaks_secs=(time_between_ad_breaks_secs : Int64 | Nil) #

def to_hash #

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

def to_protobuf #

def viewer_count_threshold : Int64 | Nil #

def viewer_count_threshold=(viewer_count_threshold : Int64 | Nil) #