Class: Etna::Clients::Janus::AddUserRequest
- Inherits:
-
Struct
- Object
- Struct
- Etna::Clients::Janus::AddUserRequest
- 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.
-
#name ⇒ Object
Returns the value of attribute name.
-
#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) ⇒ AddUserRequest
constructor
A new instance of AddUserRequest.
Methods included from JsonSerializableStruct
Constructor Details
#initialize(**params) ⇒ AddUserRequest
Returns a new instance of AddUserRequest.
28 29 30 |
# File 'lib/etna/clients/janus/models.rb', line 28 def initialize(**params) super({privileged: false, affiliation: ''}.update(params)) end |
Instance Attribute Details
#affiliation ⇒ Object
Returns the value of attribute affiliation
25 26 27 |
# File 'lib/etna/clients/janus/models.rb', line 25 def affiliation @affiliation end |
#email ⇒ Object
Returns the value of attribute email
25 26 27 |
# File 'lib/etna/clients/janus/models.rb', line 25 def email @email end |
#name ⇒ Object
Returns the value of attribute name
25 26 27 |
# File 'lib/etna/clients/janus/models.rb', line 25 def name @name end |
#privileged ⇒ Object
Returns the value of attribute privileged
25 26 27 |
# File 'lib/etna/clients/janus/models.rb', line 25 def privileged @privileged end |
#project_name ⇒ Object
Returns the value of attribute project_name
25 26 27 |
# File 'lib/etna/clients/janus/models.rb', line 25 def project_name @project_name end |
#role ⇒ Object
Returns the value of attribute role
25 26 27 |
# File 'lib/etna/clients/janus/models.rb', line 25 def role @role end |