Sha256: 4f5921824fd8406723333d99323f58ea40072ad308cbbd8b7b26ae80d6bf34fc

Contents?: true

Size: 1.22 KB

Versions: 3

Compression:

Stored size: 1.22 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 CompaniesPaginated < ::StackOne::Utils::FieldAugmented
      extend T::Sig


      field :data, T::Array[Shared::Company], { '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[Shared::RawResponse]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('raw') } }


      sig { params(data: T::Array[Shared::Company], next_: T.nilable(String), next_page: T.nilable(String), raw: T.nilable(T::Array[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

3 entries across 3 versions & 1 rubygems

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