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

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

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) —

    The workspace name.

  • slug (String) —

    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 827

Instance Attribute Details

#invite_code ⇒ String? (readonly)

Returns the value of attribute invite_code.

Returns:

  • (String, nil)


735
736
737
# File 'sig/openlayer/models/projects/inference_pipeline_create_params.rbs', line 735

def invite_code
  @invite_code
end

#name ⇒ String

The workspace name.

Parameters:

  • value (String)

Returns:

  • (String)


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

required :name, String

#saml_only_access ⇒ Boolean?

Whether the workspace only allows SAML authentication.

Parameters:

  • (Boolean)

Returns:

  • (Boolean, nil)


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

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

#slug ⇒ String

The workspace slug.

Parameters:

  • value (String)

Returns:

  • (String)


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

required :slug, String

#wildcard_domains ⇒ Array<String>?

Parameters:

  • (::Array[String])

Returns:

  • (Array<String>, nil)


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

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

Class Method Details

.values ⇒ Array<Symbol>

Returns:

  • (Array<Symbol>)


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

Instance Method Details

#invite_code= ⇒ String (readonly)

Parameters:

  • (String)

Returns:

  • (String)


737
# File 'sig/openlayer/models/projects/inference_pipeline_create_params.rbs', line 737

def invite_code=: (String) -> String

#to_hash ⇒ {

Returns:

  • ({)


747
# File 'sig/openlayer/models/projects/inference_pipeline_create_params.rbs', line 747

def to_hash: -> {