Class: Conductor::Http::Models::PromptTemplate
- Defined in:
- lib/conductor/http/models/prompt_template.rb
Overview
PromptTemplate model - AI prompt template
Constant Summary collapse
- SWAGGER_TYPES =
{ created_by: 'String', create_time: 'Integer', description: 'String', integrations: 'Array<String>', name: 'String', owner_app: 'String', tags: 'Array<TagObject>', template: 'String', updated_by: 'String', update_time: 'Integer', variables: 'Array<String>', version: 'Integer' }.freeze
- ATTRIBUTE_MAP =
{ created_by: :createdBy, create_time: :createTime, description: :description, integrations: :integrations, name: :name, owner_app: :ownerApp, tags: :tags, template: :template, updated_by: :updatedBy, update_time: :updateTime, variables: :variables, version: :version }.freeze
Instance Attribute Summary collapse
-
#create_time ⇒ Object
Returns the value of attribute create_time.
-
#created_by ⇒ Object
Returns the value of attribute created_by.
-
#description ⇒ Object
Returns the value of attribute description.
-
#integrations ⇒ Object
Returns the value of attribute integrations.
-
#name ⇒ Object
Returns the value of attribute name.
-
#owner_app ⇒ Object
Returns the value of attribute owner_app.
-
#tags ⇒ Object
Returns the value of attribute tags.
-
#template ⇒ Object
Returns the value of attribute template.
-
#update_time ⇒ Object
Returns the value of attribute update_time.
-
#updated_by ⇒ Object
Returns the value of attribute updated_by.
-
#variables ⇒ Object
Returns the value of attribute variables.
-
#version ⇒ Object
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize(params = {}) ⇒ PromptTemplate
constructor
A new instance of PromptTemplate.
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 = {}) ⇒ PromptTemplate
Returns a new instance of PromptTemplate.
42 43 44 45 46 47 48 49 50 51 52 53 54 55 |
# File 'lib/conductor/http/models/prompt_template.rb', line 42 def initialize(params = {}) @created_by = params[:created_by] @create_time = params[:create_time] @description = params[:description] @integrations = params[:integrations] @name = params[:name] @owner_app = params[:owner_app] @tags = params[:tags] @template = params[:template] @updated_by = params[:updated_by] @update_time = params[:update_time] @variables = params[:variables] @version = params[:version] || 1 end |
Instance Attribute Details
#create_time ⇒ Object
Returns the value of attribute create_time.
38 39 40 |
# File 'lib/conductor/http/models/prompt_template.rb', line 38 def create_time @create_time end |
#created_by ⇒ Object
Returns the value of attribute created_by.
38 39 40 |
# File 'lib/conductor/http/models/prompt_template.rb', line 38 def created_by @created_by end |
#description ⇒ Object
Returns the value of attribute description.
38 39 40 |
# File 'lib/conductor/http/models/prompt_template.rb', line 38 def description @description end |
#integrations ⇒ Object
Returns the value of attribute integrations.
38 39 40 |
# File 'lib/conductor/http/models/prompt_template.rb', line 38 def integrations @integrations end |
#name ⇒ Object
Returns the value of attribute name.
38 39 40 |
# File 'lib/conductor/http/models/prompt_template.rb', line 38 def name @name end |
#owner_app ⇒ Object
Returns the value of attribute owner_app.
38 39 40 |
# File 'lib/conductor/http/models/prompt_template.rb', line 38 def owner_app @owner_app end |
#tags ⇒ Object
Returns the value of attribute tags.
38 39 40 |
# File 'lib/conductor/http/models/prompt_template.rb', line 38 def @tags end |
#template ⇒ Object
Returns the value of attribute template.
38 39 40 |
# File 'lib/conductor/http/models/prompt_template.rb', line 38 def template @template end |
#update_time ⇒ Object
Returns the value of attribute update_time.
38 39 40 |
# File 'lib/conductor/http/models/prompt_template.rb', line 38 def update_time @update_time end |
#updated_by ⇒ Object
Returns the value of attribute updated_by.
38 39 40 |
# File 'lib/conductor/http/models/prompt_template.rb', line 38 def updated_by @updated_by end |
#variables ⇒ Object
Returns the value of attribute variables.
38 39 40 |
# File 'lib/conductor/http/models/prompt_template.rb', line 38 def variables @variables end |
#version ⇒ Object
Returns the value of attribute version.
38 39 40 |
# File 'lib/conductor/http/models/prompt_template.rb', line 38 def version @version end |