Package odata.msgraph.client.complex
Class ShiftActivity
- java.lang.Object
-
- odata.msgraph.client.complex.ShiftActivity
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class ShiftActivity extends Object implements com.github.davidmoten.odata.client.ODataType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classShiftActivity.Builder
-
Field Summary
Fields Modifier and Type Field Description protected Stringcodeprotected com.github.davidmoten.odata.client.ContextPathcontextPathprotected StringdisplayNameprotected OffsetDateTimeendDateTimeprotected BooleanisPaidprotected StringodataTypeprotected OffsetDateTimestartDateTimeprotected ScheduleEntityThemethemeprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedShiftActivity()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ShiftActivity.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<String>getCode()Optional<String>getDisplayName()Optional<OffsetDateTime>getEndDateTime()Optional<Boolean>getIsPaid()Optional<OffsetDateTime>getStartDateTime()Optional<ScheduleEntityTheme>getTheme()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()ShiftActivitywithCode(String code)ShiftActivitywithDisplayName(String displayName)ShiftActivitywithEndDateTime(OffsetDateTime endDateTime)ShiftActivitywithIsPaid(Boolean isPaid)ShiftActivitywithStartDateTime(OffsetDateTime startDateTime)ShiftActivitywithTheme(ScheduleEntityTheme theme)ShiftActivitywithUnmappedField(String name, String 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
-
code
protected String code
-
displayName
protected String displayName
-
endDateTime
protected OffsetDateTime endDateTime
-
isPaid
protected Boolean isPaid
-
startDateTime
protected OffsetDateTime startDateTime
-
theme
protected ScheduleEntityTheme theme
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
withCode
public ShiftActivity withCode(String code)
-
withDisplayName
public ShiftActivity withDisplayName(String displayName)
-
getEndDateTime
public Optional<OffsetDateTime> getEndDateTime()
-
withEndDateTime
public ShiftActivity withEndDateTime(OffsetDateTime endDateTime)
-
withIsPaid
public ShiftActivity withIsPaid(Boolean isPaid)
-
getStartDateTime
public Optional<OffsetDateTime> getStartDateTime()
-
withStartDateTime
public ShiftActivity withStartDateTime(OffsetDateTime startDateTime)
-
getTheme
public Optional<ScheduleEntityTheme> getTheme()
-
withTheme
public ShiftActivity withTheme(ScheduleEntityTheme theme)
-
withUnmappedField
public ShiftActivity withUnmappedField(String name, String 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 ShiftActivity.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
-
-