Sha256: 47fd47a6973a4d2fa5a33dc794d3c29c342cf27f9d0b36c64d7ea767edf05f00

Contents?: true

Size: 1.21 KB

Versions: 1

Compression:

Stored size: 1.21 KB

Contents

# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.

# typed: true
# frozen_string_literal: true


module OpenApiSDK
  module Operations
  

    class GetAccessTokenResponse < ::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
      # OK
      field :access_token, T.nilable(::OpenApiSDK::Shared::AccessToken)
      # Default error response
      field :error, T.nilable(::OpenApiSDK::Shared::Error)


      sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, access_token: T.nilable(::OpenApiSDK::Shared::AccessToken), error: T.nilable(::OpenApiSDK::Shared::Error)).void }
      def initialize(content_type: nil, raw_response: nil, status_code: nil, access_token: nil, error: nil)
        @content_type = content_type
        @raw_response = raw_response
        @status_code = status_code
        @access_token = access_token
        @error = error
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
speakeasy_client_sdk_ruby-4.2.24 lib/open_api_sdk/models/operations/getaccesstoken_response.rb