/*******************************************************************************
Copyright (c) Microsoft Open Technologies, Inc. All Rights Reserved.
Licensed under the MIT or Apache License; see LICENSE in the source repository
root for authoritative license information.
**NOTE** This code was generated by a tool and will occasionally be
overwritten. We welcome comments and issues regarding this code; they will be
addressed in the generation tool. If you wish to submit pull requests, please
do so for the templates in that tool.
This code was generated by Vipr (https://github.com/microsoft/vipr) using
the T4TemplateWriter (https://github.com/msopentech/vipr-t4templatewriter).
******************************************************************************/
package com.microsoft.services.outlook;
import com.microsoft.services.orc.core.ODataBaseEntity;
/**
* The type Recurrence Pattern.
*/
public class RecurrencePattern extends ODataBaseEntity {
public RecurrencePattern(){
setODataType("#Microsoft.OutlookServices.RecurrencePattern");
}
private RecurrencePatternType Type;
/**
* Gets the Type.
*
* @return the RecurrencePatternType
*/
public RecurrencePatternType getType() {
return this.Type;
}
/**
* Sets the Type.
*
* @param value the RecurrencePatternType
*/
public void setType(RecurrencePatternType value) {
this.Type = value;
valueChanged("Type", value);
}
private Integer Interval;
/**
* Gets the Interval.
*
* @return the Integer
*/
public Integer getInterval() {
return this.Interval;
}
/**
* Sets the Interval.
*
* @param value the Integer
*/
public void setInterval(Integer value) {
this.Interval = value;
valueChanged("Interval", value);
}
private Integer Month;
/**
* Gets the Month.
*
* @return the Integer
*/
public Integer getMonth() {
return this.Month;
}
/**
* Sets the Month.
*
* @param value the Integer
*/
public void setMonth(Integer value) {
this.Month = value;
valueChanged("Month", value);
}
private Integer DayOfMonth;
/**
* Gets the Day Of Month.
*
* @return the Integer
*/
public Integer getDayOfMonth() {
return this.DayOfMonth;
}
/**
* Sets the Day Of Month.
*
* @param value the Integer
*/
public void setDayOfMonth(Integer value) {
this.DayOfMonth = value;
valueChanged("DayOfMonth", value);
}
private java.util.List<DayOfWeek> DaysOfWeek;
/**
* Gets the Days Of Week.
*
* @return the java.util.List<DayOfWeek>
*/
public java.util.List<DayOfWeek> getDaysOfWeek() {
return this.DaysOfWeek;
}
/**
* Sets the Days Of Week.
*
* @param value the java.util.List<DayOfWeek>
*/
public void setDaysOfWeek(java.util.List<DayOfWeek> value) {
this.DaysOfWeek = value;
valueChanged("DaysOfWeek", value);
}
private DayOfWeek FirstDayOfWeek;
/**
* Gets the First Day Of Week.
*
* @return the DayOfWeek
*/
public DayOfWeek getFirstDayOfWeek() {
return this.FirstDayOfWeek;
}
/**
* Sets the First Day Of Week.
*
* @param value the DayOfWeek
*/
public void setFirstDayOfWeek(DayOfWeek value) {
this.FirstDayOfWeek = value;
valueChanged("FirstDayOfWeek", value);
}
private WeekIndex Index;
/**
* Gets the Index.
*
* @return the WeekIndex
*/
public WeekIndex getIndex() {
return this.Index;
}
/**
* Sets the Index.
*
* @param value the WeekIndex
*/
public void setIndex(WeekIndex value) {
this.Index = value;
valueChanged("Index", value);
}
}