Class: Azure::Automation::Mgmt::V2015_10_31::Models::WebhookCreateOrUpdateParameters
- Inherits:
-
Object
- Object
- Azure::Automation::Mgmt::V2015_10_31::Models::WebhookCreateOrUpdateParameters
- Includes:
- MsRestAzure
- Defined in:
- lib/2015-10-31/generated/azure_mgmt_automation/models/webhook_create_or_update_parameters.rb
Overview
The parameters supplied to the create or update webhook operation.
Instance Attribute Summary collapse
-
#expiry_time ⇒ DateTime
Gets or sets the expiry time.
-
#is_enabled ⇒ Boolean
webhook.
-
#name ⇒ String
Gets or sets the name of the webhook.
-
#parameters ⇒ Hash{String => String}
job.
-
#run_on ⇒ String
webhook job will run on.
-
#runbook ⇒ RunbookAssociationProperty
Gets or sets the runbook.
-
#uri ⇒ String
Gets or sets the uri.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for WebhookCreateOrUpdateParameters class as Ruby Hash.
Instance Attribute Details
#expiry_time ⇒ DateTime
Returns Gets or sets the expiry time.
26 27 28 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/webhook_create_or_update_parameters.rb', line 26 def expiry_time @expiry_time end |
#is_enabled ⇒ Boolean
webhook.
20 21 22 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/webhook_create_or_update_parameters.rb', line 20 def is_enabled @is_enabled end |
#name ⇒ String
Returns Gets or sets the name of the webhook.
16 17 18 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/webhook_create_or_update_parameters.rb', line 16 def name @name end |
#parameters ⇒ Hash{String => String}
job.
30 31 32 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/webhook_create_or_update_parameters.rb', line 30 def parameters @parameters end |
#run_on ⇒ String
webhook job will run on.
37 38 39 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/webhook_create_or_update_parameters.rb', line 37 def run_on @run_on end |
#runbook ⇒ RunbookAssociationProperty
Returns Gets or sets the runbook.
33 34 35 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/webhook_create_or_update_parameters.rb', line 33 def runbook @runbook end |
#uri ⇒ String
Returns Gets or sets the uri.
23 24 25 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/webhook_create_or_update_parameters.rb', line 23 def uri @uri end |
Class Method Details
.mapper ⇒ Object
Mapper for WebhookCreateOrUpdateParameters class as Ruby Hash. This will be used for serialization/deserialization.
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 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/webhook_create_or_update_parameters.rb', line 44 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'WebhookCreateOrUpdateParameters', type: { name: 'Composite', class_name: 'WebhookCreateOrUpdateParameters', model_properties: { name: { client_side_validation: true, required: true, serialized_name: 'name', type: { name: 'String' } }, is_enabled: { client_side_validation: true, required: false, serialized_name: 'properties.isEnabled', type: { name: 'Boolean' } }, uri: { client_side_validation: true, required: false, serialized_name: 'properties.uri', type: { name: 'String' } }, expiry_time: { client_side_validation: true, required: false, serialized_name: 'properties.expiryTime', type: { name: 'DateTime' } }, parameters: { client_side_validation: true, required: false, serialized_name: 'properties.parameters', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, runbook: { client_side_validation: true, required: false, serialized_name: 'properties.runbook', type: { name: 'Composite', class_name: 'RunbookAssociationProperty' } }, run_on: { client_side_validation: true, required: false, serialized_name: 'properties.runOn', type: { name: 'String' } } } } } end |