public class AccessPackageResourceRole extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
AccessPackageResourceRole.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
description |
protected String |
displayName |
protected String |
originId |
protected String |
originSystem |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
AccessPackageResourceRole() |
| Modifier and Type | Method and Description |
|---|---|
static AccessPackageResourceRole.Builder |
builderAccessPackageResourceRole()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
AccessPackageResourceRequest |
getAccessPackageResource() |
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<String> |
getDescription() |
Optional<String> |
getDisplayName() |
Optional<String> |
getOriginId() |
Optional<String> |
getOriginSystem() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
AccessPackageResourceRole |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
AccessPackageResourceRole |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
AccessPackageResourceRole |
withDescription(String description) |
AccessPackageResourceRole |
withDisplayName(String displayName) |
AccessPackageResourceRole |
withOriginId(String originId) |
AccessPackageResourceRole |
withOriginSystem(String originSystem) |
protected String displayName
protected String description
protected String originId
protected String originSystem
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static AccessPackageResourceRole.Builder builderAccessPackageResourceRole()
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 AccessPackageResourceRole withDisplayName(String displayName)
public AccessPackageResourceRole withDescription(String description)
public AccessPackageResourceRole withOriginId(String originId)
public AccessPackageResourceRole withOriginSystem(String originSystem)
public AccessPackageResourceRequest getAccessPackageResource()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic AccessPackageResourceRole patch()
this with changed fields reset.public AccessPackageResourceRole put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.