public class AdminConsentRequestPolicy extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
AdminConsentRequestPolicy.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
isEnabled |
protected Boolean |
notifyReviewers |
protected Boolean |
remindersEnabled |
protected Integer |
requestDurationInDays |
protected List<AccessReviewScope> |
reviewers |
protected String |
reviewersNextLink |
protected Integer |
version |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
AdminConsentRequestPolicy() |
| Modifier and Type | Method and Description |
|---|---|
static AdminConsentRequestPolicy.Builder |
builderAdminConsentRequestPolicy()
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.internal.ChangedFields |
getChangedFields() |
Optional<Boolean> |
getIsEnabled() |
Optional<Boolean> |
getNotifyReviewers() |
Optional<Boolean> |
getRemindersEnabled() |
Optional<Integer> |
getRequestDurationInDays() |
com.github.davidmoten.odata.client.CollectionPage<AccessReviewScope> |
getReviewers() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
Optional<Integer> |
getVersion() |
String |
odataTypeName() |
AdminConsentRequestPolicy |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
AdminConsentRequestPolicy |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
AdminConsentRequestPolicy |
withIsEnabled(Boolean isEnabled) |
AdminConsentRequestPolicy |
withNotifyReviewers(Boolean notifyReviewers) |
AdminConsentRequestPolicy |
withRemindersEnabled(Boolean remindersEnabled) |
AdminConsentRequestPolicy |
withRequestDurationInDays(Integer requestDurationInDays) |
AdminConsentRequestPolicy |
withVersion(Integer version) |
protected Boolean isEnabled
protected Integer version
protected Boolean notifyReviewers
protected Boolean remindersEnabled
protected Integer requestDurationInDays
protected List<AccessReviewScope> reviewers
protected String reviewersNextLink
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static AdminConsentRequestPolicy.Builder builderAdminConsentRequestPolicy()
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 AdminConsentRequestPolicy withIsEnabled(Boolean isEnabled)
public AdminConsentRequestPolicy withVersion(Integer version)
public AdminConsentRequestPolicy withNotifyReviewers(Boolean notifyReviewers)
public AdminConsentRequestPolicy withRemindersEnabled(Boolean remindersEnabled)
public AdminConsentRequestPolicy withRequestDurationInDays(Integer requestDurationInDays)
public com.github.davidmoten.odata.client.CollectionPage<AccessReviewScope> getReviewers()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic AdminConsentRequestPolicy patch()
this with changed fields reset.public AdminConsentRequestPolicy put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.