class Azure::Automation::Mgmt::V2015_10_31::Models::WebhookUpdateParameters

The parameters supplied to the update webhook operation.

Attributes

description[RW]

@return [String] Gets or sets the description of the webhook.

is_enabled[RW]

@return [Boolean] Gets or sets the value of the enabled flag of webhook.

name[RW]

@return [String] Gets or sets the name of the webhook.

parameters[RW]

@return [Hash{String => String}] Gets or sets the parameters of the job.

run_on[RW]

@return [String] Gets or sets the name of the hybrid worker group the webhook job will run on.

Private Class Methods

mapper() click to toggle source

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

# 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