Sha256: 34ecdd5d474976e407458c2b1f37f2caa8a0ff5c6073937872021116ef188333

Contents?: true

Size: 1.31 KB

Versions: 6

Compression:

Stored size: 1.31 KB

Contents

# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.

# typed: true
# frozen_string_literal: true


module SpeakeasyClientSDK
  module Shared
  

    class Workspaces < ::SpeakeasyClientSDK::Utils::FieldAugmented
      extend T::Sig


      field :account_type, T.nilable(::SpeakeasyClientSDK::Shared::AccountType), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('account_type'), 'decoder': Utils.enum_from_string(::SpeakeasyClientSDK::Shared::AccountType, true) } }

      field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('id') } }

      field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('name') } }

      field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }


      sig { params(account_type: T.nilable(::SpeakeasyClientSDK::Shared::AccountType), id: T.nilable(::String), name: T.nilable(::String), updated_at: T.nilable(::DateTime)).void }
      def initialize(account_type: nil, id: nil, name: nil, updated_at: nil)
        @account_type = account_type
        @id = id
        @name = name
        @updated_at = updated_at
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
speakeasy_client_sdk_ruby-4.2.22 lib/speakeasy_client_sdk/models/shared/workspaces.rb
speakeasy_client_sdk_ruby-4.2.21 lib/speakeasy_client_sdk/models/shared/workspaces.rb
speakeasy_client_sdk_ruby-4.2.20 lib/speakeasy_client_sdk/models/shared/workspaces.rb
speakeasy_client_sdk_ruby-4.2.19 lib/speakeasy_client_sdk/models/shared/workspaces.rb
speakeasy_client_sdk_ruby-4.2.18 lib/speakeasy_client_sdk/models/shared/workspaces.rb
speakeasy_client_sdk_ruby-4.2.17 lib/speakeasy_client_sdk/models/shared/workspaces.rb