/*
 * 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.
 */

'use strict';

var util = require('util');

/**
 * @class
 * Initializes a new instance of the WeekDetails class.
 * @constructor
 * Properties of a weekly schedule.
 * @member {array} [weekdays] The days of the week.
 * 
 * @member {string} [time] The time of the day.
 * 
 */
function WeekDetails() {
}

/**
 * Defines the metadata of WeekDetails
 *
 * @returns {object} metadata of WeekDetails
 *
 */
WeekDetails.prototype.mapper = function () {
  return {
    required: false,
    serializedName: 'WeekDetails',
    type: {
      name: 'Composite',
      className: 'WeekDetails',
      modelProperties: {
        weekdays: {
          required: false,
          serializedName: 'weekdays',
          type: {
            name: 'Sequence',
            element: {
                required: false,
                serializedName: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        time: {
          required: false,
          serializedName: 'time',
          type: {
            name: 'String'
          }
        }
      }
    }
  };
};

module.exports = WeekDetails;
