Sha256: e5ff76fb38b14d9492ef089d49271feaee27e95448449c4250351395b480e21e

Contents?: true

Size: 1.81 KB

Versions: 3

Compression:

Stored size: 1.81 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::ServiceFabric::V6_5_0_36
  module Models
    #
    # 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.
    #
    class RepairTaskDeleteDescription

      include MsRestAzure

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

      # @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.
      attr_accessor :version


      #
      # Mapper for RepairTaskDeleteDescription class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      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
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
azure_service_fabric-0.18.1 lib/6.5.0.36/generated/azure_service_fabric/models/repair_task_delete_description.rb
azure_service_fabric-0.18.0 lib/6.5.0.36/generated/azure_service_fabric/models/repair_task_delete_description.rb
azure_service_fabric-0.17.2 lib/6.5.0.36/generated/azure_service_fabric/models/repair_task_delete_description.rb