Sha256: 3112d6b02f247cc0d71999e1d39536692c4d634144eac448d6bd482e1becdc60

Contents?: true

Size: 1.62 KB

Versions: 7

Compression:

Stored size: 1.62 KB

Contents

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

# typed: true
# frozen_string_literal: true


module SpeakeasyClientSDK
  module Shared
  
    # A billing summary of organization usage
    class OrganizationUsageResponse < ::SpeakeasyClientSDK::Utils::FieldAugmented
      extend T::Sig

      # List of allowed languages
      field :allowed_languages, T::Array[::String], { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('allowed_languages') } }
      # Total number of allowed languages, -1 if unlimited
      field :total_allowed_languages, ::Integer, { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('total_allowed_languages') } }

      field :usage, T::Array[::SpeakeasyClientSDK::Shared::OrganizationUsage], { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('usage') } }
      # Expiry date of the free trial, will be null if no trial
      field :free_trial_expiry, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('free_trial_expiry'), 'decoder': Utils.datetime_from_iso_format(true) } }


      sig { params(allowed_languages: T::Array[::String], total_allowed_languages: ::Integer, usage: T::Array[::SpeakeasyClientSDK::Shared::OrganizationUsage], free_trial_expiry: T.nilable(::DateTime)).void }
      def initialize(allowed_languages: nil, total_allowed_languages: nil, usage: nil, free_trial_expiry: nil)
        @allowed_languages = allowed_languages
        @total_allowed_languages = total_allowed_languages
        @usage = usage
        @free_trial_expiry = free_trial_expiry
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

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