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.
29 30 31 |
# File 'lib/etna/clients/janus/models.rb', line 29 def initialize(**params) super({privileged: false, affiliation: ''}.update(params)) end |
Instance Attribute Details
#affiliation ⇒ Object
Returns the value of attribute affiliation
26 27 28 |
# File 'lib/etna/clients/janus/models.rb', line 26 def affiliation @affiliation end |
#email ⇒ Object
Returns the value of attribute email
26 27 28 |
# File 'lib/etna/clients/janus/models.rb', line 26 def email @email end |
#name ⇒ Object
Returns the value of attribute name
26 27 28 |
# File 'lib/etna/clients/janus/models.rb', line 26 def name @name end |
#privileged ⇒ Object
Returns the value of attribute privileged
26 27 28 |
# File 'lib/etna/clients/janus/models.rb', line 26 def privileged @privileged end |
#project_name ⇒ Object
Returns the value of attribute project_name
26 27 28 |
# File 'lib/etna/clients/janus/models.rb', line 26 def project_name @project_name end |
#role ⇒ Object
Returns the value of attribute role
26 27 28 |
# File 'lib/etna/clients/janus/models.rb', line 26 def role @role end |