Source code for azure.mgmt.scheduler.models.job_state_filter_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 JobStateFilter(Model): """JobStateFilter. :param state: Gets or sets the job state. Possible values include: 'Enabled', 'Disabled', 'Faulted', 'Completed' :type state: str or ~azure.mgmt.scheduler.models.JobState """ _attribute_map = { 'state': {'key': 'state', 'type': 'JobState'}, } def __init__(self, *, state=None, **kwargs) -> None: super(JobStateFilter, self).__init__(**kwargs) self.state = state