Class: Openlayer::Models::Governance::FrameworkCreateParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Openlayer::Models::Governance::FrameworkCreateParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/openlayer/models/governance/framework_create_params.rb,
sig/openlayer/models/governance/framework_create_params.rbs
Overview
Defined Under Namespace
Classes: ProjectSelector
Constant Summary
Constants included from Internal::Type::RequestParameters
Internal::Type::RequestParameters::Openlayer
Instance Attribute Summary collapse
-
#description ⇒ String?
A short description of the framework.
-
#enabled ⇒ Boolean?
Whether the framework is active.
-
#name ⇒ String
The framework name.
-
#project_selector ⇒ Openlayer::Models::Governance::FrameworkCreateParams::ProjectSelector?
Determines which projects the framework applies to.
-
#tags ⇒ Array<String>?
Free-form labels on the framework.
- #workspace_id ⇒ String
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
- #initialize ⇒ Object constructor
- #to_hash ⇒ {
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
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 ⇒ Object
35 |
# File 'sig/openlayer/models/governance/framework_create_params.rbs', line 35
def initialize: (
|
Instance Attribute Details
#description ⇒ String?
A short description of the framework.
26 |
# File 'lib/openlayer/models/governance/framework_create_params.rb', line 26 optional :description, String, nil?: true |
#enabled ⇒ Boolean?
Whether the framework is active. Rules of a disabled framework are not evaluated and do not count towards compliance.
33 |
# File 'lib/openlayer/models/governance/framework_create_params.rb', line 33 optional :enabled, Openlayer::Internal::Type::Boolean |
#name ⇒ String
The framework name.
20 |
# File 'lib/openlayer/models/governance/framework_create_params.rb', line 20 required :name, String |
#project_selector ⇒ Openlayer::Models::Governance::FrameworkCreateParams::ProjectSelector?
Determines which projects the framework applies to. An empty or null match
array applies the framework to every project in the workspace.
40 41 42 43 |
# File 'lib/openlayer/models/governance/framework_create_params.rb', line 40 optional :project_selector, -> { Openlayer::Governance::FrameworkCreateParams::ProjectSelector }, api_name: :projectSelector, nil?: true |
#tags ⇒ Array<String>?
Free-form labels on the framework.
49 |
# File 'lib/openlayer/models/governance/framework_create_params.rb', line 49 optional :tags, Openlayer::Internal::Type::ArrayOf[String] |
#workspace_id ⇒ String
14 |
# File 'lib/openlayer/models/governance/framework_create_params.rb', line 14 required :workspace_id, String |
Instance Method Details
#to_hash ⇒ {
45 |
# File 'sig/openlayer/models/governance/framework_create_params.rbs', line 45
def to_hash: -> {
|