public class CalendarPermission extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
CalendarPermission.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected List<CalendarRoleType> |
allowedRoles |
protected String |
allowedRolesNextLink |
protected EmailAddress |
emailAddress |
protected Boolean |
isInsideOrganization |
protected Boolean |
isRemovable |
protected CalendarRoleType |
role |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
CalendarPermission() |
| Modifier and Type | Method and Description |
|---|---|
static CalendarPermission.Builder |
builderCalendarPermission()
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<CalendarRoleType> |
getAllowedRoles() |
com.github.davidmoten.odata.client.CollectionPage<CalendarRoleType> |
getAllowedRoles(com.github.davidmoten.odata.client.HttpRequestOptions options) |
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<EmailAddress> |
getEmailAddress() |
Optional<Boolean> |
getIsInsideOrganization() |
Optional<Boolean> |
getIsRemovable() |
Optional<CalendarRoleType> |
getRole() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
CalendarPermission |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
CalendarPermission |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
CalendarPermission |
withEmailAddress(EmailAddress emailAddress) |
CalendarPermission |
withIsInsideOrganization(Boolean isInsideOrganization) |
CalendarPermission |
withIsRemovable(Boolean isRemovable) |
CalendarPermission |
withRole(CalendarRoleType role) |
protected EmailAddress emailAddress
protected Boolean isRemovable
protected Boolean isInsideOrganization
protected CalendarRoleType role
protected List<CalendarRoleType> allowedRoles
protected String allowedRolesNextLink
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static CalendarPermission.Builder builderCalendarPermission()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class Entitypublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class Entitypublic Optional<EmailAddress> getEmailAddress()
public CalendarPermission withEmailAddress(EmailAddress emailAddress)
public CalendarPermission withIsRemovable(Boolean isRemovable)
public CalendarPermission withIsInsideOrganization(Boolean isInsideOrganization)
public Optional<CalendarRoleType> getRole()
public CalendarPermission withRole(CalendarRoleType role)
public com.github.davidmoten.odata.client.CollectionPage<CalendarRoleType> getAllowedRoles()
public com.github.davidmoten.odata.client.CollectionPage<CalendarRoleType> getAllowedRoles(com.github.davidmoten.odata.client.HttpRequestOptions options)
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic CalendarPermission patch()
this with changed fields reset.public CalendarPermission put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.