Class: Conductor::Http::Models::Group
- 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
-
#contact_information ⇒ Object
Returns the value of attribute contact_information.
-
#default_access ⇒ Object
Returns the value of attribute default_access.
-
#description ⇒ Object
Returns the value of attribute description.
-
#id ⇒ Object
Returns the value of attribute id.
-
#roles ⇒ Object
Returns the value of attribute roles.
Instance Method Summary collapse
-
#initialize(params = {}) ⇒ Group
constructor
A new instance of Group.
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_information ⇒ Object
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_access ⇒ Object
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 |
#description ⇒ Object
Returns the value of attribute description.
24 25 26 |
# File 'lib/conductor/http/models/group.rb', line 24 def description @description end |
#id ⇒ Object
Returns the value of attribute id.
24 25 26 |
# File 'lib/conductor/http/models/group.rb', line 24 def id @id end |
#roles ⇒ Object
Returns the value of attribute roles.
24 25 26 |
# File 'lib/conductor/http/models/group.rb', line 24 def roles @roles end |