mirror of
https://github.com/LukeHagar/plexruby.git
synced 2025-12-07 20:57:44 +00:00
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.513.4
This commit is contained in:
@@ -39,7 +39,8 @@ module PlexRubySDK
|
||||
|
||||
r = @sdk_configuration.client.get(url) do |req|
|
||||
req.headers = headers
|
||||
Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
|
||||
security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil
|
||||
Utils.configure_request_security(req, security) if !security.nil?
|
||||
end
|
||||
|
||||
content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
|
||||
@@ -49,17 +50,17 @@ module PlexRubySDK
|
||||
)
|
||||
if r.status == 200
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetServerActivitiesResponseBody)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetServerActivitiesResponseBody)
|
||||
res.object = out
|
||||
end
|
||||
elsif r.status == 400
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetServerActivitiesBadRequest)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetServerActivitiesBadRequest)
|
||||
res.bad_request = out
|
||||
end
|
||||
elsif r.status == 401
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetServerActivitiesUnauthorized)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetServerActivitiesUnauthorized)
|
||||
res.unauthorized = out
|
||||
end
|
||||
end
|
||||
@@ -90,7 +91,8 @@ module PlexRubySDK
|
||||
|
||||
r = @sdk_configuration.client.delete(url) do |req|
|
||||
req.headers = headers
|
||||
Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
|
||||
security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil
|
||||
Utils.configure_request_security(req, security) if !security.nil?
|
||||
end
|
||||
|
||||
content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
|
||||
@@ -101,12 +103,12 @@ module PlexRubySDK
|
||||
if r.status == 200
|
||||
elsif r.status == 400
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::CancelServerActivitiesBadRequest)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::CancelServerActivitiesBadRequest)
|
||||
res.bad_request = out
|
||||
end
|
||||
elsif r.status == 401
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::CancelServerActivitiesUnauthorized)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::CancelServerActivitiesUnauthorized)
|
||||
res.unauthorized = out
|
||||
end
|
||||
end
|
||||
|
||||
@@ -51,7 +51,8 @@ module PlexRubySDK
|
||||
r = @sdk_configuration.client.get(url) do |req|
|
||||
req.headers = headers
|
||||
req.params = query_params
|
||||
Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
|
||||
security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil
|
||||
Utils.configure_request_security(req, security) if !security.nil?
|
||||
end
|
||||
|
||||
content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
|
||||
@@ -62,12 +63,12 @@ module PlexRubySDK
|
||||
if r.status == 200
|
||||
elsif r.status == 400
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetTransientTokenBadRequest)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetTransientTokenBadRequest)
|
||||
res.bad_request = out
|
||||
end
|
||||
elsif r.status == 401
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetTransientTokenUnauthorized)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetTransientTokenUnauthorized)
|
||||
res.unauthorized = out
|
||||
end
|
||||
end
|
||||
@@ -97,7 +98,8 @@ module PlexRubySDK
|
||||
r = @sdk_configuration.client.get(url) do |req|
|
||||
req.headers = headers
|
||||
req.params = query_params
|
||||
Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
|
||||
security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil
|
||||
Utils.configure_request_security(req, security) if !security.nil?
|
||||
end
|
||||
|
||||
content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
|
||||
@@ -108,12 +110,12 @@ module PlexRubySDK
|
||||
if r.status == 200
|
||||
elsif r.status == 400
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetSourceConnectionInformationBadRequest)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetSourceConnectionInformationBadRequest)
|
||||
res.bad_request = out
|
||||
end
|
||||
elsif r.status == 401
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetSourceConnectionInformationUnauthorized)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetSourceConnectionInformationUnauthorized)
|
||||
res.unauthorized = out
|
||||
end
|
||||
end
|
||||
@@ -136,7 +138,8 @@ module PlexRubySDK
|
||||
|
||||
r = @sdk_configuration.client.get(url) do |req|
|
||||
req.headers = headers
|
||||
Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
|
||||
security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil
|
||||
Utils.configure_request_security(req, security) if !security.nil?
|
||||
end
|
||||
|
||||
content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
|
||||
@@ -146,17 +149,17 @@ module PlexRubySDK
|
||||
)
|
||||
if r.status == 200
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetTokenDetailsUserPlexAccount)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetTokenDetailsUserPlexAccount)
|
||||
res.user_plex_account = out
|
||||
end
|
||||
elsif r.status == 400
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetTokenDetailsBadRequest)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetTokenDetailsBadRequest)
|
||||
res.bad_request = out
|
||||
end
|
||||
elsif r.status == 401
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetTokenDetailsUnauthorized)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetTokenDetailsUnauthorized)
|
||||
res.unauthorized = out
|
||||
end
|
||||
end
|
||||
@@ -197,17 +200,17 @@ module PlexRubySDK
|
||||
)
|
||||
if r.status == 201
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::PostUsersSignInDataUserPlexAccount)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::PostUsersSignInDataUserPlexAccount)
|
||||
res.user_plex_account = out
|
||||
end
|
||||
elsif r.status == 400
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::PostUsersSignInDataBadRequest)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::PostUsersSignInDataBadRequest)
|
||||
res.bad_request = out
|
||||
end
|
||||
elsif r.status == 401
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::PostUsersSignInDataUnauthorized)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::PostUsersSignInDataUnauthorized)
|
||||
res.unauthorized = out
|
||||
end
|
||||
end
|
||||
|
||||
@@ -33,7 +33,8 @@ module PlexRubySDK
|
||||
|
||||
r = @sdk_configuration.client.get(url) do |req|
|
||||
req.headers = headers
|
||||
Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
|
||||
security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil
|
||||
Utils.configure_request_security(req, security) if !security.nil?
|
||||
end
|
||||
|
||||
content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
|
||||
@@ -43,17 +44,17 @@ module PlexRubySDK
|
||||
)
|
||||
if r.status == 200
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetButlerTasksResponseBody)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetButlerTasksResponseBody)
|
||||
res.object = out
|
||||
end
|
||||
elsif r.status == 400
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetButlerTasksBadRequest)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetButlerTasksBadRequest)
|
||||
res.bad_request = out
|
||||
end
|
||||
elsif r.status == 401
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetButlerTasksUnauthorized)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetButlerTasksUnauthorized)
|
||||
res.unauthorized = out
|
||||
end
|
||||
end
|
||||
@@ -80,7 +81,8 @@ module PlexRubySDK
|
||||
|
||||
r = @sdk_configuration.client.post(url) do |req|
|
||||
req.headers = headers
|
||||
Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
|
||||
security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil
|
||||
Utils.configure_request_security(req, security) if !security.nil?
|
||||
end
|
||||
|
||||
content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
|
||||
@@ -91,12 +93,12 @@ module PlexRubySDK
|
||||
if r.status == 200
|
||||
elsif r.status == 400
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::StartAllTasksBadRequest)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::StartAllTasksBadRequest)
|
||||
res.bad_request = out
|
||||
end
|
||||
elsif r.status == 401
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::StartAllTasksUnauthorized)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::StartAllTasksUnauthorized)
|
||||
res.unauthorized = out
|
||||
end
|
||||
end
|
||||
@@ -119,7 +121,8 @@ module PlexRubySDK
|
||||
|
||||
r = @sdk_configuration.client.delete(url) do |req|
|
||||
req.headers = headers
|
||||
Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
|
||||
security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil
|
||||
Utils.configure_request_security(req, security) if !security.nil?
|
||||
end
|
||||
|
||||
content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
|
||||
@@ -130,12 +133,12 @@ module PlexRubySDK
|
||||
if r.status == 200
|
||||
elsif r.status == 400
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::StopAllTasksBadRequest)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::StopAllTasksBadRequest)
|
||||
res.bad_request = out
|
||||
end
|
||||
elsif r.status == 401
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::StopAllTasksUnauthorized)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::StopAllTasksUnauthorized)
|
||||
res.unauthorized = out
|
||||
end
|
||||
end
|
||||
@@ -171,7 +174,8 @@ module PlexRubySDK
|
||||
|
||||
r = @sdk_configuration.client.post(url) do |req|
|
||||
req.headers = headers
|
||||
Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
|
||||
security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil
|
||||
Utils.configure_request_security(req, security) if !security.nil?
|
||||
end
|
||||
|
||||
content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
|
||||
@@ -182,12 +186,12 @@ module PlexRubySDK
|
||||
if [200, 202].include?(r.status)
|
||||
elsif r.status == 400
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::StartTaskBadRequest)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::StartTaskBadRequest)
|
||||
res.bad_request = out
|
||||
end
|
||||
elsif r.status == 401
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::StartTaskUnauthorized)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::StartTaskUnauthorized)
|
||||
res.unauthorized = out
|
||||
end
|
||||
end
|
||||
@@ -219,7 +223,8 @@ module PlexRubySDK
|
||||
|
||||
r = @sdk_configuration.client.delete(url) do |req|
|
||||
req.headers = headers
|
||||
Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
|
||||
security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil
|
||||
Utils.configure_request_security(req, security) if !security.nil?
|
||||
end
|
||||
|
||||
content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
|
||||
@@ -230,12 +235,12 @@ module PlexRubySDK
|
||||
if r.status == 200
|
||||
elsif r.status == 400
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::StopTaskBadRequest)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::StopTaskBadRequest)
|
||||
res.bad_request = out
|
||||
end
|
||||
elsif r.status == 401
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::StopTaskUnauthorized)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::StopTaskUnauthorized)
|
||||
res.unauthorized = out
|
||||
end
|
||||
elsif r.status == 404
|
||||
|
||||
@@ -40,7 +40,8 @@ module PlexRubySDK
|
||||
r = @sdk_configuration.client.get(url) do |req|
|
||||
req.headers = headers
|
||||
req.params = query_params
|
||||
Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
|
||||
security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil
|
||||
Utils.configure_request_security(req, security) if !security.nil?
|
||||
end
|
||||
|
||||
content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
|
||||
@@ -50,17 +51,17 @@ module PlexRubySDK
|
||||
)
|
||||
if r.status == 200
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetGlobalHubsResponseBody)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetGlobalHubsResponseBody)
|
||||
res.object = out
|
||||
end
|
||||
elsif r.status == 400
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetGlobalHubsBadRequest)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetGlobalHubsBadRequest)
|
||||
res.bad_request = out
|
||||
end
|
||||
elsif r.status == 401
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetGlobalHubsUnauthorized)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetGlobalHubsUnauthorized)
|
||||
res.unauthorized = out
|
||||
end
|
||||
end
|
||||
@@ -85,7 +86,8 @@ module PlexRubySDK
|
||||
r = @sdk_configuration.client.get(url) do |req|
|
||||
req.headers = headers
|
||||
req.params = query_params
|
||||
Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
|
||||
security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil
|
||||
Utils.configure_request_security(req, security) if !security.nil?
|
||||
end
|
||||
|
||||
content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
|
||||
@@ -95,7 +97,7 @@ module PlexRubySDK
|
||||
)
|
||||
if r.status == 200
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetRecentlyAddedResponseBody)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetRecentlyAddedResponseBody)
|
||||
res.object = out
|
||||
end
|
||||
elsif [400, 401].include?(r.status)
|
||||
@@ -132,7 +134,8 @@ module PlexRubySDK
|
||||
r = @sdk_configuration.client.get(url) do |req|
|
||||
req.headers = headers
|
||||
req.params = query_params
|
||||
Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
|
||||
security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil
|
||||
Utils.configure_request_security(req, security) if !security.nil?
|
||||
end
|
||||
|
||||
content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
|
||||
@@ -142,17 +145,17 @@ module PlexRubySDK
|
||||
)
|
||||
if r.status == 200
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetLibraryHubsResponseBody)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetLibraryHubsResponseBody)
|
||||
res.object = out
|
||||
end
|
||||
elsif r.status == 400
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetLibraryHubsBadRequest)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetLibraryHubsBadRequest)
|
||||
res.bad_request = out
|
||||
end
|
||||
elsif r.status == 401
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetLibraryHubsUnauthorized)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetLibraryHubsUnauthorized)
|
||||
res.unauthorized = out
|
||||
end
|
||||
end
|
||||
|
||||
@@ -40,7 +40,8 @@ module PlexRubySDK
|
||||
r = @sdk_configuration.client.get(url) do |req|
|
||||
req.headers = headers
|
||||
req.params = query_params
|
||||
Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
|
||||
security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil
|
||||
Utils.configure_request_security(req, security) if !security.nil?
|
||||
end
|
||||
|
||||
content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
|
||||
@@ -51,12 +52,12 @@ module PlexRubySDK
|
||||
if r.status == 200
|
||||
elsif r.status == 400
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetFileHashBadRequest)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetFileHashBadRequest)
|
||||
res.bad_request = out
|
||||
end
|
||||
elsif r.status == 401
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetFileHashUnauthorized)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetFileHashUnauthorized)
|
||||
res.unauthorized = out
|
||||
end
|
||||
end
|
||||
@@ -81,7 +82,8 @@ module PlexRubySDK
|
||||
r = @sdk_configuration.client.get(url) do |req|
|
||||
req.headers = headers
|
||||
req.params = query_params
|
||||
Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
|
||||
security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil
|
||||
Utils.configure_request_security(req, security) if !security.nil?
|
||||
end
|
||||
|
||||
content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
|
||||
@@ -91,17 +93,17 @@ module PlexRubySDK
|
||||
)
|
||||
if r.status == 200
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetRecentlyAddedLibraryResponseBody)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetRecentlyAddedLibraryResponseBody)
|
||||
res.object = out
|
||||
end
|
||||
elsif r.status == 400
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetRecentlyAddedLibraryBadRequest)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetRecentlyAddedLibraryBadRequest)
|
||||
res.bad_request = out
|
||||
end
|
||||
elsif r.status == 401
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetRecentlyAddedLibraryUnauthorized)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetRecentlyAddedLibraryUnauthorized)
|
||||
res.unauthorized = out
|
||||
end
|
||||
end
|
||||
@@ -129,7 +131,8 @@ module PlexRubySDK
|
||||
|
||||
r = @sdk_configuration.client.get(url) do |req|
|
||||
req.headers = headers
|
||||
Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
|
||||
security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil
|
||||
Utils.configure_request_security(req, security) if !security.nil?
|
||||
end
|
||||
|
||||
content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
|
||||
@@ -139,17 +142,17 @@ module PlexRubySDK
|
||||
)
|
||||
if r.status == 200
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetAllLibrariesResponseBody)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetAllLibrariesResponseBody)
|
||||
res.object = out
|
||||
end
|
||||
elsif r.status == 400
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetAllLibrariesBadRequest)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetAllLibrariesBadRequest)
|
||||
res.bad_request = out
|
||||
end
|
||||
elsif r.status == 401
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetAllLibrariesUnauthorized)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetAllLibrariesUnauthorized)
|
||||
res.unauthorized = out
|
||||
end
|
||||
end
|
||||
@@ -222,7 +225,8 @@ module PlexRubySDK
|
||||
r = @sdk_configuration.client.get(url) do |req|
|
||||
req.headers = headers
|
||||
req.params = query_params
|
||||
Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
|
||||
security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil
|
||||
Utils.configure_request_security(req, security) if !security.nil?
|
||||
end
|
||||
|
||||
content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
|
||||
@@ -232,17 +236,17 @@ module PlexRubySDK
|
||||
)
|
||||
if r.status == 200
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetLibraryDetailsResponseBody)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetLibraryDetailsResponseBody)
|
||||
res.object = out
|
||||
end
|
||||
elsif r.status == 400
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetLibraryDetailsBadRequest)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetLibraryDetailsBadRequest)
|
||||
res.bad_request = out
|
||||
end
|
||||
elsif r.status == 401
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetLibraryDetailsUnauthorized)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetLibraryDetailsUnauthorized)
|
||||
res.unauthorized = out
|
||||
end
|
||||
end
|
||||
@@ -273,7 +277,8 @@ module PlexRubySDK
|
||||
|
||||
r = @sdk_configuration.client.delete(url) do |req|
|
||||
req.headers = headers
|
||||
Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
|
||||
security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil
|
||||
Utils.configure_request_security(req, security) if !security.nil?
|
||||
end
|
||||
|
||||
content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
|
||||
@@ -284,12 +289,12 @@ module PlexRubySDK
|
||||
if r.status == 200
|
||||
elsif r.status == 400
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::DeleteLibraryBadRequest)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::DeleteLibraryBadRequest)
|
||||
res.bad_request = out
|
||||
end
|
||||
elsif r.status == 401
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::DeleteLibraryUnauthorized)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::DeleteLibraryUnauthorized)
|
||||
res.unauthorized = out
|
||||
end
|
||||
end
|
||||
@@ -339,7 +344,8 @@ module PlexRubySDK
|
||||
r = @sdk_configuration.client.get(url) do |req|
|
||||
req.headers = headers
|
||||
req.params = query_params
|
||||
Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
|
||||
security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil
|
||||
Utils.configure_request_security(req, security) if !security.nil?
|
||||
end
|
||||
|
||||
content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
|
||||
@@ -349,17 +355,17 @@ module PlexRubySDK
|
||||
)
|
||||
if r.status == 200
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetLibraryItemsResponseBody)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetLibraryItemsResponseBody)
|
||||
res.object = out
|
||||
end
|
||||
elsif r.status == 400
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetLibraryItemsBadRequest)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetLibraryItemsBadRequest)
|
||||
res.bad_request = out
|
||||
end
|
||||
elsif r.status == 401
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetLibraryItemsUnauthorized)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetLibraryItemsUnauthorized)
|
||||
res.unauthorized = out
|
||||
end
|
||||
end
|
||||
@@ -389,7 +395,8 @@ module PlexRubySDK
|
||||
r = @sdk_configuration.client.get(url) do |req|
|
||||
req.headers = headers
|
||||
req.params = query_params
|
||||
Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
|
||||
security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil
|
||||
Utils.configure_request_security(req, security) if !security.nil?
|
||||
end
|
||||
|
||||
content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
|
||||
@@ -399,17 +406,17 @@ module PlexRubySDK
|
||||
)
|
||||
if r.status == 200
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetAllMediaLibraryResponseBody)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetAllMediaLibraryResponseBody)
|
||||
res.object = out
|
||||
end
|
||||
elsif r.status == 400
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetAllMediaLibraryBadRequest)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetAllMediaLibraryBadRequest)
|
||||
res.bad_request = out
|
||||
end
|
||||
elsif r.status == 401
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetAllMediaLibraryUnauthorized)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetAllMediaLibraryUnauthorized)
|
||||
res.unauthorized = out
|
||||
end
|
||||
elsif r.status == 404
|
||||
@@ -445,7 +452,8 @@ module PlexRubySDK
|
||||
r = @sdk_configuration.client.get(url) do |req|
|
||||
req.headers = headers
|
||||
req.params = query_params
|
||||
Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
|
||||
security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil
|
||||
Utils.configure_request_security(req, security) if !security.nil?
|
||||
end
|
||||
|
||||
content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
|
||||
@@ -456,12 +464,12 @@ module PlexRubySDK
|
||||
if r.status == 200
|
||||
elsif r.status == 400
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetRefreshLibraryMetadataBadRequest)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetRefreshLibraryMetadataBadRequest)
|
||||
res.bad_request = out
|
||||
end
|
||||
elsif r.status == 401
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetRefreshLibraryMetadataUnauthorized)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetRefreshLibraryMetadataUnauthorized)
|
||||
res.unauthorized = out
|
||||
end
|
||||
end
|
||||
@@ -513,7 +521,8 @@ module PlexRubySDK
|
||||
r = @sdk_configuration.client.get(url) do |req|
|
||||
req.headers = headers
|
||||
req.params = query_params
|
||||
Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
|
||||
security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil
|
||||
Utils.configure_request_security(req, security) if !security.nil?
|
||||
end
|
||||
|
||||
content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
|
||||
@@ -523,17 +532,17 @@ module PlexRubySDK
|
||||
)
|
||||
if r.status == 200
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetSearchLibraryResponseBody)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetSearchLibraryResponseBody)
|
||||
res.object = out
|
||||
end
|
||||
elsif r.status == 400
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetSearchLibraryBadRequest)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetSearchLibraryBadRequest)
|
||||
res.bad_request = out
|
||||
end
|
||||
elsif r.status == 401
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetSearchLibraryUnauthorized)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetSearchLibraryUnauthorized)
|
||||
res.unauthorized = out
|
||||
end
|
||||
end
|
||||
@@ -568,7 +577,8 @@ module PlexRubySDK
|
||||
r = @sdk_configuration.client.get(url) do |req|
|
||||
req.headers = headers
|
||||
req.params = query_params
|
||||
Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
|
||||
security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil
|
||||
Utils.configure_request_security(req, security) if !security.nil?
|
||||
end
|
||||
|
||||
content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
|
||||
@@ -578,17 +588,17 @@ module PlexRubySDK
|
||||
)
|
||||
if r.status == 200
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetGenresLibraryResponseBody)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetGenresLibraryResponseBody)
|
||||
res.object = out
|
||||
end
|
||||
elsif r.status == 400
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetGenresLibraryBadRequest)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetGenresLibraryBadRequest)
|
||||
res.bad_request = out
|
||||
end
|
||||
elsif r.status == 401
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetGenresLibraryUnauthorized)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetGenresLibraryUnauthorized)
|
||||
res.unauthorized = out
|
||||
end
|
||||
elsif r.status == 404
|
||||
@@ -624,7 +634,8 @@ module PlexRubySDK
|
||||
r = @sdk_configuration.client.get(url) do |req|
|
||||
req.headers = headers
|
||||
req.params = query_params
|
||||
Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
|
||||
security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil
|
||||
Utils.configure_request_security(req, security) if !security.nil?
|
||||
end
|
||||
|
||||
content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
|
||||
@@ -634,17 +645,17 @@ module PlexRubySDK
|
||||
)
|
||||
if r.status == 200
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetCountriesLibraryResponseBody)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetCountriesLibraryResponseBody)
|
||||
res.object = out
|
||||
end
|
||||
elsif r.status == 400
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetCountriesLibraryBadRequest)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetCountriesLibraryBadRequest)
|
||||
res.bad_request = out
|
||||
end
|
||||
elsif r.status == 401
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetCountriesLibraryUnauthorized)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetCountriesLibraryUnauthorized)
|
||||
res.unauthorized = out
|
||||
end
|
||||
elsif r.status == 404
|
||||
@@ -680,7 +691,8 @@ module PlexRubySDK
|
||||
r = @sdk_configuration.client.get(url) do |req|
|
||||
req.headers = headers
|
||||
req.params = query_params
|
||||
Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
|
||||
security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil
|
||||
Utils.configure_request_security(req, security) if !security.nil?
|
||||
end
|
||||
|
||||
content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
|
||||
@@ -690,17 +702,17 @@ module PlexRubySDK
|
||||
)
|
||||
if r.status == 200
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetActorsLibraryResponseBody)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetActorsLibraryResponseBody)
|
||||
res.object = out
|
||||
end
|
||||
elsif r.status == 400
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetActorsLibraryBadRequest)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetActorsLibraryBadRequest)
|
||||
res.bad_request = out
|
||||
end
|
||||
elsif r.status == 401
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetActorsLibraryUnauthorized)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetActorsLibraryUnauthorized)
|
||||
res.unauthorized = out
|
||||
end
|
||||
elsif r.status == 404
|
||||
@@ -726,7 +738,8 @@ module PlexRubySDK
|
||||
r = @sdk_configuration.client.get(url) do |req|
|
||||
req.headers = headers
|
||||
req.params = query_params
|
||||
Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
|
||||
security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil
|
||||
Utils.configure_request_security(req, security) if !security.nil?
|
||||
end
|
||||
|
||||
content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
|
||||
@@ -736,17 +749,17 @@ module PlexRubySDK
|
||||
)
|
||||
if r.status == 200
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetSearchAllLibrariesResponseBody)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetSearchAllLibrariesResponseBody)
|
||||
res.object = out
|
||||
end
|
||||
elsif r.status == 400
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetSearchAllLibrariesBadRequest)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetSearchAllLibrariesBadRequest)
|
||||
res.bad_request = out
|
||||
end
|
||||
elsif r.status == 401
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetSearchAllLibrariesUnauthorized)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetSearchAllLibrariesUnauthorized)
|
||||
res.unauthorized = out
|
||||
end
|
||||
end
|
||||
@@ -776,7 +789,8 @@ module PlexRubySDK
|
||||
r = @sdk_configuration.client.get(url) do |req|
|
||||
req.headers = headers
|
||||
req.params = query_params
|
||||
Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
|
||||
security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil
|
||||
Utils.configure_request_security(req, security) if !security.nil?
|
||||
end
|
||||
|
||||
content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
|
||||
@@ -786,17 +800,17 @@ module PlexRubySDK
|
||||
)
|
||||
if r.status == 200
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetMediaMetaDataResponseBody)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetMediaMetaDataResponseBody)
|
||||
res.object = out
|
||||
end
|
||||
elsif r.status == 400
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetMediaMetaDataBadRequest)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetMediaMetaDataBadRequest)
|
||||
res.bad_request = out
|
||||
end
|
||||
elsif r.status == 401
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetMediaMetaDataUnauthorized)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetMediaMetaDataUnauthorized)
|
||||
res.unauthorized = out
|
||||
end
|
||||
elsif r.status == 404
|
||||
@@ -832,7 +846,8 @@ module PlexRubySDK
|
||||
r = @sdk_configuration.client.get(url) do |req|
|
||||
req.headers = headers
|
||||
req.params = query_params
|
||||
Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
|
||||
security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil
|
||||
Utils.configure_request_security(req, security) if !security.nil?
|
||||
end
|
||||
|
||||
content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
|
||||
@@ -842,17 +857,17 @@ module PlexRubySDK
|
||||
)
|
||||
if r.status == 200
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetMetadataChildrenResponseBody)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetMetadataChildrenResponseBody)
|
||||
res.object = out
|
||||
end
|
||||
elsif r.status == 400
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetMetadataChildrenBadRequest)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetMetadataChildrenBadRequest)
|
||||
res.bad_request = out
|
||||
end
|
||||
elsif r.status == 401
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetMetadataChildrenUnauthorized)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetMetadataChildrenUnauthorized)
|
||||
res.unauthorized = out
|
||||
end
|
||||
end
|
||||
@@ -882,7 +897,8 @@ module PlexRubySDK
|
||||
r = @sdk_configuration.client.get(url) do |req|
|
||||
req.headers = headers
|
||||
req.params = query_params
|
||||
Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
|
||||
security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil
|
||||
Utils.configure_request_security(req, security) if !security.nil?
|
||||
end
|
||||
|
||||
content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
|
||||
@@ -892,17 +908,17 @@ module PlexRubySDK
|
||||
)
|
||||
if r.status == 200
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetTopWatchedContentResponseBody)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetTopWatchedContentResponseBody)
|
||||
res.object = out
|
||||
end
|
||||
elsif r.status == 400
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetTopWatchedContentBadRequest)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetTopWatchedContentBadRequest)
|
||||
res.bad_request = out
|
||||
end
|
||||
elsif r.status == 401
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetTopWatchedContentUnauthorized)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetTopWatchedContentUnauthorized)
|
||||
res.unauthorized = out
|
||||
end
|
||||
end
|
||||
@@ -925,7 +941,8 @@ module PlexRubySDK
|
||||
|
||||
r = @sdk_configuration.client.get(url) do |req|
|
||||
req.headers = headers
|
||||
Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
|
||||
security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil
|
||||
Utils.configure_request_security(req, security) if !security.nil?
|
||||
end
|
||||
|
||||
content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
|
||||
@@ -935,17 +952,17 @@ module PlexRubySDK
|
||||
)
|
||||
if r.status == 200
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetOnDeckResponseBody)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetOnDeckResponseBody)
|
||||
res.object = out
|
||||
end
|
||||
elsif r.status == 400
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetOnDeckBadRequest)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetOnDeckBadRequest)
|
||||
res.bad_request = out
|
||||
end
|
||||
elsif r.status == 401
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetOnDeckUnauthorized)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetOnDeckUnauthorized)
|
||||
res.unauthorized = out
|
||||
end
|
||||
end
|
||||
|
||||
@@ -42,7 +42,8 @@ module PlexRubySDK
|
||||
r = @sdk_configuration.client.get(url) do |req|
|
||||
req.headers = headers
|
||||
req.params = query_params
|
||||
Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
|
||||
security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil
|
||||
Utils.configure_request_security(req, security) if !security.nil?
|
||||
end
|
||||
|
||||
content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
|
||||
@@ -53,12 +54,12 @@ module PlexRubySDK
|
||||
if r.status == 200
|
||||
elsif r.status == 400
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::LogLineBadRequest)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::LogLineBadRequest)
|
||||
res.bad_request = out
|
||||
end
|
||||
elsif r.status == 401
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::LogLineUnauthorized)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::LogLineUnauthorized)
|
||||
res.unauthorized = out
|
||||
end
|
||||
end
|
||||
@@ -104,7 +105,8 @@ module PlexRubySDK
|
||||
|
||||
r = @sdk_configuration.client.post(url) do |req|
|
||||
req.headers = headers
|
||||
Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
|
||||
security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil
|
||||
Utils.configure_request_security(req, security) if !security.nil?
|
||||
if form
|
||||
req.body = Utils.encode_form(form)
|
||||
elsif Utils.match_content_type(req_content_type, 'application/x-www-form-urlencoded')
|
||||
@@ -122,12 +124,12 @@ module PlexRubySDK
|
||||
if r.status == 200
|
||||
elsif r.status == 400
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::LogMultiLineBadRequest)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::LogMultiLineBadRequest)
|
||||
res.bad_request = out
|
||||
end
|
||||
elsif r.status == 401
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::LogMultiLineUnauthorized)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::LogMultiLineUnauthorized)
|
||||
res.unauthorized = out
|
||||
end
|
||||
end
|
||||
@@ -150,7 +152,8 @@ module PlexRubySDK
|
||||
|
||||
r = @sdk_configuration.client.get(url) do |req|
|
||||
req.headers = headers
|
||||
Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
|
||||
security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil
|
||||
Utils.configure_request_security(req, security) if !security.nil?
|
||||
end
|
||||
|
||||
content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
|
||||
@@ -161,12 +164,12 @@ module PlexRubySDK
|
||||
if r.status == 200
|
||||
elsif r.status == 400
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::EnablePaperTrailBadRequest)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::EnablePaperTrailBadRequest)
|
||||
res.bad_request = out
|
||||
end
|
||||
elsif r.status == 401
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::EnablePaperTrailUnauthorized)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::EnablePaperTrailUnauthorized)
|
||||
res.unauthorized = out
|
||||
end
|
||||
elsif r.status == 403
|
||||
|
||||
@@ -39,7 +39,8 @@ module PlexRubySDK
|
||||
r = @sdk_configuration.client.get(url) do |req|
|
||||
req.headers = headers
|
||||
req.params = query_params
|
||||
Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
|
||||
security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil
|
||||
Utils.configure_request_security(req, security) if !security.nil?
|
||||
end
|
||||
|
||||
content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
|
||||
@@ -50,12 +51,12 @@ module PlexRubySDK
|
||||
if r.status == 200
|
||||
elsif r.status == 400
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::MarkPlayedBadRequest)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::MarkPlayedBadRequest)
|
||||
res.bad_request = out
|
||||
end
|
||||
elsif r.status == 401
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::MarkPlayedUnauthorized)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::MarkPlayedUnauthorized)
|
||||
res.unauthorized = out
|
||||
end
|
||||
end
|
||||
@@ -83,7 +84,8 @@ module PlexRubySDK
|
||||
r = @sdk_configuration.client.get(url) do |req|
|
||||
req.headers = headers
|
||||
req.params = query_params
|
||||
Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
|
||||
security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil
|
||||
Utils.configure_request_security(req, security) if !security.nil?
|
||||
end
|
||||
|
||||
content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
|
||||
@@ -94,12 +96,12 @@ module PlexRubySDK
|
||||
if r.status == 200
|
||||
elsif r.status == 400
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::MarkUnplayedBadRequest)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::MarkUnplayedBadRequest)
|
||||
res.bad_request = out
|
||||
end
|
||||
elsif r.status == 401
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::MarkUnplayedUnauthorized)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::MarkUnplayedUnauthorized)
|
||||
res.unauthorized = out
|
||||
end
|
||||
end
|
||||
@@ -130,7 +132,8 @@ module PlexRubySDK
|
||||
r = @sdk_configuration.client.post(url) do |req|
|
||||
req.headers = headers
|
||||
req.params = query_params
|
||||
Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
|
||||
security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil
|
||||
Utils.configure_request_security(req, security) if !security.nil?
|
||||
end
|
||||
|
||||
content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
|
||||
@@ -141,12 +144,12 @@ module PlexRubySDK
|
||||
if r.status == 200
|
||||
elsif r.status == 400
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::UpdatePlayProgressBadRequest)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::UpdatePlayProgressBadRequest)
|
||||
res.bad_request = out
|
||||
end
|
||||
elsif r.status == 401
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::UpdatePlayProgressUnauthorized)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::UpdatePlayProgressUnauthorized)
|
||||
res.unauthorized = out
|
||||
end
|
||||
end
|
||||
@@ -175,7 +178,8 @@ module PlexRubySDK
|
||||
r = @sdk_configuration.client.get(url) do |req|
|
||||
req.headers = headers
|
||||
req.params = query_params
|
||||
Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
|
||||
security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil
|
||||
Utils.configure_request_security(req, security) if !security.nil?
|
||||
end
|
||||
|
||||
content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
|
||||
@@ -188,12 +192,12 @@ module PlexRubySDK
|
||||
res.bytes = r.env.response_body if Utils.match_content_type(content_type, 'image/jpeg')
|
||||
elsif r.status == 400
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetBannerImageBadRequest)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetBannerImageBadRequest)
|
||||
res.bad_request = out
|
||||
end
|
||||
elsif r.status == 401
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetBannerImageUnauthorized)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetBannerImageUnauthorized)
|
||||
res.unauthorized = out
|
||||
end
|
||||
end
|
||||
@@ -222,7 +226,8 @@ module PlexRubySDK
|
||||
r = @sdk_configuration.client.get(url) do |req|
|
||||
req.headers = headers
|
||||
req.params = query_params
|
||||
Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
|
||||
security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil
|
||||
Utils.configure_request_security(req, security) if !security.nil?
|
||||
end
|
||||
|
||||
content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
|
||||
@@ -235,12 +240,12 @@ module PlexRubySDK
|
||||
res.bytes = r.env.response_body if Utils.match_content_type(content_type, 'image/jpeg')
|
||||
elsif r.status == 400
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetThumbImageBadRequest)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetThumbImageBadRequest)
|
||||
res.bad_request = out
|
||||
end
|
||||
elsif r.status == 401
|
||||
if Utils.match_content_type(content_type, 'application/json')
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetThumbImageUnauthorized)
|
||||
out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetThumbImageUnauthorized)
|
||||
res.unauthorized = out
|
||||
end
|
||||
end
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
|
||||
class Account < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class Account < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
|
||||
class Action < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class Action < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
|
||||
class Activity < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class Activity < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
# Bad Request - A parameter was not specified, or was specified incorrectly.
|
||||
class AddPlaylistContentsBadRequest < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class AddPlaylistContentsBadRequest < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
|
||||
class AddPlaylistContentsErrors < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class AddPlaylistContentsErrors < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
|
||||
class AddPlaylistContentsMediaContainer < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class AddPlaylistContentsMediaContainer < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
|
||||
class AddPlaylistContentsMetadata < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class AddPlaylistContentsMetadata < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
|
||||
class AddPlaylistContentsPlaylistsErrors < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class AddPlaylistContentsPlaylistsErrors < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
|
||||
class AddPlaylistContentsRequest < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class AddPlaylistContentsRequest < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
# the ID of the playlist
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
|
||||
class AddPlaylistContentsResponse < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class AddPlaylistContentsResponse < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
# HTTP response content type for this operation
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
# Playlist Updated
|
||||
class AddPlaylistContentsResponseBody < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class AddPlaylistContentsResponseBody < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
# Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
||||
class AddPlaylistContentsUnauthorized < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class AddPlaylistContentsUnauthorized < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
# Bad Request - A parameter was not specified, or was specified incorrectly.
|
||||
class ApplyUpdatesBadRequest < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class ApplyUpdatesBadRequest < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
|
||||
class ApplyUpdatesErrors < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class ApplyUpdatesErrors < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
|
||||
class ApplyUpdatesRequest < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class ApplyUpdatesRequest < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
# Indicate that the latest version should be marked as skipped. The [Release] entry for this version will have the `state` set to `skipped`.
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
|
||||
class ApplyUpdatesResponse < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class ApplyUpdatesResponse < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
# HTTP response content type for this operation
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
# Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
||||
class ApplyUpdatesUnauthorized < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class ApplyUpdatesUnauthorized < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
|
||||
class ApplyUpdatesUpdaterErrors < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class ApplyUpdatesUpdaterErrors < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ module PlexRubySDK
|
||||
].freeze
|
||||
|
||||
|
||||
class Billing < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class Billing < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
|
||||
class ButlerTask < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class ButlerTask < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
|
||||
class ButlerTasks < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class ButlerTasks < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
|
||||
class CancelServerActivitiesActivitiesErrors < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class CancelServerActivitiesActivitiesErrors < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
# Bad Request - A parameter was not specified, or was specified incorrectly.
|
||||
class CancelServerActivitiesBadRequest < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class CancelServerActivitiesBadRequest < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
|
||||
class CancelServerActivitiesErrors < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class CancelServerActivitiesErrors < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
|
||||
class CancelServerActivitiesRequest < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class CancelServerActivitiesRequest < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
# The UUID of the activity to cancel.
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
|
||||
class CancelServerActivitiesResponse < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class CancelServerActivitiesResponse < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
# HTTP response content type for this operation
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
# Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
||||
class CancelServerActivitiesUnauthorized < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class CancelServerActivitiesUnauthorized < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
# Bad Request - A parameter was not specified, or was specified incorrectly.
|
||||
class CheckForUpdatesBadRequest < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class CheckForUpdatesBadRequest < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
|
||||
class CheckForUpdatesErrors < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class CheckForUpdatesErrors < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
|
||||
class CheckForUpdatesRequest < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class CheckForUpdatesRequest < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
# Indicate that you want to start download any updates found.
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
|
||||
class CheckForUpdatesResponse < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class CheckForUpdatesResponse < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
# HTTP response content type for this operation
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
# Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
||||
class CheckForUpdatesUnauthorized < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class CheckForUpdatesUnauthorized < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
|
||||
class CheckForUpdatesUpdaterErrors < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class CheckForUpdatesUpdaterErrors < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
# Bad Request - A parameter was not specified, or was specified incorrectly.
|
||||
class ClearPlaylistContentsBadRequest < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class ClearPlaylistContentsBadRequest < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
|
||||
class ClearPlaylistContentsErrors < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class ClearPlaylistContentsErrors < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
|
||||
class ClearPlaylistContentsPlaylistsErrors < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class ClearPlaylistContentsPlaylistsErrors < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
|
||||
class ClearPlaylistContentsRequest < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class ClearPlaylistContentsRequest < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
# the ID of the playlist
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
|
||||
class ClearPlaylistContentsResponse < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class ClearPlaylistContentsResponse < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
# HTTP response content type for this operation
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
# Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
||||
class ClearPlaylistContentsUnauthorized < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class ClearPlaylistContentsUnauthorized < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
|
||||
class Collection < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class Collection < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ module PlexRubySDK
|
||||
].freeze
|
||||
|
||||
|
||||
class Connections < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class Connections < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
# The (ip) address or domain name used for the connection
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
|
||||
class Context < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class Context < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
|
||||
class Country < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class Country < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
# Bad Request - A parameter was not specified, or was specified incorrectly.
|
||||
class CreatePlaylistBadRequest < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class CreatePlaylistBadRequest < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
|
||||
class CreatePlaylistErrors < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class CreatePlaylistErrors < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
|
||||
class CreatePlaylistMediaContainer < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class CreatePlaylistMediaContainer < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
|
||||
class CreatePlaylistMetadata < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class CreatePlaylistMetadata < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
|
||||
class CreatePlaylistPlaylistsErrors < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class CreatePlaylistPlaylistsErrors < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
|
||||
class CreatePlaylistRequest < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class CreatePlaylistRequest < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
# whether the playlist is smart or not
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
|
||||
class CreatePlaylistResponse < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class CreatePlaylistResponse < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
# HTTP response content type for this operation
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
# returns all playlists
|
||||
class CreatePlaylistResponseBody < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class CreatePlaylistResponseBody < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
# Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
||||
class CreatePlaylistUnauthorized < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class CreatePlaylistUnauthorized < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
# Bad Request - A parameter was not specified, or was specified incorrectly.
|
||||
class DeleteLibraryBadRequest < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class DeleteLibraryBadRequest < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
|
||||
class DeleteLibraryErrors < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class DeleteLibraryErrors < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
|
||||
class DeleteLibraryLibraryErrors < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class DeleteLibraryLibraryErrors < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
|
||||
class DeleteLibraryRequest < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class DeleteLibraryRequest < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
# The unique key of the Plex library.
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
|
||||
class DeleteLibraryResponse < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class DeleteLibraryResponse < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
# HTTP response content type for this operation
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
# Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
||||
class DeleteLibraryUnauthorized < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class DeleteLibraryUnauthorized < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
# Bad Request - A parameter was not specified, or was specified incorrectly.
|
||||
class DeletePlaylistBadRequest < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class DeletePlaylistBadRequest < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
|
||||
class DeletePlaylistErrors < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class DeletePlaylistErrors < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
|
||||
class DeletePlaylistPlaylistsErrors < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class DeletePlaylistPlaylistsErrors < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
|
||||
class DeletePlaylistRequest < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class DeletePlaylistRequest < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
# the ID of the playlist
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
|
||||
class DeletePlaylistResponse < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class DeletePlaylistResponse < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
# HTTP response content type for this operation
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
# Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
||||
class DeletePlaylistUnauthorized < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class DeletePlaylistUnauthorized < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
|
||||
class Device < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class Device < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
|
||||
class Director < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class Director < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
|
||||
class Directory < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class Directory < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
# Bad Request - A parameter was not specified, or was specified incorrectly.
|
||||
class EnablePaperTrailBadRequest < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class EnablePaperTrailBadRequest < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
|
||||
class EnablePaperTrailErrors < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class EnablePaperTrailErrors < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
|
||||
class EnablePaperTrailLogErrors < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class EnablePaperTrailLogErrors < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
|
||||
class EnablePaperTrailResponse < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class EnablePaperTrailResponse < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
# HTTP response content type for this operation
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
# Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
||||
class EnablePaperTrailUnauthorized < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class EnablePaperTrailUnauthorized < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
|
||||
class Errors < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class Errors < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
|
||||
class Feature < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class Feature < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
|
||||
class Field < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class Field < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
|
||||
class FieldType < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class FieldType < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ module PlexRubySDK
|
||||
].freeze
|
||||
|
||||
|
||||
class Friend < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class Friend < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
# The account email address
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
|
||||
class Genre < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class Genre < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ module PlexRubySDK
|
||||
].freeze
|
||||
|
||||
# Geo location data
|
||||
class GeoData < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class GeoData < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
# The name of the city.
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
# Bad Request - A parameter was not specified, or was specified incorrectly.
|
||||
class GetActorsLibraryBadRequest < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class GetActorsLibraryBadRequest < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
|
||||
class GetActorsLibraryDirectory < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class GetActorsLibraryDirectory < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
# A fast lookup key for the actor relative url.
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
|
||||
class GetActorsLibraryErrors < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class GetActorsLibraryErrors < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
|
||||
class GetActorsLibraryLibraryErrors < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class GetActorsLibraryLibraryErrors < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
|
||||
class GetActorsLibraryMediaContainer < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class GetActorsLibraryMediaContainer < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
# Indicates whether syncing is allowed.
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
|
||||
class GetActorsLibraryRequest < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class GetActorsLibraryRequest < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
# The unique key of the Plex library.
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
|
||||
class GetActorsLibraryResponse < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class GetActorsLibraryResponse < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
# HTTP response content type for this operation
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
# Successful response containing media container data.
|
||||
class GetActorsLibraryResponseBody < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class GetActorsLibraryResponseBody < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
# Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
||||
class GetActorsLibraryUnauthorized < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class GetActorsLibraryUnauthorized < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
# Bad Request - A parameter was not specified, or was specified incorrectly.
|
||||
class GetAllLibrariesBadRequest < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class GetAllLibrariesBadRequest < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
|
||||
class GetAllLibrariesDirectory < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class GetAllLibrariesDirectory < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
|
||||
class GetAllLibrariesErrors < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class GetAllLibrariesErrors < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
|
||||
class GetAllLibrariesLibraryErrors < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class GetAllLibrariesLibraryErrors < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
|
||||
class GetAllLibrariesLocation < ::PlexRubySDK::Utils::FieldAugmented
|
||||
class GetAllLibrariesLocation < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user