Package odata.msgraph.client.beta.entity
Class BookingStaffMember
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.BookingNamedEntity
-
- odata.msgraph.client.beta.entity.BookingPerson
-
- odata.msgraph.client.beta.entity.BookingStaffMember
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class BookingStaffMember extends BookingPerson implements com.github.davidmoten.odata.client.ODataEntityType
“Represents a staff member who provides services in a business.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBookingStaffMember.Builder
-
Field Summary
Fields Modifier and Type Field Description protected BooleanavailabilityIsAffectedByPersonalCalendarprotected IntegercolorIndexprotected BookingStaffRoleroleprotected StringtimeZoneprotected BooleanuseBusinessHoursprotected List<BookingWorkHours>workingHoursprotected StringworkingHoursNextLink-
Fields inherited from class odata.msgraph.client.beta.entity.BookingPerson
emailAddress
-
Fields inherited from class odata.msgraph.client.beta.entity.BookingNamedEntity
displayName
-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBookingStaffMember()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BookingStaffMember.BuilderbuilderBookingStaffMember()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<Boolean>getAvailabilityIsAffectedByPersonalCalendar()com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<Integer>getColorIndex()Optional<BookingStaffRole>getRole()Optional<String>getTimeZone()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<Boolean>getUseBusinessHours()com.github.davidmoten.odata.client.CollectionPage<BookingWorkHours>getWorkingHours()com.github.davidmoten.odata.client.CollectionPage<BookingWorkHours>getWorkingHours(com.github.davidmoten.odata.client.HttpRequestOptions options)StringodataTypeName()BookingStaffMemberpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)BookingStaffMemberput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()BookingStaffMemberwithAvailabilityIsAffectedByPersonalCalendar(Boolean availabilityIsAffectedByPersonalCalendar)BookingStaffMemberwithColorIndex(Integer colorIndex)BookingStaffMemberwithRole(BookingStaffRole role)BookingStaffMemberwithTimeZone(String timeZone)BookingStaffMemberwithUnmappedField(String name, String value)BookingStaffMemberwithUseBusinessHours(Boolean useBusinessHours)BookingStaffMemberwithWorkingHours(List<BookingWorkHours> workingHours)-
Methods inherited from class odata.msgraph.client.beta.entity.BookingPerson
builderBookingPerson, getEmailAddress, withEmailAddress
-
Methods inherited from class odata.msgraph.client.beta.entity.BookingNamedEntity
getDisplayName, withDisplayName
-
-
-
-
Field Detail
-
availabilityIsAffectedByPersonalCalendar
protected Boolean availabilityIsAffectedByPersonalCalendar
-
colorIndex
protected Integer colorIndex
-
role
protected BookingStaffRole role
-
timeZone
protected String timeZone
-
useBusinessHours
protected Boolean useBusinessHours
-
workingHours
protected List<BookingWorkHours> workingHours
-
workingHoursNextLink
protected String workingHoursNextLink
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classBookingPerson
-
builderBookingStaffMember
public static BookingStaffMember.Builder builderBookingStaffMember()
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 classBookingPerson
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classBookingPerson
-
getAvailabilityIsAffectedByPersonalCalendar
public Optional<Boolean> getAvailabilityIsAffectedByPersonalCalendar()
-
withAvailabilityIsAffectedByPersonalCalendar
public BookingStaffMember withAvailabilityIsAffectedByPersonalCalendar(Boolean availabilityIsAffectedByPersonalCalendar)
-
withColorIndex
public BookingStaffMember withColorIndex(Integer colorIndex)
-
getRole
public Optional<BookingStaffRole> getRole()
-
withRole
public BookingStaffMember withRole(BookingStaffRole role)
-
withTimeZone
public BookingStaffMember withTimeZone(String timeZone)
-
withUseBusinessHours
public BookingStaffMember withUseBusinessHours(Boolean useBusinessHours)
-
getWorkingHours
public com.github.davidmoten.odata.client.CollectionPage<BookingWorkHours> getWorkingHours()
-
withWorkingHours
public BookingStaffMember withWorkingHours(List<BookingWorkHours> workingHours)
-
getWorkingHours
public com.github.davidmoten.odata.client.CollectionPage<BookingWorkHours> getWorkingHours(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withUnmappedField
public BookingStaffMember withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classBookingPerson
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classBookingPerson
-
patch
public BookingStaffMember patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classBookingPerson- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public BookingStaffMember put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classBookingPerson- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
toString
public String toString()
- Overrides:
toStringin classBookingPerson
-
-