Sha256: cde1fd6f91efff73915bbba026d1b6afdd3e2c003761c2ab8b212ab13df4eb51

Contents?: true

Size: 1.2 KB

Versions: 3

Compression:

Stored size: 1.2 KB

Contents

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

# typed: true
# frozen_string_literal: true


module StackOne
  module Shared
  

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


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

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

      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') } }


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

Version data entries

3 entries across 3 versions & 1 rubygems

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