class Azure::EventGrid::V2018_01_01::Models::SubscriptionValidationResponse

To complete an event subscription validation handshake, a subscriber can use either the validationCode or the validationUrl received in a SubscriptionValidationEvent. When the validationCode is used, the SubscriptionValidationResponse can be used to build the response.

Attributes

validation_response[RW]

@return [String] The validation response sent by the subscriber to Azure Event Grid to complete the validation of an event subscription.

Private Class Methods

mapper() click to toggle source

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

# File lib/2018-01-01/generated/azure_event_grid/models/subscription_validation_response.rb, line 27
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'SubscriptionValidationResponse',
    type: {
      name: 'Composite',
      class_name: 'SubscriptionValidationResponse',
      model_properties: {
        validation_response: {
          client_side_validation: true,
          required: false,
          serialized_name: 'validationResponse',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end