public class PrivilegedRoleSummary extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
PrivilegedRoleSummary.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected Integer |
elevatedCount |
protected Integer |
managedCount |
protected Boolean |
mfaEnabled |
protected RoleSummaryStatus |
status |
protected Integer |
usersCount |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
PrivilegedRoleSummary() |
| Modifier and Type | Method and Description |
|---|---|
static PrivilegedRoleSummary.Builder |
builderPrivilegedRoleSummary()
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<Integer> |
getElevatedCount() |
Optional<Integer> |
getManagedCount() |
Optional<Boolean> |
getMfaEnabled() |
Optional<RoleSummaryStatus> |
getStatus() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
Optional<Integer> |
getUsersCount() |
String |
odataTypeName() |
PrivilegedRoleSummary |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
PrivilegedRoleSummary |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
PrivilegedRoleSummary |
withElevatedCount(Integer elevatedCount) |
PrivilegedRoleSummary |
withManagedCount(Integer managedCount) |
PrivilegedRoleSummary |
withMfaEnabled(Boolean mfaEnabled) |
PrivilegedRoleSummary |
withStatus(RoleSummaryStatus status) |
PrivilegedRoleSummary |
withUsersCount(Integer usersCount) |
protected RoleSummaryStatus status
protected Integer usersCount
protected Integer managedCount
protected Integer elevatedCount
protected Boolean mfaEnabled
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static PrivilegedRoleSummary.Builder builderPrivilegedRoleSummary()
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 Optional<RoleSummaryStatus> getStatus()
public PrivilegedRoleSummary withStatus(RoleSummaryStatus status)
public PrivilegedRoleSummary withUsersCount(Integer usersCount)
public PrivilegedRoleSummary withManagedCount(Integer managedCount)
public PrivilegedRoleSummary withElevatedCount(Integer elevatedCount)
public PrivilegedRoleSummary withMfaEnabled(Boolean mfaEnabled)
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic PrivilegedRoleSummary patch()
this with changed fields reset.public PrivilegedRoleSummary put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.