mirror of
https://github.com/LukeHagar/plexruby.git
synced 2025-12-06 12:47:44 +00:00
37 lines
1.7 KiB
Ruby
37 lines
1.7 KiB
Ruby
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
|
|
|
# typed: true
|
|
# frozen_string_literal: true
|
|
|
|
|
|
module OpenApiSDK
|
|
module Operations
|
|
|
|
|
|
class GetAvailableClientsResponse < ::OpenApiSDK::Utils::FieldAugmented
|
|
extend T::Sig
|
|
|
|
# HTTP response content type for this operation
|
|
field :content_type, ::String
|
|
# Raw HTTP response; suitable for custom response parsing
|
|
field :raw_response, ::Faraday::Response
|
|
# HTTP response status code for this operation
|
|
field :status_code, ::Integer
|
|
# Available Clients
|
|
field :two_hundred_application_json_object, T.nilable(::OpenApiSDK::Operations::GetAvailableClientsResponseBody)
|
|
# Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|
field :four_hundred_and_one_application_json_object, T.nilable(::OpenApiSDK::Operations::GetAvailableClientsServerResponseBody)
|
|
|
|
|
|
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, two_hundred_application_json_object: T.nilable(::OpenApiSDK::Operations::GetAvailableClientsResponseBody), four_hundred_and_one_application_json_object: T.nilable(::OpenApiSDK::Operations::GetAvailableClientsServerResponseBody)).void }
|
|
def initialize(content_type: nil, raw_response: nil, status_code: nil, two_hundred_application_json_object: nil, four_hundred_and_one_application_json_object: nil)
|
|
@content_type = content_type
|
|
@raw_response = raw_response
|
|
@status_code = status_code
|
|
@two_hundred_application_json_object = two_hundred_application_json_object
|
|
@four_hundred_and_one_application_json_object = four_hundred_and_one_application_json_object
|
|
end
|
|
end
|
|
end
|
|
end
|