Class: Openlayer::Models::Projects::InferencePipelineCreateParams::Workspace

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

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(name: , slug: , invite_code: nil, saml_only_access: nil, wildcard_domains: nil) ⇒ Object

Parameters:

  • name (String) (defaults to: )

    The workspace name.

  • slug (String) (defaults to: )

    The workspace slug.

  • invite_code (String) (defaults to: nil)

    The workspace invite code.

  • 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/projects/inference_pipeline_create_params.rb', line 176

Instance Attribute Details

#nameString

The workspace name.

Returns:

  • (String)


149
# File 'lib/openlayer/models/projects/inference_pipeline_create_params.rb', line 149

required :name, String

#saml_only_accessBoolean?

Whether the workspace only allows SAML authentication.

Returns:

  • (Boolean, nil)


161
# File 'lib/openlayer/models/projects/inference_pipeline_create_params.rb', line 161

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

#slugString

The workspace slug.

Returns:

  • (String)


155
# File 'lib/openlayer/models/projects/inference_pipeline_create_params.rb', line 155

required :slug, String

#wildcard_domainsArray<String>?

Returns:

  • (Array<String>, nil)


166
# File 'lib/openlayer/models/projects/inference_pipeline_create_params.rb', line 166

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

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/openlayer/models/projects/inference_pipeline_create_params.rb', line 200