Sha256: 6ed227f4c4c42a65260b41ae554f2801e0a13f2d78c7b2656c4e2115f5699375

Contents?: true

Size: 760 Bytes

Versions: 2

Compression:

Stored size: 760 Bytes

Contents

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

# typed: true
# frozen_string_literal: true

require 'sorbet-runtime'
require 'faraday'
require_relative '../shared/offer'

module StackOne
  module Shared

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


      field :data, Shared::Offer, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('data') } }

      field :raw, T.nilable(T::Array[Shared::RawResponse]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('raw') } }


      sig { params(data: Shared::Offer, raw: T.nilable(T::Array[Shared::RawResponse])).void }
      def initialize(data: nil, raw: nil)
        @data = data
        @raw = raw
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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