Class: Conductor::Http::Models::IntegrationApiUpdate
- 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
-
#configuration ⇒ Object
Returns the value of attribute configuration.
-
#description ⇒ Object
Returns the value of attribute description.
-
#enabled ⇒ Object
Returns the value of attribute enabled.
-
#frequency ⇒ Object
Returns the value of attribute frequency.
-
#max_tokens ⇒ Object
Returns the value of attribute max_tokens.
Instance Method Summary collapse
-
#initialize(params = {}) ⇒ IntegrationApiUpdate
constructor
A new instance of IntegrationApiUpdate.
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
#configuration ⇒ Object
Returns the value of attribute configuration.
31 32 33 |
# File 'lib/conductor/http/models/integration_api_update.rb', line 31 def configuration @configuration end |
#description ⇒ Object
Returns the value of attribute description.
31 32 33 |
# File 'lib/conductor/http/models/integration_api_update.rb', line 31 def description @description end |
#enabled ⇒ Object
Returns the value of attribute enabled.
31 32 33 |
# File 'lib/conductor/http/models/integration_api_update.rb', line 31 def enabled @enabled end |
#frequency ⇒ Object
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_tokens ⇒ Object
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 |