class Azure::ServiceFabric::V6_3_0_9::Models::RepairTaskDeleteDescription

Describes a request to delete a completed repair task.

This type supports the Service Fabric platform; it is not meant to be used directly from your code.

Attributes

task_id[RW]

@return [String] The ID of the completed repair task to be deleted.

version[RW]

@return [String] The current version number of the repair task. If non-zero, then the request will only succeed if this value matches the actual current version of the repair task. If zero, then no version check is performed.

Public Class Methods

mapper() click to toggle source

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

# File lib/6.3.0.9/generated/azure_service_fabric/models/repair_task_delete_description.rb, line 32
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'RepairTaskDeleteDescription',
    type: {
      name: 'Composite',
      class_name: 'RepairTaskDeleteDescription',
      model_properties: {
        task_id: {
          client_side_validation: true,
          required: true,
          serialized_name: 'TaskId',
          type: {
            name: 'String'
          }
        },
        version: {
          client_side_validation: true,
          required: false,
          serialized_name: 'Version',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end