Class: Azure::ApiManagement::Mgmt::V2018_01_01::Models::EmailTemplateParametersContractProperties
- Inherits:
-
Object
- Object
- Azure::ApiManagement::Mgmt::V2018_01_01::Models::EmailTemplateParametersContractProperties
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-01-01/generated/azure_mgmt_api_management/models/email_template_parameters_contract_properties.rb
Overview
Email Template Parameter contract.
Instance Attribute Summary collapse
-
#description ⇒ String
Template parameter description.
-
#name ⇒ String
Template parameter name.
-
#title ⇒ String
Template parameter title.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for EmailTemplateParametersContractProperties class as Ruby Hash.
Instance Attribute Details
#description ⇒ String
Returns Template parameter description.
22 23 24 |
# File 'lib/2018-01-01/generated/azure_mgmt_api_management/models/email_template_parameters_contract_properties.rb', line 22 def description @description end |
#name ⇒ String
Returns Template parameter name.
16 17 18 |
# File 'lib/2018-01-01/generated/azure_mgmt_api_management/models/email_template_parameters_contract_properties.rb', line 16 def name @name end |
#title ⇒ String
Returns Template parameter title.
19 20 21 |
# File 'lib/2018-01-01/generated/azure_mgmt_api_management/models/email_template_parameters_contract_properties.rb', line 19 def title @title end |
Class Method Details
.mapper ⇒ Object
Mapper for EmailTemplateParametersContractProperties class as Ruby Hash. This will be used for serialization/deserialization.
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 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 |
# File 'lib/2018-01-01/generated/azure_mgmt_api_management/models/email_template_parameters_contract_properties.rb', line 30 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'EmailTemplateParametersContractProperties', type: { name: 'Composite', class_name: 'EmailTemplateParametersContractProperties', model_properties: { name: { client_side_validation: true, required: false, serialized_name: 'name', constraints: { MaxLength: 256, MinLength: 1, Pattern: '^[A-Za-z0-9-._]+$' }, type: { name: 'String' } }, title: { client_side_validation: true, required: false, serialized_name: 'title', constraints: { MaxLength: 4096, MinLength: 1 }, type: { name: 'String' } }, description: { client_side_validation: true, required: false, serialized_name: 'description', constraints: { MaxLength: 256, MinLength: 1, Pattern: '^[A-Za-z0-9-._]+$' }, type: { name: 'String' } } } } } end |