Class: Azure::Automation::Mgmt::V2015_10_31::Models::Webhook
- Inherits:
-
ProxyResource
- Object
- Resource
- ProxyResource
- Azure::Automation::Mgmt::V2015_10_31::Models::Webhook
- Includes:
- MsRestAzure
- Defined in:
- lib/2015-10-31/generated/azure_mgmt_automation/models/webhook.rb
Overview
Definition of the webhook type.
Instance Attribute Summary collapse
-
#creation_time ⇒ DateTime
Gets or sets the creation time.
-
#description ⇒ String
Gets or sets the description.
-
#expiry_time ⇒ DateTime
Gets or sets the expiry time.
-
#is_enabled ⇒ Boolean
webhook.
-
#last_invoked_time ⇒ DateTime
Gets or sets the last invoked time.
-
#last_modified_by ⇒ String
Details of the user who last modified the Webhook.
-
#last_modified_time ⇒ DateTime
Gets or sets the last modified time.
-
#parameters ⇒ Hash{String => String}
that is created when the webhook calls the runbook it is associated with.
-
#run_on ⇒ String
webhook job will run on.
-
#runbook ⇒ RunbookAssociationProperty
webhook is associated with.
-
#uri ⇒ String
Gets or sets the webhook uri.
Attributes inherited from Resource
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for Webhook class as Ruby Hash.
Methods inherited from Resource
Instance Attribute Details
#creation_time ⇒ DateTime
Returns Gets or sets the creation time.
42 43 44 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/webhook.rb', line 42 def creation_time @creation_time end |
#description ⇒ String
Returns Gets or sets the description.
51 52 53 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/webhook.rb', line 51 def description @description end |
#expiry_time ⇒ DateTime
Returns Gets or sets the expiry time.
23 24 25 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/webhook.rb', line 23 def expiry_time @expiry_time end |
#is_enabled ⇒ Boolean
webhook. Default value: false .
17 18 19 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/webhook.rb', line 17 def is_enabled @is_enabled end |
#last_invoked_time ⇒ DateTime
Returns Gets or sets the last invoked time.
26 27 28 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/webhook.rb', line 26 def last_invoked_time @last_invoked_time end |
#last_modified_by ⇒ String
Returns Details of the user who last modified the Webhook.
48 49 50 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/webhook.rb', line 48 def last_modified_by @last_modified_by end |
#last_modified_time ⇒ DateTime
Returns Gets or sets the last modified time.
45 46 47 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/webhook.rb', line 45 def last_modified_time @last_modified_time end |
#parameters ⇒ Hash{String => String}
that is created when the webhook calls the runbook it is associated with.
31 32 33 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/webhook.rb', line 31 def parameters @parameters end |
#run_on ⇒ String
webhook job will run on.
39 40 41 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/webhook.rb', line 39 def run_on @run_on end |
#runbook ⇒ RunbookAssociationProperty
webhook is associated with.
35 36 37 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/webhook.rb', line 35 def runbook @runbook end |
#uri ⇒ String
Returns Gets or sets the webhook uri.
20 21 22 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/webhook.rb', line 20 def uri @uri end |
Class Method Details
.mapper ⇒ Object
Mapper for Webhook class as Ruby Hash. This will be used for serialization/deserialization.
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 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/webhook.rb', line 58 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Webhook', type: { name: 'Composite', class_name: 'Webhook', 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' } }, is_enabled: { client_side_validation: true, required: false, serialized_name: 'properties.isEnabled', default_value: false, 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' } }, last_invoked_time: { client_side_validation: true, required: false, serialized_name: 'properties.lastInvokedTime', 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' } }, creation_time: { client_side_validation: true, required: false, serialized_name: 'properties.creationTime', type: { name: 'DateTime' } }, last_modified_time: { client_side_validation: true, required: false, serialized_name: 'properties.lastModifiedTime', type: { name: 'DateTime' } }, last_modified_by: { client_side_validation: true, required: false, serialized_name: 'properties.lastModifiedBy', type: { name: 'String' } }, description: { client_side_validation: true, required: false, serialized_name: 'properties.description', type: { name: 'String' } } } } } end |