Sha256: da3b14719993e9de93de094f4f00d872564898614ff8f01ade49f44caa5f46a4

Contents?: true

Size: 1.56 KB

Versions: 1

Compression:

Stored size: 1.56 KB

Contents

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

# typed: true
# frozen_string_literal: true


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

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

      field :usage, T::Array[::OpenApiSDK::Shared::OrganizationUsage], { 'format_json': { 'letter_case': ::OpenApiSDK::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': ::OpenApiSDK::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[::OpenApiSDK::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

1 entries across 1 versions & 1 rubygems

Version Path
speakeasy_client_sdk_ruby-4.2.24 lib/open_api_sdk/models/shared/organizationusageresponse.rb