Package odata.msgraph.client.beta.entity
Class AttendanceRecord
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.AttendanceRecord
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class AttendanceRecord extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAttendanceRecord.Builder
-
Field Summary
Fields Modifier and Type Field Description protected List<AttendanceInterval>attendanceIntervalsprotected StringattendanceIntervalsNextLinkprotected StringemailAddressprotected Identityidentityprotected Stringroleprotected IntegertotalAttendanceInSeconds-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAttendanceRecord()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AttendanceRecord.BuilderbuilderAttendanceRecord()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<AttendanceInterval>getAttendanceIntervals()com.github.davidmoten.odata.client.CollectionPage<AttendanceInterval>getAttendanceIntervals(com.github.davidmoten.odata.client.HttpRequestOptions options)com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<String>getEmailAddress()Optional<Identity>getIdentity()Optional<String>getRole()Optional<Integer>getTotalAttendanceInSeconds()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()AttendanceRecordpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)AttendanceRecordput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()AttendanceRecordwithAttendanceIntervals(List<AttendanceInterval> attendanceIntervals)AttendanceRecordwithEmailAddress(String emailAddress)AttendanceRecordwithIdentity(Identity identity)AttendanceRecordwithRole(String role)AttendanceRecordwithTotalAttendanceInSeconds(Integer totalAttendanceInSeconds)AttendanceRecordwithUnmappedField(String name, String value)
-
-
-
Field Detail
-
attendanceIntervals
protected List<AttendanceInterval> attendanceIntervals
-
attendanceIntervalsNextLink
protected String attendanceIntervalsNextLink
-
emailAddress
protected String emailAddress
-
identity
protected Identity identity
-
role
protected String role
-
totalAttendanceInSeconds
protected Integer totalAttendanceInSeconds
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderAttendanceRecord
public static AttendanceRecord.Builder builderAttendanceRecord()
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
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classEntity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classEntity
-
getAttendanceIntervals
public com.github.davidmoten.odata.client.CollectionPage<AttendanceInterval> getAttendanceIntervals()
-
withAttendanceIntervals
public AttendanceRecord withAttendanceIntervals(List<AttendanceInterval> attendanceIntervals)
-
getAttendanceIntervals
public com.github.davidmoten.odata.client.CollectionPage<AttendanceInterval> getAttendanceIntervals(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withEmailAddress
public AttendanceRecord withEmailAddress(String emailAddress)
-
withIdentity
public AttendanceRecord withIdentity(Identity identity)
-
withRole
public AttendanceRecord withRole(String role)
-
withTotalAttendanceInSeconds
public AttendanceRecord withTotalAttendanceInSeconds(Integer totalAttendanceInSeconds)
-
withUnmappedField
public AttendanceRecord withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public AttendanceRecord patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public AttendanceRecord put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-