Class: Openlayer::Models::InferencePipelineRetrieveResponse::Workspace

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/openlayer/models/inference_pipeline_retrieve_response.rb

Overview

See Also:

Defined Under Namespace

Modules: Status Classes: MonthlyUsage

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(id:, creator_id:, date_created:, date_updated:, invite_count:, member_count:, name:, period_end_date:, period_start_date:, project_count:, slug:, status:, monthly_usage: nil, saml_only_access: nil, wildcard_domains: nil) ⇒ Object

Parameters:

  • id (String)

    The workspace id.

  • creator_id (String, nil)

    The workspace creator id.

  • date_created (Time)

    The workspace creation date.

  • date_updated (Time)

    The workspace last updated date.

  • invite_count (Integer)

    The number of invites in the workspace.

  • member_count (Integer)

    The number of members in the workspace.

  • name (String)

    The workspace name.

  • period_end_date (Time, nil)

    The end date of the current billing period.

  • period_start_date (Time, nil)

    The start date of the current billing period.

  • project_count (Integer)

    The number of projects in the workspace.

  • slug (String)

    The workspace slug.

  • status (Symbol, Openlayer::Models::InferencePipelineRetrieveResponse::Workspace::Status)
  • monthly_usage (Array<Openlayer::Models::InferencePipelineRetrieveResponse::Workspace::MonthlyUsage>) (defaults to: nil)
  • saml_only_access (Boolean) (defaults to: nil)

    Whether the workspace only allows SAML authentication.

  • wildcard_domains (Array<String>) (defaults to: nil)


# File 'lib/openlayer/models/inference_pipeline_retrieve_response.rb', line 1039

Instance Attribute Details

#nameString

The workspace name.

Returns:

  • (String)


952
# File 'lib/openlayer/models/inference_pipeline_retrieve_response.rb', line 952

required :name, String

#saml_only_accessBoolean?

Whether the workspace only allows SAML authentication.

Returns:

  • (Boolean, nil)


964
# File 'lib/openlayer/models/inference_pipeline_retrieve_response.rb', line 964

optional :saml_only_access, Openlayer::Internal::Type::Boolean, api_name: :samlOnlyAccess

#slugString

The workspace slug.

Returns:

  • (String)


958
# File 'lib/openlayer/models/inference_pipeline_retrieve_response.rb', line 958

required :slug, String

#wildcard_domainsArray<String>?

Returns:

  • (Array<String>, nil)


969
# File 'lib/openlayer/models/inference_pipeline_retrieve_response.rb', line 969

optional :wildcard_domains, Openlayer::Internal::Type::ArrayOf[String], api_name: :wildcardDomains

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/openlayer/models/inference_pipeline_retrieve_response.rb', line 1083