Class: Conductor::Http::Models::Group

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/conductor/http/models/group.rb

Overview

Group model - represents a user group

Constant Summary collapse

SWAGGER_TYPES =
{
  id: 'String',
  description: 'String',
  roles: 'Array<Role>',
  default_access: 'Hash<String, Array<String>>',
  contact_information: 'Hash<String, String>'
}.freeze
ATTRIBUTE_MAP =
{
  id: :id,
  description: :description,
  roles: :roles,
  default_access: :defaultAccess,
  contact_information: :contactInformation
}.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 = {}) ⇒ Group

Returns a new instance of Group.



26
27
28
29
30
31
32
# File 'lib/conductor/http/models/group.rb', line 26

def initialize(params = {})
  @id = params[:id]
  @description = params[:description]
  @roles = params[:roles]
  @default_access = params[:default_access]
  @contact_information = params[:contact_information]
end

Instance Attribute Details

#contact_informationObject

Returns the value of attribute contact_information.



24
25
26
# File 'lib/conductor/http/models/group.rb', line 24

def contact_information
  @contact_information
end

#default_accessObject

Returns the value of attribute default_access.



24
25
26
# File 'lib/conductor/http/models/group.rb', line 24

def default_access
  @default_access
end

#descriptionObject

Returns the value of attribute description.



24
25
26
# File 'lib/conductor/http/models/group.rb', line 24

def description
  @description
end

#idObject

Returns the value of attribute id.



24
25
26
# File 'lib/conductor/http/models/group.rb', line 24

def id
  @id
end

#rolesObject

Returns the value of attribute roles.



24
25
26
# File 'lib/conductor/http/models/group.rb', line 24

def roles
  @roles
end