public class ResourceSpecificPermissionGrant extends DirectoryObject implements com.github.davidmoten.odata.client.ODataEntityType
Org.OData.Capabilities.V1.SelectRestrictions
Selectable = true
Org.OData.Capabilities.V1.CountRestrictions
Countable = false
Org.OData.Capabilities.V1.FilterRestrictions
Filterable = true
Org.OData.Capabilities.V1.SkipSupported
false
Org.OData.Capabilities.V1.TopSupported
false
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = true
| Modifier and Type | Class and Description |
|---|---|
static class |
ResourceSpecificPermissionGrant.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
clientAppId |
protected String |
clientId |
protected String |
permission |
protected String |
permissionType |
protected String |
resourceAppId |
deletedDateTimechangedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
ResourceSpecificPermissionGrant() |
| Modifier and Type | Method and Description |
|---|---|
static ResourceSpecificPermissionGrant.Builder |
builderResourceSpecificPermissionGrant()
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<String> |
getClientAppId() |
Optional<String> |
getClientId() |
Optional<String> |
getPermission() |
Optional<String> |
getPermissionType() |
Optional<String> |
getResourceAppId() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
ResourceSpecificPermissionGrant |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
ResourceSpecificPermissionGrant |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
ResourceSpecificPermissionGrant |
withClientAppId(String clientAppId) |
ResourceSpecificPermissionGrant |
withClientId(String clientId) |
ResourceSpecificPermissionGrant |
withPermission(String permission) |
ResourceSpecificPermissionGrant |
withPermissionType(String permissionType) |
ResourceSpecificPermissionGrant |
withResourceAppId(String resourceAppId) |
builderDirectoryObject, checkMemberGroups, checkMemberObjects, getDeletedDateTime, getMemberGroups, getMemberObjects, restore, withDeletedDateTimeprotected String clientId
protected String clientAppId
protected String resourceAppId
protected String permissionType
protected String permission
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class DirectoryObjectpublic static ResourceSpecificPermissionGrant.Builder builderResourceSpecificPermissionGrant()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class DirectoryObjectpublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class DirectoryObjectpublic ResourceSpecificPermissionGrant withClientId(String clientId)
public ResourceSpecificPermissionGrant withClientAppId(String clientAppId)
public ResourceSpecificPermissionGrant withResourceAppId(String resourceAppId)
public ResourceSpecificPermissionGrant withPermissionType(String permissionType)
public ResourceSpecificPermissionGrant withPermission(String permission)
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class DirectoryObjectpublic ResourceSpecificPermissionGrant patch()
this with changed fields reset.patch in class DirectoryObjectthis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic ResourceSpecificPermissionGrant put()
this
with changed fields reset (they were ignored anyway).put in class DirectoryObjectthis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic String toString()
toString in class DirectoryObjectCopyright © 2018–2020. All rights reserved.