struct Facebook::Proto::LiveVideoAdBreakConfig
- Facebook::Proto::LiveVideoAdBreakConfig
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
cli/proto/facebook/LiveVideoAdBreakConfig.pb.crConstant 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
- .new(buf : Protobuf::Buffer)
- .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)
- .new(pull : JSON::PullParser)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #[]=(key : String, val)
- #[]?(key : String)
- #default_ad_break_duration : Int64 | Nil
- #default_ad_break_duration=(default_ad_break_duration : Int64 | Nil)
- #failure_reason_polling_interval : Int64 | Nil
- #failure_reason_polling_interval=(failure_reason_polling_interval : Int64 | Nil)
- #first_break_eligible_secs : Int64 | Nil
- #first_break_eligible_secs=(first_break_eligible_secs : Int64 | Nil)
- #guide_url : String | Nil
- #guide_url=(guide_url : String | Nil)
- #is_eligible_to_onboard : Bool | Nil
- #is_eligible_to_onboard=(is_eligible_to_onboard : Bool | Nil)
- #is_enabled : Bool | Nil
- #is_enabled=(is_enabled : Bool | Nil)
- #onboarding_url : String | Nil
- #onboarding_url=(onboarding_url : String | Nil)
- #preparing_duration : Int64 | Nil
- #preparing_duration=(preparing_duration : Int64 | Nil)
- #time_between_ad_breaks_secs : Int64 | Nil
- #time_between_ad_breaks_secs=(time_between_ad_breaks_secs : Int64 | Nil)
- #to_hash
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
- #viewer_count_threshold : Int64 | Nil
- #viewer_count_threshold=(viewer_count_threshold : Int64 | Nil)
Constructor Detail
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)
#