Package odata.msgraph.client.complex
Class StandardTimeZoneOffset
- java.lang.Object
-
- odata.msgraph.client.complex.StandardTimeZoneOffset
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
- Direct Known Subclasses:
DaylightTimeZoneOffset
public class StandardTimeZoneOffset extends Object implements com.github.davidmoten.odata.client.ODataType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStandardTimeZoneOffset.Builder
-
Field Summary
Fields Modifier and Type Field Description protected com.github.davidmoten.odata.client.ContextPathcontextPathprotected IntegerdayOccurrenceprotected DayOfWeekdayOfWeekprotected Integermonthprotected StringodataTypeprotected LocalTimetimeprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFieldsprotected Integeryear
-
Constructor Summary
Constructors Modifier Constructor Description protectedStandardTimeZoneOffset()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StandardTimeZoneOffset.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<Integer>getDayOccurrence()Optional<DayOfWeek>getDayOfWeek()Optional<Integer>getMonth()Optional<LocalTime>getTime()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<Integer>getYear()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()StandardTimeZoneOffsetwithDayOccurrence(Integer dayOccurrence)StandardTimeZoneOffsetwithDayOfWeek(DayOfWeek dayOfWeek)StandardTimeZoneOffsetwithMonth(Integer month)StandardTimeZoneOffsetwithTime(LocalTime time)StandardTimeZoneOffsetwithUnmappedField(String name, Object value)StandardTimeZoneOffsetwithYear(Integer year)
-
-
-
Field Detail
-
contextPath
protected com.github.davidmoten.odata.client.ContextPath contextPath
-
unmappedFields
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
-
odataType
protected String odataType
-
dayOccurrence
protected Integer dayOccurrence
-
dayOfWeek
protected DayOfWeek dayOfWeek
-
month
protected Integer month
-
time
protected LocalTime time
-
year
protected Integer year
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
withDayOccurrence
public StandardTimeZoneOffset withDayOccurrence(Integer dayOccurrence)
-
withDayOfWeek
public StandardTimeZoneOffset withDayOfWeek(DayOfWeek dayOfWeek)
-
withMonth
public StandardTimeZoneOffset withMonth(Integer month)
-
withTime
public StandardTimeZoneOffset withTime(LocalTime time)
-
withYear
public StandardTimeZoneOffset withYear(Integer year)
-
withUnmappedField
public StandardTimeZoneOffset withUnmappedField(String name, Object value)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType
-
builder
public static StandardTimeZoneOffset.Builder builder()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
-