ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.531.4

This commit is contained in:
speakeasybot
2025-04-15 00:10:22 +00:00
parent 1be9c77a05
commit f1b7dcb619
2010 changed files with 41994 additions and 36602 deletions

View File

@@ -0,0 +1,38 @@
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
# typed: true
# frozen_string_literal: true
module PlexRubySDK
module Models
module Errors
class APIError < StandardError
include Crystalline::MetadataFields
extend T::Sig
field :body, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('body') } }
field :raw_response, T.nilable(Faraday::Response), {}
field :status_code, T.nilable(::Integer), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('status_code') } }
sig { params(status_code: ::Integer, body: ::String, raw_response: Faraday::Response).void }
def initialize(status_code:, body:, raw_response:)
@status_code = status_code
@body = body
@raw_response = raw_response
end
def ==(other)
return false unless other.is_a? self.class
return false unless @msg == other.msg
return false unless @status_code == other.status_code
return false unless @body == other.body
return false unless @raw_response == other.raw_response
true
end
end
end
end
end