Class: Conductor::Http::Models::IntegrationApi

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

Overview

IntegrationApi model - represents an API/model within an integration provider

Constant Summary collapse

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

Returns a new instance of IntegrationApi.



38
39
40
41
42
43
44
45
46
47
48
49
# File 'lib/conductor/http/models/integration_api.rb', line 38

def initialize(params = {})
  @api = params[:api]
  @configuration = params[:configuration]
  @created_by = params[:created_by]
  @created_on = params[:created_on]
  @description = params[:description]
  @enabled = params[:enabled]
  @integration_name = params[:integration_name]
  @tags = params[:tags]
  @updated_by = params[:updated_by]
  @updated_on = params[:updated_on]
end

Instance Attribute Details

#apiObject

Returns the value of attribute api.



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

def api
  @api
end

#configurationObject

Returns the value of attribute configuration.



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

def configuration
  @configuration
end

#created_byObject

Returns the value of attribute created_by.



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

def created_by
  @created_by
end

#created_onObject

Returns the value of attribute created_on.



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

def created_on
  @created_on
end

#descriptionObject

Returns the value of attribute description.



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

def description
  @description
end

#enabledObject

Returns the value of attribute enabled.



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

def enabled
  @enabled
end

#integration_nameObject

Returns the value of attribute integration_name.



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

def integration_name
  @integration_name
end

#tagsObject

Returns the value of attribute tags.



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

def tags
  @tags
end

#updated_byObject

Returns the value of attribute updated_by.



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

def updated_by
  @updated_by
end

#updated_onObject

Returns the value of attribute updated_on.



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

def updated_on
  @updated_on
end