Class: Conductor::Http::Models::ConductorUser
- Defined in:
- lib/conductor/http/models/conductor_user.rb
Overview
ConductorUser model - represents a user in Conductor
Constant Summary collapse
- SWAGGER_TYPES =
{ id: 'String', name: 'String', roles: 'Array<Role>', groups: 'Array<Group>', uuid: 'String', application_user: 'Boolean', encrypted_id: 'Boolean', encrypted_id_display_value: 'String', contact_information: 'Hash<String, String>', namespace: 'String' }.freeze
- ATTRIBUTE_MAP =
{ id: :id, name: :name, roles: :roles, groups: :groups, uuid: :uuid, application_user: :applicationUser, encrypted_id: :encryptedId, encrypted_id_display_value: :encryptedIdDisplayValue, contact_information: :contactInformation, namespace: :namespace }.freeze
Instance Attribute Summary collapse
-
#application_user ⇒ Object
Returns the value of attribute application_user.
-
#contact_information ⇒ Object
Returns the value of attribute contact_information.
-
#encrypted_id ⇒ Object
Returns the value of attribute encrypted_id.
-
#encrypted_id_display_value ⇒ Object
Returns the value of attribute encrypted_id_display_value.
-
#groups ⇒ Object
Returns the value of attribute groups.
-
#id ⇒ Object
Returns the value of attribute id.
-
#name ⇒ Object
Returns the value of attribute name.
-
#namespace ⇒ Object
Returns the value of attribute namespace.
-
#roles ⇒ Object
Returns the value of attribute roles.
-
#uuid ⇒ Object
Returns the value of attribute uuid.
Instance Method Summary collapse
-
#initialize(params = {}) ⇒ ConductorUser
constructor
A new instance of ConductorUser.
Methods inherited from BaseModel
attribute_map, deserialize_model, deserialize_value, find_model_class, from_hash, from_json, parse_datetime, swagger_types, #to_h, #to_json
Constructor Details
#initialize(params = {}) ⇒ ConductorUser
Returns a new instance of ConductorUser.
38 39 40 41 42 43 44 45 46 47 48 49 |
# File 'lib/conductor/http/models/conductor_user.rb', line 38 def initialize(params = {}) @id = params[:id] @name = params[:name] @roles = params[:roles] @groups = params[:groups] @uuid = params[:uuid] @application_user = params[:application_user] @encrypted_id = params[:encrypted_id] @encrypted_id_display_value = params[:encrypted_id_display_value] @contact_information = params[:contact_information] @namespace = params[:namespace] end |
Instance Attribute Details
#application_user ⇒ Object
Returns the value of attribute application_user.
34 35 36 |
# File 'lib/conductor/http/models/conductor_user.rb', line 34 def application_user @application_user end |
#contact_information ⇒ Object
Returns the value of attribute contact_information.
34 35 36 |
# File 'lib/conductor/http/models/conductor_user.rb', line 34 def contact_information @contact_information end |
#encrypted_id ⇒ Object
Returns the value of attribute encrypted_id.
34 35 36 |
# File 'lib/conductor/http/models/conductor_user.rb', line 34 def encrypted_id @encrypted_id end |
#encrypted_id_display_value ⇒ Object
Returns the value of attribute encrypted_id_display_value.
34 35 36 |
# File 'lib/conductor/http/models/conductor_user.rb', line 34 def encrypted_id_display_value @encrypted_id_display_value end |
#groups ⇒ Object
Returns the value of attribute groups.
34 35 36 |
# File 'lib/conductor/http/models/conductor_user.rb', line 34 def groups @groups end |
#id ⇒ Object
Returns the value of attribute id.
34 35 36 |
# File 'lib/conductor/http/models/conductor_user.rb', line 34 def id @id end |
#name ⇒ Object
Returns the value of attribute name.
34 35 36 |
# File 'lib/conductor/http/models/conductor_user.rb', line 34 def name @name end |
#namespace ⇒ Object
Returns the value of attribute namespace.
34 35 36 |
# File 'lib/conductor/http/models/conductor_user.rb', line 34 def namespace @namespace end |
#roles ⇒ Object
Returns the value of attribute roles.
34 35 36 |
# File 'lib/conductor/http/models/conductor_user.rb', line 34 def roles @roles end |
#uuid ⇒ Object
Returns the value of attribute uuid.
34 35 36 |
# File 'lib/conductor/http/models/conductor_user.rb', line 34 def uuid @uuid end |