Class: Openlayer::Models::ProjectCreateResponse

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

Overview

Defined Under Namespace

Modules: Source, TaskType Classes: GitRepo, Links

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(app: ) ⇒ Object

Links to the project.

Parameters:

  • app (String) (defaults to: )


# File 'lib/openlayer/models/project_create_response.rb', line 107

Instance Attribute Details

#descriptionString?

The project description.

Returns:

  • (String, nil)


23
# File 'lib/openlayer/models/project_create_response.rb', line 23

optional :description, String, nil?: true

#nameString

The project name.

Returns:

  • (String)


11
# File 'lib/openlayer/models/project_create_response.rb', line 11

required :name, String

#task_typeSymbol, Openlayer::Models::ProjectCreateResponse::TaskType

The task type of the project.



17
# File 'lib/openlayer/models/project_create_response.rb', line 17

required :task_type, enum: -> { Openlayer::Models::ProjectCreateResponse::TaskType }, api_name: :taskType

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/openlayer/models/project_create_response.rb', line 163