Sha256: b67e2e82dc1048d57d3e16e80c15bc8d9c3677a1f12a9e51142c66f0f5f6efb5

Contents?: true

Size: 1.13 KB

Versions: 1

Compression:

Stored size: 1.13 KB

Contents

# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.

# typed: true
# frozen_string_literal: true

require 'sorbet-runtime'
require 'faraday'

module StackOne
  module Shared

    class Response < StackOne::Utils::FieldAugmented
      extend T::Sig



      
      def initialize; end
    end


    class RawResponse < StackOne::Utils::FieldAugmented
      extend T::Sig


      field :method, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('method') } }

      field :url, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('url') } }

      field :body, T.nilable(String), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('body') } }

      field :response, T.nilable(Shared::Response), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('response') } }


      sig { params(method: String, url: String, body: T.nilable(String), response: T.nilable(Shared::Response)).void }
      def initialize(method: nil, url: nil, body: nil, response: nil)
        @method = method
        @url = url
        @body = body
        @response = response
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
stackone_client-0.0.1 lib/stackone/models/shared/rawresponse.rb