Files
plexruby/lib/plex_ruby_sdk/models/operations/getresourcesstatistics_request.rb

33 lines
796 B
Ruby

# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
# typed: true
# frozen_string_literal: true
module PlexRubySDK
module Operations
class GetResourcesStatisticsRequest < ::Crystalline::FieldAugmented
extend T::Sig
# The timespan to retrieve statistics for
# the exact meaning of this parameter is not known
#
field :timespan, T.nilable(::Integer), { 'query_param': { 'field_name': 'timespan', 'style': 'form', 'explode': true } }
sig { params(timespan: T.nilable(::Integer)).void }
def initialize(timespan: nil)
@timespan = timespan
end
def ==(other)
return false unless other.is_a? self.class
return false unless @timespan == other.timespan
true
end
end
end
end