mirror of
https://github.com/LukeHagar/plexruby.git
synced 2025-12-06 04:20:52 +00:00
31 lines
795 B
Ruby
31 lines
795 B
Ruby
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
|
|
# typed: true
|
|
# frozen_string_literal: true
|
|
|
|
|
|
module PlexRubySDK
|
|
module Operations
|
|
|
|
|
|
class CheckForUpdatesRequest < ::Crystalline::FieldAugmented
|
|
extend T::Sig
|
|
|
|
# Indicate that you want to start download any updates found.
|
|
field :download, T.nilable(::PlexRubySDK::Operations::Download), { 'query_param': { 'field_name': 'download', 'style': 'form', 'explode': true } }
|
|
|
|
|
|
sig { params(download: T.nilable(::PlexRubySDK::Operations::Download)).void }
|
|
def initialize(download: nil)
|
|
@download = download
|
|
end
|
|
|
|
def ==(other)
|
|
return false unless other.is_a? self.class
|
|
return false unless @download == other.download
|
|
true
|
|
end
|
|
end
|
|
end
|
|
end
|