Source code for azure.mgmt.recoveryservicesbackup.models.inquiry_validation_py3

# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------

from msrest.serialization import Model


[docs]class InquiryValidation(Model): """Validation for inquired protectable items under a given container. :param status: Status for the Inquiry Validation. :type status: str :param error_detail: Error Detail in case the status is non-success. :type error_detail: ~azure.mgmt.recoveryservicesbackup.models.ErrorDetail """ _attribute_map = { 'status': {'key': 'status', 'type': 'str'}, 'error_detail': {'key': 'errorDetail', 'type': 'ErrorDetail'}, } def __init__(self, *, status: str=None, error_detail=None, **kwargs) -> None: super(InquiryValidation, self).__init__(**kwargs) self.status = status self.error_detail = error_detail