# coding=utf-8
# --------------------------------------------------------------------------
# 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


class DesiredState(Model):
    """DesiredState.

    :param code: Status code for the operation.
    :type code: int
    :param version: Version of the desired value received.
    :type version: long
    :param description: Description of the status.
    :type description: str
    """

    _attribute_map = {
        "code": {"key": "code", "type": "int"},
        "version": {"key": "version", "type": "long"},
        "description": {"key": "description", "type": "str"},
    }

    def __init__(self, **kwargs):
        super(DesiredState, self).__init__(**kwargs)
        self.code = kwargs.get("code", None)
        self.version = kwargs.get("version", None)
        self.description = kwargs.get("description", None)
