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.
37 38 39 |
# File 'lib/etna/clients/janus/models.rb', line 37 def initialize(**params) super({privileged: false, affiliation: ''}.update(params)) end |
Instance Attribute Details
#affiliation ⇒ Object
Returns the value of attribute affiliation
34 35 36 |
# File 'lib/etna/clients/janus/models.rb', line 34 def affiliation @affiliation end |
#email ⇒ Object
Returns the value of attribute email
34 35 36 |
# File 'lib/etna/clients/janus/models.rb', line 34 def email @email end |
#privileged ⇒ Object
Returns the value of attribute privileged
34 35 36 |
# File 'lib/etna/clients/janus/models.rb', line 34 def privileged @privileged end |
#project_name ⇒ Object
Returns the value of attribute project_name
34 35 36 |
# File 'lib/etna/clients/janus/models.rb', line 34 def project_name @project_name end |
#role ⇒ Object
Returns the value of attribute role
34 35 36 |
# File 'lib/etna/clients/janus/models.rb', line 34 def role @role end |