mirror of
https://github.com/LukeHagar/plexruby.git
synced 2025-12-07 04:20:54 +00:00
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.531.4
This commit is contained in:
@@ -5,29 +5,32 @@
|
||||
|
||||
|
||||
module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
module Models
|
||||
module Operations
|
||||
|
||||
|
||||
class GetFileHashRequest < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
class GetFileHashRequest
|
||||
extend T::Sig
|
||||
include Crystalline::MetadataFields
|
||||
|
||||
# This is the path to the local file, must be prefixed by `file://`
|
||||
field :url, ::String, { 'query_param': { 'field_name': 'url', 'style': 'form', 'explode': true } }
|
||||
# Item type
|
||||
field :type, T.nilable(::Float), { 'query_param': { 'field_name': 'type', 'style': 'form', 'explode': true } }
|
||||
# This is the path to the local file, must be prefixed by `file://`
|
||||
field :url, ::String, { 'query_param': { 'field_name': 'url', 'style': 'form', 'explode': true } }
|
||||
# Item type
|
||||
field :type, T.nilable(::Float), { 'query_param': { 'field_name': 'type', 'style': 'form', 'explode': true } }
|
||||
|
||||
|
||||
sig { params(url: ::String, type: T.nilable(::Float)).void }
|
||||
def initialize(url: nil, type: nil)
|
||||
@url = url
|
||||
@type = type
|
||||
end
|
||||
sig { params(url: ::String, type: T.nilable(::Float)).void }
|
||||
def initialize(url: nil, type: nil)
|
||||
@url = url
|
||||
@type = type
|
||||
end
|
||||
|
||||
def ==(other)
|
||||
return false unless other.is_a? self.class
|
||||
return false unless @url == other.url
|
||||
return false unless @type == other.type
|
||||
true
|
||||
def ==(other)
|
||||
return false unless other.is_a? self.class
|
||||
return false unless @url == other.url
|
||||
return false unless @type == other.type
|
||||
true
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user