# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft and contributors.  All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#
# See the License for the specific language governing permissions and
# limitations under the License.
#
# 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 JobStatus(Model):
    """JobStatus

    :param execution_count: Gets the number of times this job has executed.
    :type execution_count: int
    :param failure_count: Gets the number of times this job has failed.
    :type failure_count: int
    :param faulted_count: Gets the number of faulted occurrences (occurrences
     that were retried and failed as many times as the retry policy states).
    :type faulted_count: int
    :param last_execution_time: Gets the time the last occurrence executed in
     ISO-8601 format.  Could be empty if job has not run yet.
    :type last_execution_time: datetime
    :param next_execution_time: Gets the time of the next occurrence in
     ISO-8601 format. Could be empty if the job is completed.
    :type next_execution_time: datetime
    """ 

    _attribute_map = {
        'execution_count': {'key': 'executionCount', 'type': 'int'},
        'failure_count': {'key': 'failureCount', 'type': 'int'},
        'faulted_count': {'key': 'faultedCount', 'type': 'int'},
        'last_execution_time': {'key': 'lastExecutionTime', 'type': 'iso-8601'},
        'next_execution_time': {'key': 'nextExecutionTime', 'type': 'iso-8601'},
    }

    def __init__(self, execution_count=None, failure_count=None, faulted_count=None, last_execution_time=None, next_execution_time=None, **kwargs):
        self.execution_count = execution_count
        self.failure_count = failure_count
        self.faulted_count = faulted_count
        self.last_execution_time = last_execution_time
        self.next_execution_time = next_execution_time

9e1f7962e133640b0bb8fe350543868f36a6c0f5
<mask token>


class JobStatus(Model):
    <mask token>
    <mask token>

    def __init__(self, execution_count=None, failure_count=None,
        faulted_count=None, last_execution_time=None, next_execution_time=
        None, **kwargs):
        self.execution_count = execution_count
        self.failure_count = failure_count
        self.faulted_count = faulted_count
        self.last_execution_time = last_execution_time
        self.next_execution_time = next_execution_time

<mask token>


class JobStatus(Model):
    <mask token>
    _attribute_map = {'execution_count': {'key': 'executionCount', 'type':
        'int'}, 'failure_count': {'key': 'failureCount', 'type': 'int'},
        'faulted_count': {'key': 'faultedCount', 'type': 'int'},
        'last_execution_time': {'key': 'lastExecutionTime', 'type':
        'iso-8601'}, 'next_execution_time': {'key': 'nextExecutionTime',
        'type': 'iso-8601'}}

    def __init__(self, execution_count=None, failure_count=None,
        faulted_count=None, last_execution_time=None, next_execution_time=
        None, **kwargs):
        self.execution_count = execution_count
        self.failure_count = failure_count
        self.faulted_count = faulted_count
        self.last_execution_time = last_execution_time
        self.next_execution_time = next_execution_time

<mask token>


class JobStatus(Model):
    """JobStatus

    :param execution_count: Gets the number of times this job has executed.
    :type execution_count: int
    :param failure_count: Gets the number of times this job has failed.
    :type failure_count: int
    :param faulted_count: Gets the number of faulted occurrences (occurrences
     that were retried and failed as many times as the retry policy states).
    :type faulted_count: int
    :param last_execution_time: Gets the time the last occurrence executed in
     ISO-8601 format.  Could be empty if job has not run yet.
    :type last_execution_time: datetime
    :param next_execution_time: Gets the time of the next occurrence in
     ISO-8601 format. Could be empty if the job is completed.
    :type next_execution_time: datetime
    """
    _attribute_map = {'execution_count': {'key': 'executionCount', 'type':
        'int'}, 'failure_count': {'key': 'failureCount', 'type': 'int'},
        'faulted_count': {'key': 'faultedCount', 'type': 'int'},
        'last_execution_time': {'key': 'lastExecutionTime', 'type':
        'iso-8601'}, 'next_execution_time': {'key': 'nextExecutionTime',
        'type': 'iso-8601'}}

    def __init__(self, execution_count=None, failure_count=None,
        faulted_count=None, last_execution_time=None, next_execution_time=
        None, **kwargs):
        self.execution_count = execution_count
        self.failure_count = failure_count
        self.faulted_count = faulted_count
        self.last_execution_time = last_execution_time
        self.next_execution_time = next_execution_time

from msrest.serialization import Model


class JobStatus(Model):
    """JobStatus

    :param execution_count: Gets the number of times this job has executed.
    :type execution_count: int
    :param failure_count: Gets the number of times this job has failed.
    :type failure_count: int
    :param faulted_count: Gets the number of faulted occurrences (occurrences
     that were retried and failed as many times as the retry policy states).
    :type faulted_count: int
    :param last_execution_time: Gets the time the last occurrence executed in
     ISO-8601 format.  Could be empty if job has not run yet.
    :type last_execution_time: datetime
    :param next_execution_time: Gets the time of the next occurrence in
     ISO-8601 format. Could be empty if the job is completed.
    :type next_execution_time: datetime
    """
    _attribute_map = {'execution_count': {'key': 'executionCount', 'type':
        'int'}, 'failure_count': {'key': 'failureCount', 'type': 'int'},
        'faulted_count': {'key': 'faultedCount', 'type': 'int'},
        'last_execution_time': {'key': 'lastExecutionTime', 'type':
        'iso-8601'}, 'next_execution_time': {'key': 'nextExecutionTime',
        'type': 'iso-8601'}}

    def __init__(self, execution_count=None, failure_count=None,
        faulted_count=None, last_execution_time=None, next_execution_time=
        None, **kwargs):
        self.execution_count = execution_count
        self.failure_count = failure_count
        self.faulted_count = faulted_count
        self.last_execution_time = last_execution_time
        self.next_execution_time = next_execution_time

# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft and contributors.  All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#
# See the License for the specific language governing permissions and
# limitations under the License.
#
# 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 JobStatus(Model):
    """JobStatus

    :param execution_count: Gets the number of times this job has executed.
    :type execution_count: int
    :param failure_count: Gets the number of times this job has failed.
    :type failure_count: int
    :param faulted_count: Gets the number of faulted occurrences (occurrences
     that were retried and failed as many times as the retry policy states).
    :type faulted_count: int
    :param last_execution_time: Gets the time the last occurrence executed in
     ISO-8601 format.  Could be empty if job has not run yet.
    :type last_execution_time: datetime
    :param next_execution_time: Gets the time of the next occurrence in
     ISO-8601 format. Could be empty if the job is completed.
    :type next_execution_time: datetime
    """ 

    _attribute_map = {
        'execution_count': {'key': 'executionCount', 'type': 'int'},
        'failure_count': {'key': 'failureCount', 'type': 'int'},
        'faulted_count': {'key': 'faultedCount', 'type': 'int'},
        'last_execution_time': {'key': 'lastExecutionTime', 'type': 'iso-8601'},
        'next_execution_time': {'key': 'nextExecutionTime', 'type': 'iso-8601'},
    }

    def __init__(self, execution_count=None, failure_count=None, faulted_count=None, last_execution_time=None, next_execution_time=None, **kwargs):
        self.execution_count = execution_count
        self.failure_count = failure_count
        self.faulted_count = faulted_count
        self.last_execution_time = last_execution_time
        self.next_execution_time = next_execution_time
