public class OAuth2PermissionGrant extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
Org.OData.Capabilities.V1.ChangeTracking
Supported = true
| Modifier and Type | Class and Description |
|---|---|
static class |
OAuth2PermissionGrant.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
clientId |
protected String |
consentType |
protected OffsetDateTime |
expiryTime |
protected String |
principalId |
protected String |
resourceId |
protected String |
scope |
protected OffsetDateTime |
startTime |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
OAuth2PermissionGrant() |
protected String clientId
protected String consentType
protected OffsetDateTime expiryTime
protected String principalId
protected String resourceId
protected String scope
protected OffsetDateTime startTime
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static OAuth2PermissionGrant.Builder builderOAuth2PermissionGrant()
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 OAuth2PermissionGrant withClientId(String clientId)
public OAuth2PermissionGrant withConsentType(String consentType)
public Optional<OffsetDateTime> getExpiryTime()
public OAuth2PermissionGrant withExpiryTime(OffsetDateTime expiryTime)
public OAuth2PermissionGrant withPrincipalId(String principalId)
public OAuth2PermissionGrant withResourceId(String resourceId)
public OAuth2PermissionGrant withScope(String scope)
public Optional<OffsetDateTime> getStartTime()
public OAuth2PermissionGrant withStartTime(OffsetDateTime startTime)
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic OAuth2PermissionGrant patch()
this with changed fields reset.public OAuth2PermissionGrant put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.