public class GovernanceSubject extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
GovernanceSubject.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
displayName |
protected String |
email |
protected String |
principalName |
protected String |
type |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
GovernanceSubject() |
| Modifier and Type | Method and Description |
|---|---|
static GovernanceSubject.Builder |
builderGovernanceSubject()
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> |
getDisplayName() |
Optional<String> |
getEmail() |
Optional<String> |
getPrincipalName() |
Optional<String> |
getType() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
GovernanceSubject |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
GovernanceSubject |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
GovernanceSubject |
withDisplayName(String displayName) |
GovernanceSubject |
withEmail(String email) |
GovernanceSubject |
withPrincipalName(String principalName) |
GovernanceSubject |
withType(String type) |
protected String type
protected String displayName
protected String principalName
protected String email
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static GovernanceSubject.Builder builderGovernanceSubject()
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 GovernanceSubject withType(String type)
public GovernanceSubject withDisplayName(String displayName)
public GovernanceSubject withPrincipalName(String principalName)
public GovernanceSubject withEmail(String email)
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic GovernanceSubject patch()
this with changed fields reset.public GovernanceSubject put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.