Source code for azure.keyvault.models.certificate_operation_update_parameter_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 CertificateOperationUpdateParameter(Model): """The certificate operation update parameters. All required parameters must be populated in order to send to Azure. :param cancellation_requested: Required. Indicates if cancellation was requested on the certificate operation. :type cancellation_requested: bool """ _validation = { 'cancellation_requested': {'required': True}, } _attribute_map = { 'cancellation_requested': {'key': 'cancellation_requested', 'type': 'bool'}, } def __init__(self, *, cancellation_requested: bool, **kwargs) -> None: super(CertificateOperationUpdateParameter, self).__init__(**kwargs) self.cancellation_requested = cancellation_requested