Class: Conductor::Http::Models::ConductorUser

Inherits:
BaseModel
  • Object
show all
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

Instance Method Summary collapse

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_userObject

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_informationObject

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_idObject

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_valueObject

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

#groupsObject

Returns the value of attribute groups.



34
35
36
# File 'lib/conductor/http/models/conductor_user.rb', line 34

def groups
  @groups
end

#idObject

Returns the value of attribute id.



34
35
36
# File 'lib/conductor/http/models/conductor_user.rb', line 34

def id
  @id
end

#nameObject

Returns the value of attribute name.



34
35
36
# File 'lib/conductor/http/models/conductor_user.rb', line 34

def name
  @name
end

#namespaceObject

Returns the value of attribute namespace.



34
35
36
# File 'lib/conductor/http/models/conductor_user.rb', line 34

def namespace
  @namespace
end

#rolesObject

Returns the value of attribute roles.



34
35
36
# File 'lib/conductor/http/models/conductor_user.rb', line 34

def roles
  @roles
end

#uuidObject

Returns the value of attribute uuid.



34
35
36
# File 'lib/conductor/http/models/conductor_user.rb', line 34

def uuid
  @uuid
end