Package odata.msgraph.client.complex
Class ShiftAvailability
- java.lang.Object
-
- odata.msgraph.client.complex.ShiftAvailability
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class ShiftAvailability extends Object implements com.github.davidmoten.odata.client.ODataType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classShiftAvailability.Builder
-
Field Summary
Fields Modifier and Type Field Description protected com.github.davidmoten.odata.client.ContextPathcontextPathprotected StringodataTypeprotected PatternedRecurrencerecurrenceprotected List<TimeRange>timeSlotsprotected StringtimeSlotsNextLinkprotected StringtimeZoneprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedShiftAvailability()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ShiftAvailability.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<PatternedRecurrence>getRecurrence()com.github.davidmoten.odata.client.CollectionPage<TimeRange>getTimeSlots()com.github.davidmoten.odata.client.CollectionPage<TimeRange>getTimeSlots(com.github.davidmoten.odata.client.HttpRequestOptions options)Optional<String>getTimeZone()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()ShiftAvailabilitywithRecurrence(PatternedRecurrence recurrence)ShiftAvailabilitywithTimeZone(String timeZone)ShiftAvailabilitywithUnmappedField(String name, Object value)
-
-
-
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
-
recurrence
protected PatternedRecurrence recurrence
-
timeSlotsNextLink
protected String timeSlotsNextLink
-
timeZone
protected String timeZone
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getRecurrence
public Optional<PatternedRecurrence> getRecurrence()
-
withRecurrence
public ShiftAvailability withRecurrence(PatternedRecurrence recurrence)
-
getTimeSlots
public com.github.davidmoten.odata.client.CollectionPage<TimeRange> getTimeSlots()
-
getTimeSlots
public com.github.davidmoten.odata.client.CollectionPage<TimeRange> getTimeSlots(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withTimeZone
public ShiftAvailability withTimeZone(String timeZone)
-
withUnmappedField
public ShiftAvailability 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 ShiftAvailability.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
-
-