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.476.0
This commit is contained in:
@@ -227,7 +227,7 @@ module PlexRubySDK
|
||||
res = ::PlexRubySDK::Operations::StopTaskResponse.new(
|
||||
status_code: r.status, content_type: content_type, raw_response: r
|
||||
)
|
||||
if [200, 404].include?(r.status)
|
||||
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)
|
||||
@@ -238,6 +238,7 @@ module PlexRubySDK
|
||||
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::StopTaskUnauthorized)
|
||||
res.unauthorized = out
|
||||
end
|
||||
elsif r.status == 404
|
||||
end
|
||||
|
||||
res
|
||||
|
||||
Reference in New Issue
Block a user