Class: Etna::Clients::Janus::UpdatePermissionRequest
- Inherits:
-
Struct
- Object
- Struct
- Etna::Clients::Janus::UpdatePermissionRequest
- Includes:
- JsonSerializableStruct
- Defined in:
- lib/etna/clients/janus/models.rb
Instance Attribute Summary collapse
-
#affiliation ⇒ Object
Returns the value of attribute affiliation.
-
#email ⇒ Object
Returns the value of attribute email.
-
#privileged ⇒ Object
Returns the value of attribute privileged.
-
#project_name ⇒ Object
Returns the value of attribute project_name.
-
#role ⇒ Object
Returns the value of attribute role.
Instance Method Summary collapse
-
#initialize(**params) ⇒ UpdatePermissionRequest
constructor
A new instance of UpdatePermissionRequest.
Methods included from JsonSerializableStruct
Constructor Details
#initialize(**params) ⇒ UpdatePermissionRequest
Returns a new instance of UpdatePermissionRequest.
45 46 47 |
# File 'lib/etna/clients/janus/models.rb', line 45 def initialize(**params) super({privileged: false, affiliation: ''}.update(params)) end |
Instance Attribute Details
#affiliation ⇒ Object
Returns the value of attribute affiliation
42 43 44 |
# File 'lib/etna/clients/janus/models.rb', line 42 def affiliation @affiliation end |
#email ⇒ Object
Returns the value of attribute email
42 43 44 |
# File 'lib/etna/clients/janus/models.rb', line 42 def email @email end |
#privileged ⇒ Object
Returns the value of attribute privileged
42 43 44 |
# File 'lib/etna/clients/janus/models.rb', line 42 def privileged @privileged end |
#project_name ⇒ Object
Returns the value of attribute project_name
42 43 44 |
# File 'lib/etna/clients/janus/models.rb', line 42 def project_name @project_name end |
#role ⇒ Object
Returns the value of attribute role
42 43 44 |
# File 'lib/etna/clients/janus/models.rb', line 42 def role @role end |