Source code for azure.mgmt.logic.models.batch_release_criteria_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 BatchReleaseCriteria(Model): """The batch release criteria. :param message_count: The message count. :type message_count: int :param batch_size: The batch size in bytes. :type batch_size: int :param recurrence: The recurrence. :type recurrence: ~azure.mgmt.logic.models.WorkflowTriggerRecurrence """ _attribute_map = { 'message_count': {'key': 'messageCount', 'type': 'int'}, 'batch_size': {'key': 'batchSize', 'type': 'int'}, 'recurrence': {'key': 'recurrence', 'type': 'WorkflowTriggerRecurrence'}, } def __init__(self, *, message_count: int=None, batch_size: int=None, recurrence=None, **kwargs) -> None: super(BatchReleaseCriteria, self).__init__(**kwargs) self.message_count = message_count self.batch_size = batch_size self.recurrence = recurrence