public class AuthorizationPolicy extends PolicyBase implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
AuthorizationPolicy.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
blockMsolPowerShell |
protected List<String> |
enabledPreviewFeatures |
protected String |
enabledPreviewFeaturesNextLink |
protected String |
guestUserRoleId |
protected List<String> |
permissionGrantPolicyIdsAssignedToDefaultUserRole |
protected String |
permissionGrantPolicyIdsAssignedToDefaultUserRoleNextLink |
description, displayNamedeletedDateTimechangedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
AuthorizationPolicy() |
| Modifier and Type | Method and Description |
|---|---|
static AuthorizationPolicy.Builder |
builderAuthorizationPolicy()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<Boolean> |
getBlockMsolPowerShell() |
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
com.github.davidmoten.odata.client.CollectionPage<String> |
getEnabledPreviewFeatures() |
Optional<String> |
getGuestUserRoleId() |
com.github.davidmoten.odata.client.CollectionPage<String> |
getPermissionGrantPolicyIdsAssignedToDefaultUserRole() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
AuthorizationPolicy |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
AuthorizationPolicy |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
AuthorizationPolicy |
withBlockMsolPowerShell(Boolean blockMsolPowerShell) |
AuthorizationPolicy |
withGuestUserRoleId(String guestUserRoleId) |
getDescription, getDisplayName, withDescription, withDisplayNamebuilderDirectoryObject, checkMemberGroups, checkMemberObjects, getDeletedDateTime, getMemberGroups, getMemberObjects, restore, withDeletedDateTimeprotected Boolean blockMsolPowerShell
protected String enabledPreviewFeaturesNextLink
protected String guestUserRoleId
protected List<String> permissionGrantPolicyIdsAssignedToDefaultUserRole
protected String permissionGrantPolicyIdsAssignedToDefaultUserRoleNextLink
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class PolicyBasepublic static AuthorizationPolicy.Builder builderAuthorizationPolicy()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class PolicyBasepublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class PolicyBasepublic AuthorizationPolicy withBlockMsolPowerShell(Boolean blockMsolPowerShell)
public com.github.davidmoten.odata.client.CollectionPage<String> getEnabledPreviewFeatures()
public AuthorizationPolicy withGuestUserRoleId(String guestUserRoleId)
public com.github.davidmoten.odata.client.CollectionPage<String> getPermissionGrantPolicyIdsAssignedToDefaultUserRole()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class PolicyBasepublic AuthorizationPolicy patch()
this with changed fields reset.patch in class PolicyBasethis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic AuthorizationPolicy put()
this
with changed fields reset (they were ignored anyway).put in class PolicyBasethis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic String toString()
toString in class PolicyBaseCopyright © 2018–2020. All rights reserved.