Package odata.msgraph.client.complex
Class TimeCardBreak
- java.lang.Object
-
- odata.msgraph.client.complex.TimeCardBreak
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class TimeCardBreak extends Object implements com.github.davidmoten.odata.client.ODataType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTimeCardBreak.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringbreakIdprotected com.github.davidmoten.odata.client.ContextPathcontextPathprotected TimeCardEventendprotected ItemBodynotesprotected StringodataTypeprotected TimeCardEventstartprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedTimeCardBreak()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TimeCardBreak.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<String>getBreakId()Optional<TimeCardEvent>getEnd()Optional<ItemBody>getNotes()Optional<TimeCardEvent>getStart()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()TimeCardBreakwithBreakId(String breakId)TimeCardBreakwithEnd(TimeCardEvent end)TimeCardBreakwithNotes(ItemBody notes)TimeCardBreakwithStart(TimeCardEvent start)TimeCardBreakwithUnmappedField(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
-
breakId
protected String breakId
-
end
protected TimeCardEvent end
-
notes
protected ItemBody notes
-
start
protected TimeCardEvent start
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
withBreakId
public TimeCardBreak withBreakId(String breakId)
-
getEnd
public Optional<TimeCardEvent> getEnd()
-
withEnd
public TimeCardBreak withEnd(TimeCardEvent end)
-
withNotes
public TimeCardBreak withNotes(ItemBody notes)
-
getStart
public Optional<TimeCardEvent> getStart()
-
withStart
public TimeCardBreak withStart(TimeCardEvent start)
-
withUnmappedField
public TimeCardBreak 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 TimeCardBreak.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
-
-