Class: Conductor::Http::Models::SchemaDef
- Defined in:
- lib/conductor/http/models/schema_def.rb
Overview
SchemaDef model - JSON/Avro/Protobuf schema definition
Constant Summary collapse
- SWAGGER_TYPES =
{ owner_app: 'String', create_time: 'Integer', update_time: 'Integer', created_by: 'String', updated_by: 'String', name: 'String', version: 'Integer', type: 'String', data: 'Hash<String, Object>', external_ref: 'String' }.freeze
- ATTRIBUTE_MAP =
{ owner_app: :ownerApp, create_time: :createTime, update_time: :updateTime, created_by: :createdBy, updated_by: :updatedBy, name: :name, version: :version, type: :type, data: :data, external_ref: :externalRef }.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.
-
#data ⇒ Object
Returns the value of attribute data.
-
#external_ref ⇒ Object
Returns the value of attribute external_ref.
-
#name ⇒ Object
Returns the value of attribute name.
-
#owner_app ⇒ Object
Returns the value of attribute owner_app.
-
#type ⇒ Object
Returns the value of attribute type.
-
#update_time ⇒ Object
Returns the value of attribute update_time.
-
#updated_by ⇒ Object
Returns the value of attribute updated_by.
-
#version ⇒ Object
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize(params = {}) ⇒ SchemaDef
constructor
A new instance of SchemaDef.
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 = {}) ⇒ SchemaDef
Returns a new instance of SchemaDef.
44 45 46 47 48 49 50 51 52 53 54 55 |
# File 'lib/conductor/http/models/schema_def.rb', line 44 def initialize(params = {}) @owner_app = params[:owner_app] @create_time = params[:create_time] @update_time = params[:update_time] @created_by = params[:created_by] @updated_by = params[:updated_by] @name = params[:name] @version = params[:version] || 1 @type = params[:type] @data = params[:data] @external_ref = params[:external_ref] end |
Instance Attribute Details
#create_time ⇒ Object
Returns the value of attribute create_time.
41 42 43 |
# File 'lib/conductor/http/models/schema_def.rb', line 41 def create_time @create_time end |
#created_by ⇒ Object
Returns the value of attribute created_by.
41 42 43 |
# File 'lib/conductor/http/models/schema_def.rb', line 41 def created_by @created_by end |
#data ⇒ Object
Returns the value of attribute data.
41 42 43 |
# File 'lib/conductor/http/models/schema_def.rb', line 41 def data @data end |
#external_ref ⇒ Object
Returns the value of attribute external_ref.
41 42 43 |
# File 'lib/conductor/http/models/schema_def.rb', line 41 def external_ref @external_ref end |
#name ⇒ Object
Returns the value of attribute name.
41 42 43 |
# File 'lib/conductor/http/models/schema_def.rb', line 41 def name @name end |
#owner_app ⇒ Object
Returns the value of attribute owner_app.
41 42 43 |
# File 'lib/conductor/http/models/schema_def.rb', line 41 def owner_app @owner_app end |
#type ⇒ Object
Returns the value of attribute type.
41 42 43 |
# File 'lib/conductor/http/models/schema_def.rb', line 41 def type @type end |
#update_time ⇒ Object
Returns the value of attribute update_time.
41 42 43 |
# File 'lib/conductor/http/models/schema_def.rb', line 41 def update_time @update_time end |
#updated_by ⇒ Object
Returns the value of attribute updated_by.
41 42 43 |
# File 'lib/conductor/http/models/schema_def.rb', line 41 def updated_by @updated_by end |
#version ⇒ Object
Returns the value of attribute version.
41 42 43 |
# File 'lib/conductor/http/models/schema_def.rb', line 41 def version @version end |