mirror of
https://github.com/LukeHagar/plexruby.git
synced 2025-12-07 20:57:44 +00:00
regenerated with newest spec, reconfigured actions and adding publishing
This commit is contained in:
42
lib/plex_ruby_sdk/models/operations/statisticsmedia.rb
Normal file
42
lib/plex_ruby_sdk/models/operations/statisticsmedia.rb
Normal file
@@ -0,0 +1,42 @@
|
||||
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
||||
|
||||
# typed: true
|
||||
# frozen_string_literal: true
|
||||
|
||||
|
||||
module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
|
||||
class StatisticsMedia < ::PlexRubySDK::Utils::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
|
||||
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 :count, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('count') } }
|
||||
|
||||
field :device_id, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('deviceID') } }
|
||||
|
||||
field :duration, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('duration') } }
|
||||
|
||||
field :metadata_type, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('metadataType') } }
|
||||
|
||||
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), count: T.nilable(::Integer), device_id: T.nilable(::Integer), duration: T.nilable(::Integer), metadata_type: T.nilable(::Integer), timespan: T.nilable(::Integer)).void }
|
||||
def initialize(account_id: nil, at: nil, count: nil, device_id: nil, duration: nil, metadata_type: nil, timespan: nil)
|
||||
@account_id = account_id
|
||||
@at = at
|
||||
@count = count
|
||||
@device_id = device_id
|
||||
@duration = duration
|
||||
@metadata_type = metadata_type
|
||||
@timespan = timespan
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user