Class: Azure::Automation::Mgmt::V2015_10_31::Models::WebhookUpdateParameters

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2015-10-31/generated/azure_mgmt_automation/models/webhook_update_parameters.rb

Overview

The parameters supplied to the update webhook operation.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#descriptionString

Returns Gets or sets the description of the webhook.

Returns:

  • (String)

    Gets or sets the description of the webhook.



31
32
33
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/webhook_update_parameters.rb', line 31

def description
  @description
end

#is_enabledBoolean

webhook.

Returns:

  • (Boolean)

    Gets or sets the value of the enabled flag of



20
21
22
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/webhook_update_parameters.rb', line 20

def is_enabled
  @is_enabled
end

#nameString

Returns Gets or sets the name of the webhook.

Returns:

  • (String)

    Gets or sets the name of the webhook.



16
17
18
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/webhook_update_parameters.rb', line 16

def name
  @name
end

#parametersHash{String => String}

job.

Returns:

  • (Hash{String => String})

    Gets or sets the parameters of the



28
29
30
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/webhook_update_parameters.rb', line 28

def parameters
  @parameters
end

#run_onString

webhook job will run on.

Returns:

  • (String)

    Gets or sets the name of the hybrid worker group the



24
25
26
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/webhook_update_parameters.rb', line 24

def run_on
  @run_on
end

Class Method Details

.mapperObject

Mapper for WebhookUpdateParameters class as Ruby Hash. This will be used for serialization/deserialization.



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
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
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/webhook_update_parameters.rb', line 38

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'WebhookUpdateParameters',
    type: {
      name: 'Composite',
      class_name: 'WebhookUpdateParameters',
      model_properties: {
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        is_enabled: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.isEnabled',
          type: {
            name: 'Boolean'
          }
        },
        run_on: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.runOn',
          type: {
            name: 'String'
          }
        },
        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'
                }
            }
          }
        },
        description: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.description',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end