Class: Openlayer::Models::WorkspaceUpdateResponse
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Openlayer::Models::WorkspaceUpdateResponse
- Defined in:
- lib/openlayer/models/workspace_update_response.rb,
sig/openlayer/models/workspace_update_response.rbs
Overview
Defined Under Namespace
Modules: Status Classes: MonthlyUsage
Instance Attribute Summary collapse
-
#creator_id ⇒ String?
Returns the value of attribute creator_id.
-
#date_created ⇒ Time
Returns the value of attribute date_created.
-
#date_updated ⇒ Time
Returns the value of attribute date_updated.
-
#id ⇒ String
Returns the value of attribute id.
-
#invite_count ⇒ Integer
Returns the value of attribute invite_count.
-
#member_count ⇒ Integer
Returns the value of attribute member_count.
-
#monthly_usage ⇒ ::Array[Openlayer::Models::WorkspaceUpdateResponse::MonthlyUsage]?
readonly
Returns the value of attribute monthly_usage.
-
#name ⇒ String
The workspace name.
-
#period_end_date ⇒ Time?
Returns the value of attribute period_end_date.
-
#period_start_date ⇒ Time?
Returns the value of attribute period_start_date.
-
#project_count ⇒ Integer
Returns the value of attribute project_count.
-
#saml_only_access ⇒ Boolean?
Whether the workspace only allows SAML authentication.
-
#slug ⇒ String
The workspace slug.
-
#status ⇒ Openlayer::Models::WorkspaceUpdateResponse::status
Returns the value of attribute status.
- #wildcard_domains ⇒ Array<String>?
Class Method Summary collapse
Instance Method Summary collapse
- #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 constructor
- #monthly_usage ⇒ Object readonly
- #to_hash ⇒ {
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
|
|
# File 'lib/openlayer/models/workspace_update_response.rb', line 98
|
Instance Attribute Details
#creator_id ⇒ String?
Returns the value of attribute creator_id.
38 39 40 |
# File 'sig/openlayer/models/workspace_update_response.rbs', line 38 def creator_id @creator_id end |
#date_created ⇒ Time
Returns the value of attribute date_created.
40 41 42 |
# File 'sig/openlayer/models/workspace_update_response.rbs', line 40 def date_created @date_created end |
#date_updated ⇒ Time
Returns the value of attribute date_updated.
42 43 44 |
# File 'sig/openlayer/models/workspace_update_response.rbs', line 42 def date_updated @date_updated end |
#id ⇒ String
Returns the value of attribute id.
36 37 38 |
# File 'sig/openlayer/models/workspace_update_response.rbs', line 36 def id @id end |
#invite_count ⇒ Integer
Returns the value of attribute invite_count.
44 45 46 |
# File 'sig/openlayer/models/workspace_update_response.rbs', line 44 def invite_count @invite_count end |
#member_count ⇒ Integer
Returns the value of attribute member_count.
46 47 48 |
# File 'sig/openlayer/models/workspace_update_response.rbs', line 46 def member_count @member_count end |
#monthly_usage ⇒ ::Array[Openlayer::Models::WorkspaceUpdateResponse::MonthlyUsage]? (readonly)
Returns the value of attribute monthly_usage.
56 57 58 |
# File 'sig/openlayer/models/workspace_update_response.rbs', line 56 def monthly_usage @monthly_usage end |
#name ⇒ String
The workspace name.
11 |
# File 'lib/openlayer/models/workspace_update_response.rb', line 11 required :name, String |
#period_end_date ⇒ Time?
Returns the value of attribute period_end_date.
48 49 50 |
# File 'sig/openlayer/models/workspace_update_response.rbs', line 48 def period_end_date @period_end_date end |
#period_start_date ⇒ Time?
Returns the value of attribute period_start_date.
50 51 52 |
# File 'sig/openlayer/models/workspace_update_response.rbs', line 50 def period_start_date @period_start_date end |
#project_count ⇒ Integer
Returns the value of attribute project_count.
52 53 54 |
# File 'sig/openlayer/models/workspace_update_response.rbs', line 52 def project_count @project_count end |
#saml_only_access ⇒ Boolean?
Whether the workspace only allows SAML authentication.
23 |
# File 'lib/openlayer/models/workspace_update_response.rb', line 23 optional :saml_only_access, Openlayer::Internal::Type::Boolean, api_name: :samlOnlyAccess |
#slug ⇒ String
The workspace slug.
17 |
# File 'lib/openlayer/models/workspace_update_response.rb', line 17 required :slug, String |
#status ⇒ Openlayer::Models::WorkspaceUpdateResponse::status
Returns the value of attribute status.
54 55 56 |
# File 'sig/openlayer/models/workspace_update_response.rbs', line 54 def status @status end |
#wildcard_domains ⇒ Array<String>?
28 |
# File 'lib/openlayer/models/workspace_update_response.rb', line 28 optional :wildcard_domains, Openlayer::Internal::Type::ArrayOf[String], api_name: :wildcardDomains |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/openlayer/models/workspace_update_response.rb', line 142
|
Instance Method Details
#monthly_usage= ⇒ Object (readonly)
58 |
# File 'sig/openlayer/models/workspace_update_response.rbs', line 58
def monthly_usage=: (
|
#to_hash ⇒ {
80 |
# File 'sig/openlayer/models/workspace_update_response.rbs', line 80
def to_hash: -> {
|