1# coding=utf-8
2# --------------------------------------------------------------------------
3# Copyright (c) Microsoft Corporation. All rights reserved.
4# Licensed under the MIT License. See License.txt in the project root for
5# license information.
6#
7# Code generated by Microsoft (R) AutoRest Code Generator.
8# Changes may cause incorrect behavior and will be lost if the code is
9# regenerated.
10# --------------------------------------------------------------------------
11
12from msrest.serialization import Model
13
14
15class CertificateOperationUpdateParameter(Model):
16    """The certificate operation update parameters.
17
18    All required parameters must be populated in order to send to Azure.
19
20    :param cancellation_requested: Required. Indicates if cancellation was
21     requested on the certificate operation.
22    :type cancellation_requested: bool
23    """
24
25    _validation = {
26        'cancellation_requested': {'required': True},
27    }
28
29    _attribute_map = {
30        'cancellation_requested': {'key': 'cancellation_requested', 'type': 'bool'},
31    }
32
33    def __init__(self, **kwargs):
34        super(CertificateOperationUpdateParameter, self).__init__(**kwargs)
35        self.cancellation_requested = kwargs.get('cancellation_requested', None)
36