Class: Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::Trigger
- Inherits:
-
ARMBaseModel
- Object
- ARMBaseModel
- Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::Trigger
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-08-01/generated/azure_mgmt_databoxedge/models/trigger.rb
Overview
Trigger details.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#kind ⇒ Object
Returns the value of attribute kind.
Attributes inherited from ARMBaseModel
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for Trigger class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ Trigger
constructor
A new instance of Trigger.
Constructor Details
#initialize ⇒ Trigger
Returns a new instance of Trigger.
16 17 18 |
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/trigger.rb', line 16 def initialize @kind = "Trigger" end |
Instance Attribute Details
#kind ⇒ Object
Returns the value of attribute kind.
20 21 22 |
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/trigger.rb', line 20 def kind @kind end |
Class Method Details
.mapper ⇒ Object
Mapper for Trigger class as Ruby Hash. This will be used for serialization/deserialization.
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 |
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/trigger.rb', line 27 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Trigger', type: { name: 'Composite', polymorphic_discriminator: 'kind', uber_parent: 'ARMBaseModel', class_name: 'Trigger', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } } } } } end |