Class: Conductor::Http::Models::IntegrationApiUpdate

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

Overview

IntegrationApiUpdate model - request to create/update an integration API

Constant Summary collapse

SWAGGER_TYPES =
{
  configuration: 'Hash<String, Object>',
  description: 'String',
  enabled: 'Boolean',
  max_tokens: 'Integer',
  frequency: 'String'
}.freeze
ATTRIBUTE_MAP =
{
  configuration: :configuration,
  description: :description,
  enabled: :enabled,
  max_tokens: :maxTokens,
  frequency: :frequency
}.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 = {}) ⇒ IntegrationApiUpdate

Returns a new instance of IntegrationApiUpdate.



33
34
35
36
37
38
39
# File 'lib/conductor/http/models/integration_api_update.rb', line 33

def initialize(params = {})
  @configuration = params[:configuration]
  @description = params[:description]
  @enabled = params[:enabled]
  @max_tokens = params[:max_tokens]
  @frequency = params[:frequency]
end

Instance Attribute Details

#configurationObject

Returns the value of attribute configuration.



31
32
33
# File 'lib/conductor/http/models/integration_api_update.rb', line 31

def configuration
  @configuration
end

#descriptionObject

Returns the value of attribute description.



31
32
33
# File 'lib/conductor/http/models/integration_api_update.rb', line 31

def description
  @description
end

#enabledObject

Returns the value of attribute enabled.



31
32
33
# File 'lib/conductor/http/models/integration_api_update.rb', line 31

def enabled
  @enabled
end

#frequencyObject

Returns the value of attribute frequency.



31
32
33
# File 'lib/conductor/http/models/integration_api_update.rb', line 31

def frequency
  @frequency
end

#max_tokensObject

Returns the value of attribute max_tokens.



31
32
33
# File 'lib/conductor/http/models/integration_api_update.rb', line 31

def max_tokens
  @max_tokens
end