Package odata.msgraph.client.complex
Class ShiftItem
- java.lang.Object
-
- odata.msgraph.client.complex.ScheduleEntity
-
- odata.msgraph.client.complex.ShiftItem
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
- Direct Known Subclasses:
OpenShiftItem
public class ShiftItem extends ScheduleEntity implements com.github.davidmoten.odata.client.ODataType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classShiftItem.Builder
-
Field Summary
Fields Modifier and Type Field Description protected List<ShiftActivity>activitiesprotected StringactivitiesNextLinkprotected StringdisplayNameprotected Stringnotes-
Fields inherited from class odata.msgraph.client.complex.ScheduleEntity
contextPath, endDateTime, odataType, startDateTime, theme, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedShiftItem()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ShiftItem.BuilderbuilderShiftItem()Returns a builder which is used to create a new instance of this class (given that this class is immutable).com.github.davidmoten.odata.client.CollectionPage<ShiftActivity>getActivities()com.github.davidmoten.odata.client.CollectionPage<ShiftActivity>getActivities(com.github.davidmoten.odata.client.HttpRequestOptions options)Optional<String>getDisplayName()Optional<String>getNotes()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()ShiftItemwithDisplayName(String displayName)ShiftItemwithNotes(String notes)ShiftItemwithUnmappedField(String name, Object value)-
Methods inherited from class odata.msgraph.client.complex.ScheduleEntity
builder, getEndDateTime, getStartDateTime, getTheme, withEndDateTime, withStartDateTime, withTheme
-
-
-
-
Field Detail
-
activities
protected List<ShiftActivity> activities
-
activitiesNextLink
protected String activitiesNextLink
-
displayName
protected String displayName
-
notes
protected String notes
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classScheduleEntity
-
getActivities
public com.github.davidmoten.odata.client.CollectionPage<ShiftActivity> getActivities()
-
getActivities
public com.github.davidmoten.odata.client.CollectionPage<ShiftActivity> getActivities(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withUnmappedField
public ShiftItem withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classScheduleEntity
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classScheduleEntity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classScheduleEntity
-
builderShiftItem
public static ShiftItem.Builder builderShiftItem()
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
-
toString
public String toString()
- Overrides:
toStringin classScheduleEntity
-
-