mirror of
https://github.com/LukeHagar/plexruby.git
synced 2025-12-06 12:47:44 +00:00
34 lines
849 B
Ruby
34 lines
849 B
Ruby
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
|
|
# typed: true
|
|
# frozen_string_literal: true
|
|
|
|
|
|
module PlexRubySDK
|
|
module Models
|
|
module Operations
|
|
|
|
|
|
class CheckForUpdatesRequest
|
|
extend T::Sig
|
|
include Crystalline::MetadataFields
|
|
|
|
# Indicate that you want to start download any updates found.
|
|
field :download, T.nilable(Models::Operations::Download), { 'query_param': { 'field_name': 'download', 'style': 'form', 'explode': true } }
|
|
|
|
|
|
sig { params(download: T.nilable(Models::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
|
|
end
|