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) (defaults to: )

    The workspace id.

  • creator_id (String, nil) (defaults to: )

    The workspace creator id.

  • date_created (Time) (defaults to: )

    The workspace creation date.

  • date_updated (Time) (defaults to: )

    The workspace last updated date.

  • invite_count (Integer) (defaults to: )

    The number of invites in the workspace.

  • member_count (Integer) (defaults to: )

    The number of members in the workspace.

  • name (String) (defaults to: )

    The workspace name.

  • period_end_date (Time, nil) (defaults to: )

    The end date of the current billing period.

  • period_start_date (Time, nil) (defaults to: )

    The start date of the current billing period.

  • project_count (Integer) (defaults to: )

    The number of projects in the workspace.

  • slug (String) (defaults to: )

    The workspace slug.

  • status (Symbol, Openlayer::Models::InferencePipelineRetrieveResponse::Workspace::Status) (defaults to: )
  • 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 533

Instance Attribute Details

#nameString

The workspace name.

Returns:

  • (String)


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

required :name, String

#saml_only_accessBoolean?

Whether the workspace only allows SAML authentication.

Returns:

  • (Boolean, nil)


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

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

#slugString

The workspace slug.

Returns:

  • (String)


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

required :slug, String

#wildcard_domainsArray<String>?

Returns:

  • (Array<String>, nil)


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

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 577