# Source code for azure.mgmt.redis.models.redis_patch_schedules_request

    # 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

    class RedisPatchSchedulesRequest(Model):
        """Parameters to set patch schedules for redis cache.

        :param schedule_entries: List of patch schedules for redis cache.
        :type schedule_entries: list of :class:`ScheduleEntry
         <azure.mgmt.redis.models.ScheduleEntry>`
        """

        _validation = {
            'schedule_entries': {'required': True},
        }

        _attribute_map = {
            'schedule_entries': {'key': 'properties.scheduleEntries', 'type': '[ScheduleEntry]'},
        }

        def __init__(self, schedule_entries):
            self.schedule_entries = schedule_entries