Class: Azure::ServiceFabric::V6_5_0_36::Models::RepairTaskApproveDescription
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::V6_5_0_36::Models::RepairTaskApproveDescription
- Includes:
- MsRestAzure
- Defined in:
- lib/6.5.0.36/generated/azure_service_fabric/models/repair_task_approve_description.rb
Overview
Describes a request for forced approval of a repair task.
This type supports the Service Fabric platform; it is not meant to be used directly from your code.
Instance Attribute Summary collapse
-
#task_id ⇒ String
The ID of the repair task.
-
#version ⇒ String
non-zero, then the request will only succeed if this value matches the actual current version of the repair task.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for RepairTaskApproveDescription class as Ruby Hash.
Instance Attribute Details
#task_id ⇒ String
Returns The ID of the repair task.
19 20 21 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/repair_task_approve_description.rb', line 19 def task_id @task_id end |
#version ⇒ String
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.
25 26 27 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/repair_task_approve_description.rb', line 25 def version @version end |
Class Method Details
.mapper ⇒ Object
Mapper for RepairTaskApproveDescription class as Ruby Hash. This will be used for serialization/deserialization.
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/repair_task_approve_description.rb', line 32 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'RepairTaskApproveDescription', type: { name: 'Composite', class_name: 'RepairTaskApproveDescription', 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 |