Class: Conductor::Http::Models::Integration

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

Overview

Integration model - represents an integration provider

Constant Summary collapse

SWAGGER_TYPES =
{
  category: 'String',
  configuration: 'Hash<String, Object>',
  created_by: 'String',
  created_on: 'Integer',
  description: 'String',
  enabled: 'Boolean',
  models_count: 'Integer',
  name: 'String',
  tags: 'Array<TagObject>',
  type: 'String',
  updated_by: 'String',
  updated_on: 'Integer',
  apis: 'Array<IntegrationApi>'
}.freeze
ATTRIBUTE_MAP =
{
  category: :category,
  configuration: :configuration,
  created_by: :createdBy,
  created_on: :createdOn,
  description: :description,
  enabled: :enabled,
  models_count: :modelsCount,
  name: :name,
  tags: :tags,
  type: :type,
  updated_by: :updatedBy,
  updated_on: :updatedOn,
  apis: :apis
}.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 = {}) ⇒ Integration

Returns a new instance of Integration.



52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# File 'lib/conductor/http/models/integration.rb', line 52

def initialize(params = {})
  @category = params[:category]
  @configuration = params[:configuration]
  @created_by = params[:created_by]
  @created_on = params[:created_on]
  @description = params[:description]
  @enabled = params[:enabled]
  @models_count = params[:models_count]
  @name = params[:name]
  @tags = params[:tags]
  @type = params[:type]
  @updated_by = params[:updated_by]
  @updated_on = params[:updated_on]
  @apis = params[:apis]
end

Instance Attribute Details

#apisObject

Returns the value of attribute apis.



48
49
50
# File 'lib/conductor/http/models/integration.rb', line 48

def apis
  @apis
end

#categoryObject

Returns the value of attribute category.



48
49
50
# File 'lib/conductor/http/models/integration.rb', line 48

def category
  @category
end

#configurationObject

Returns the value of attribute configuration.



48
49
50
# File 'lib/conductor/http/models/integration.rb', line 48

def configuration
  @configuration
end

#created_byObject

Returns the value of attribute created_by.



48
49
50
# File 'lib/conductor/http/models/integration.rb', line 48

def created_by
  @created_by
end

#created_onObject

Returns the value of attribute created_on.



48
49
50
# File 'lib/conductor/http/models/integration.rb', line 48

def created_on
  @created_on
end

#descriptionObject

Returns the value of attribute description.



48
49
50
# File 'lib/conductor/http/models/integration.rb', line 48

def description
  @description
end

#enabledObject

Returns the value of attribute enabled.



48
49
50
# File 'lib/conductor/http/models/integration.rb', line 48

def enabled
  @enabled
end

#models_countObject

Returns the value of attribute models_count.



48
49
50
# File 'lib/conductor/http/models/integration.rb', line 48

def models_count
  @models_count
end

#nameObject

Returns the value of attribute name.



48
49
50
# File 'lib/conductor/http/models/integration.rb', line 48

def name
  @name
end

#tagsObject

Returns the value of attribute tags.



48
49
50
# File 'lib/conductor/http/models/integration.rb', line 48

def tags
  @tags
end

#typeObject

Returns the value of attribute type.



48
49
50
# File 'lib/conductor/http/models/integration.rb', line 48

def type
  @type
end

#updated_byObject

Returns the value of attribute updated_by.



48
49
50
# File 'lib/conductor/http/models/integration.rb', line 48

def updated_by
  @updated_by
end

#updated_onObject

Returns the value of attribute updated_on.



48
49
50
# File 'lib/conductor/http/models/integration.rb', line 48

def updated_on
  @updated_on
end