Sha256: 34f5d134ca630539fe67bdc290080875c8b328127902a37dae680ba4879ee28c

Contents?: true

Size: 1.19 KB

Versions: 2

Compression:

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


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

      field :raw, T::Array[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[Shared::User], raw: T::Array[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

2 entries across 2 versions & 1 rubygems

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