Class: Azure::RecoveryServicesBackup::Mgmt::V2019_05_13::Models::OperationWorkerResponse
- Inherits:
-
Object
- Object
- Azure::RecoveryServicesBackup::Mgmt::V2019_05_13::Models::OperationWorkerResponse
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-05-13/generated/azure_mgmt_recovery_services_backup/models/operation_worker_response.rb
Overview
This is the base class for operation result responses.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#headers ⇒ Hash{String => Array<String>}
this operation.
-
#status_code ⇒ HttpStatusCode
values include: ‘Continue’, ‘SwitchingProtocols’, ‘OK’, ‘Created’, ‘Accepted’, ‘NonAuthoritativeInformation’, ‘NoContent’, ‘ResetContent’, ‘PartialContent’, ‘MultipleChoices’, ‘Ambiguous’, ‘MovedPermanently’, ‘Moved’, ‘Found’, ‘Redirect’, ‘SeeOther’, ‘RedirectMethod’, ‘NotModified’, ‘UseProxy’, ‘Unused’, ‘TemporaryRedirect’, ‘RedirectKeepVerb’, ‘BadRequest’, ‘Unauthorized’, ‘PaymentRequired’, ‘Forbidden’, ‘NotFound’, ‘MethodNotAllowed’, ‘NotAcceptable’, ‘ProxyAuthenticationRequired’, ‘RequestTimeout’, ‘Conflict’, ‘Gone’, ‘LengthRequired’, ‘PreconditionFailed’, ‘RequestEntityTooLarge’, ‘RequestUriTooLong’, ‘UnsupportedMediaType’, ‘RequestedRangeNotSatisfiable’, ‘ExpectationFailed’, ‘UpgradeRequired’, ‘InternalServerError’, ‘NotImplemented’, ‘BadGateway’, ‘ServiceUnavailable’, ‘GatewayTimeout’, ‘HttpVersionNotSupported’.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for OperationWorkerResponse class as Ruby Hash.
Instance Attribute Details
#headers ⇒ Hash{String => Array<String>}
this operation.
33 34 35 |
# File 'lib/2019-05-13/generated/azure_mgmt_recovery_services_backup/models/operation_worker_response.rb', line 33 def headers @headers end |
#status_code ⇒ HttpStatusCode
values include: ‘Continue’, ‘SwitchingProtocols’, ‘OK’, ‘Created’, ‘Accepted’, ‘NonAuthoritativeInformation’, ‘NoContent’, ‘ResetContent’, ‘PartialContent’, ‘MultipleChoices’, ‘Ambiguous’, ‘MovedPermanently’, ‘Moved’, ‘Found’, ‘Redirect’, ‘SeeOther’, ‘RedirectMethod’, ‘NotModified’, ‘UseProxy’, ‘Unused’, ‘TemporaryRedirect’, ‘RedirectKeepVerb’, ‘BadRequest’, ‘Unauthorized’, ‘PaymentRequired’, ‘Forbidden’, ‘NotFound’, ‘MethodNotAllowed’, ‘NotAcceptable’, ‘ProxyAuthenticationRequired’, ‘RequestTimeout’, ‘Conflict’, ‘Gone’, ‘LengthRequired’, ‘PreconditionFailed’, ‘RequestEntityTooLarge’, ‘RequestUriTooLong’, ‘UnsupportedMediaType’, ‘RequestedRangeNotSatisfiable’, ‘ExpectationFailed’, ‘UpgradeRequired’, ‘InternalServerError’, ‘NotImplemented’, ‘BadGateway’, ‘ServiceUnavailable’, ‘GatewayTimeout’, ‘HttpVersionNotSupported’
29 30 31 |
# File 'lib/2019-05-13/generated/azure_mgmt_recovery_services_backup/models/operation_worker_response.rb', line 29 def status_code @status_code end |
Class Method Details
.mapper ⇒ Object
Mapper for OperationWorkerResponse class as Ruby Hash. This will be used for serialization/deserialization.
40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 |
# File 'lib/2019-05-13/generated/azure_mgmt_recovery_services_backup/models/operation_worker_response.rb', line 40 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'OperationWorkerResponse', type: { name: 'Composite', class_name: 'OperationWorkerResponse', model_properties: { status_code: { client_side_validation: true, required: false, serialized_name: 'statusCode', type: { name: 'Enum', module: 'HttpStatusCode' } }, headers: { client_side_validation: true, required: false, serialized_name: 'headers', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'ArrayElementType', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } } } } } } } end |