Sha256: b99a7af5d4e34f831befee74447cf68fa6c0c849cfe869a742b3e2603ece5335

Contents?: true

Size: 1.23 KB

Versions: 23

Compression:

Stored size: 1.23 KB

Contents

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

# typed: true
# frozen_string_literal: true


module StackOne
  module Shared
  

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


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

      field :next_, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('next') } }
      # @deprecated  true: This will be removed in a future release, please migrate away from it as soon as possible.
      field :next_page, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('next_page') } }

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


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

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
stackone_client-0.2.4 lib/stack_one/models/shared/offerspaginated.rb
stackone_client-0.2.3 lib/stack_one/models/shared/offerspaginated.rb
stackone_client-0.2.2 lib/stack_one/models/shared/offerspaginated.rb