Class: Azure::ARM::DevTestLabs::Models::SubscriptionNotification
- Inherits:
-
Object
- Object
- Azure::ARM::DevTestLabs::Models::SubscriptionNotification
- Includes:
- MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_devtestlabs/models/subscription_notification.rb
Overview
Model object.
Instance Attribute Summary collapse
- #properties ⇒ SubscriptionNotificationProperties
- #registration_date ⇒ String
-
#state ⇒ SubscriptionNotificationState
‘NotDefined’, ‘Registered’, ‘Unregistered’, ‘Warned’, ‘Suspended’, ‘Deleted’.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for SubscriptionNotification class as Ruby Hash.
Instance Attribute Details
#properties ⇒ SubscriptionNotificationProperties
25 26 27 |
# File 'lib/generated/azure_mgmt_devtestlabs/models/subscription_notification.rb', line 25 def properties @properties end |
#registration_date ⇒ String
17 18 19 |
# File 'lib/generated/azure_mgmt_devtestlabs/models/subscription_notification.rb', line 17 def registration_date @registration_date end |
#state ⇒ SubscriptionNotificationState
‘NotDefined’, ‘Registered’, ‘Unregistered’, ‘Warned’, ‘Suspended’, ‘Deleted’
22 23 24 |
# File 'lib/generated/azure_mgmt_devtestlabs/models/subscription_notification.rb', line 22 def state @state end |
Class Method Details
.mapper ⇒ Object
Mapper for SubscriptionNotification class as Ruby Hash. This will be used for serialization/deserialization.
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 |
# File 'lib/generated/azure_mgmt_devtestlabs/models/subscription_notification.rb', line 32 def self.mapper() { required: false, serialized_name: 'SubscriptionNotification', type: { name: 'Composite', class_name: 'SubscriptionNotification', model_properties: { registration_date: { required: false, serialized_name: 'registrationDate', type: { name: 'String' } }, state: { required: false, serialized_name: 'state', type: { name: 'String' } }, properties: { required: false, serialized_name: 'properties', type: { name: 'Composite', class_name: 'SubscriptionNotificationProperties' } } } } } end |