Sha256: c6c566a6f006a06464af671c5d706674e3d48f5ab2bee20be7ea00dd309b4cf6

Contents?: true

Size: 1.13 KB

Versions: 3

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': ::StackOne::Utils.field_name('method') } }

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

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

      field :response, T.nilable(Shared::Response), { 'format_json': { 'letter_case': ::StackOne::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

3 entries across 3 versions & 1 rubygems

Version Path
stackone_client-0.1.0 lib/stackone/models/shared/rawresponse.rb
stackone_client-0.0.3 lib/stackone/models/shared/rawresponse.rb
stackone_client-0.0.2 lib/stackone/models/shared/rawresponse.rb