Class: Azure::Logic::Mgmt::V2018_07_01_preview::Models::JsonSchema
- Inherits:
-
Object
- Object
- Azure::Logic::Mgmt::V2018_07_01_preview::Models::JsonSchema
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-07-01-preview/generated/azure_mgmt_logic/models/json_schema.rb
Overview
The JSON schema.
Instance Attribute Summary collapse
-
#content ⇒ String
The JSON content.
-
#title ⇒ String
The JSON title.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for JsonSchema class as Ruby Hash.
Instance Attribute Details
#content ⇒ String
Returns The JSON content.
19 20 21 |
# File 'lib/2018-07-01-preview/generated/azure_mgmt_logic/models/json_schema.rb', line 19 def content @content end |
#title ⇒ String
Returns The JSON title.
16 17 18 |
# File 'lib/2018-07-01-preview/generated/azure_mgmt_logic/models/json_schema.rb', line 16 def title @title end |
Class Method Details
.mapper ⇒ Object
Mapper for JsonSchema class as Ruby Hash. This will be used for serialization/deserialization.
26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 |
# File 'lib/2018-07-01-preview/generated/azure_mgmt_logic/models/json_schema.rb', line 26 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'JsonSchema', type: { name: 'Composite', class_name: 'JsonSchema', model_properties: { title: { client_side_validation: true, required: false, serialized_name: 'title', type: { name: 'String' } }, content: { client_side_validation: true, required: false, serialized_name: 'content', type: { name: 'String' } } } } } end |