Class: Azure::ApiManagement::Mgmt::V2019_12_01::Models::RecipientsContractProperties
- Inherits:
-
Object
- Object
- Azure::ApiManagement::Mgmt::V2019_12_01::Models::RecipientsContractProperties
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-12-01/generated/azure_mgmt_api_management/models/recipients_contract_properties.rb
Overview
Notification Parameter contract.
Instance Attribute Summary collapse
-
#emails ⇒ Array<String>
List of Emails subscribed for the notification.
-
#users ⇒ Array<String>
List of Users subscribed for the notification.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for RecipientsContractProperties class as Ruby Hash.
Instance Attribute Details
#emails ⇒ Array<String>
Returns List of Emails subscribed for the notification.
16 17 18 |
# File 'lib/2019-12-01/generated/azure_mgmt_api_management/models/recipients_contract_properties.rb', line 16 def emails @emails end |
#users ⇒ Array<String>
Returns List of Users subscribed for the notification.
19 20 21 |
# File 'lib/2019-12-01/generated/azure_mgmt_api_management/models/recipients_contract_properties.rb', line 19 def users @users end |
Class Method Details
.mapper ⇒ Object
Mapper for RecipientsContractProperties 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 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 |
# File 'lib/2019-12-01/generated/azure_mgmt_api_management/models/recipients_contract_properties.rb', line 26 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'RecipientsContractProperties', type: { name: 'Composite', class_name: 'RecipientsContractProperties', model_properties: { emails: { client_side_validation: true, required: false, serialized_name: 'emails', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, users: { client_side_validation: true, required: false, serialized_name: 'users', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } } } } } end |