mirror of
https://github.com/LukeHagar/plexruby.git
synced 2025-12-07 12:47:45 +00:00
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.531.4
This commit is contained in:
@@ -5,45 +5,48 @@
|
||||
|
||||
|
||||
module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
module Models
|
||||
module Operations
|
||||
|
||||
|
||||
class StatisticsBandwidth < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
class StatisticsBandwidth
|
||||
extend T::Sig
|
||||
include Crystalline::MetadataFields
|
||||
|
||||
|
||||
field :account_id, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('accountID') } }
|
||||
field :account_id, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('accountID') } }
|
||||
|
||||
field :at, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('at') } }
|
||||
field :at, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('at') } }
|
||||
|
||||
field :bytes, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('bytes') } }
|
||||
field :bytes, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('bytes') } }
|
||||
|
||||
field :device_id, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('deviceID') } }
|
||||
field :device_id, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('deviceID') } }
|
||||
|
||||
field :lan, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('lan') } }
|
||||
field :lan, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('lan') } }
|
||||
|
||||
field :timespan, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('timespan') } }
|
||||
field :timespan, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('timespan') } }
|
||||
|
||||
|
||||
sig { params(account_id: T.nilable(::Integer), at: T.nilable(::Integer), bytes: T.nilable(::Integer), device_id: T.nilable(::Integer), lan: T.nilable(T::Boolean), timespan: T.nilable(::Integer)).void }
|
||||
def initialize(account_id: nil, at: nil, bytes: nil, device_id: nil, lan: nil, timespan: nil)
|
||||
@account_id = account_id
|
||||
@at = at
|
||||
@bytes = bytes
|
||||
@device_id = device_id
|
||||
@lan = lan
|
||||
@timespan = timespan
|
||||
end
|
||||
sig { params(account_id: T.nilable(::Integer), at: T.nilable(::Integer), bytes: T.nilable(::Integer), device_id: T.nilable(::Integer), lan: T.nilable(T::Boolean), timespan: T.nilable(::Integer)).void }
|
||||
def initialize(account_id: nil, at: nil, bytes: nil, device_id: nil, lan: nil, timespan: nil)
|
||||
@account_id = account_id
|
||||
@at = at
|
||||
@bytes = bytes
|
||||
@device_id = device_id
|
||||
@lan = lan
|
||||
@timespan = timespan
|
||||
end
|
||||
|
||||
def ==(other)
|
||||
return false unless other.is_a? self.class
|
||||
return false unless @account_id == other.account_id
|
||||
return false unless @at == other.at
|
||||
return false unless @bytes == other.bytes
|
||||
return false unless @device_id == other.device_id
|
||||
return false unless @lan == other.lan
|
||||
return false unless @timespan == other.timespan
|
||||
true
|
||||
def ==(other)
|
||||
return false unless other.is_a? self.class
|
||||
return false unless @account_id == other.account_id
|
||||
return false unless @at == other.at
|
||||
return false unless @bytes == other.bytes
|
||||
return false unless @device_id == other.device_id
|
||||
return false unless @lan == other.lan
|
||||
return false unless @timespan == other.timespan
|
||||
true
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user