public class AuditActor extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
AuditActor.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
applicationDisplayName |
protected String |
applicationId |
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected String |
ipAddress |
protected String |
odataType |
protected String |
servicePrincipalName |
protected String |
type |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
protected String |
userId |
protected List<String> |
userPermissions |
protected String |
userPermissionsNextLink |
protected String |
userPrincipalName |
protected List<RoleScopeTagInfo> |
userRoleScopeTags |
protected String |
userRoleScopeTagsNextLink |
| Modifier | Constructor and Description |
|---|---|
protected |
AuditActor() |
| Modifier and Type | Method and Description |
|---|---|
static AuditActor.Builder |
builder()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<String> |
getApplicationDisplayName()
“Name of the Application.”
|
Optional<String> |
getApplicationId()
“AAD Application Id.”
|
Optional<String> |
getIpAddress()
“IPAddress.”
|
Optional<String> |
getServicePrincipalName()
“Service Principal Name (SPN).”
|
Optional<String> |
getType()
“Actor Type.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
Optional<String> |
getUserId()
“User Id.”
|
com.github.davidmoten.odata.client.CollectionPage<String> |
getUserPermissions()
“List of user permissions when the audit was performed.”
|
Optional<String> |
getUserPrincipalName()
“User Principal Name (UPN).”
|
com.github.davidmoten.odata.client.CollectionPage<RoleScopeTagInfo> |
getUserRoleScopeTags()
“List of user scope tags when the audit was performed.”
|
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
AuditActor |
withApplicationDisplayName(String applicationDisplayName)
Returns an immutable copy of
this with just the applicationDisplayName field changed. |
AuditActor |
withApplicationId(String applicationId)
Returns an immutable copy of
this with just the applicationId
field changed. |
AuditActor |
withIpAddress(String ipAddress)
Returns an immutable copy of
this with just the ipAddress field
changed. |
AuditActor |
withServicePrincipalName(String servicePrincipalName)
Returns an immutable copy of
this with just the servicePrincipalName field changed. |
AuditActor |
withType(String type)
Returns an immutable copy of
this with just the type field
changed. |
AuditActor |
withUserId(String userId)
Returns an immutable copy of
this with just the userId field
changed. |
AuditActor |
withUserPrincipalName(String userPrincipalName)
Returns an immutable copy of
this with just the userPrincipalName
field changed. |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected String type
protected String userPermissionsNextLink
protected String applicationId
protected String applicationDisplayName
protected String userPrincipalName
protected String servicePrincipalName
protected String ipAddress
protected String userId
protected List<RoleScopeTagInfo> userRoleScopeTags
protected String userRoleScopeTagsNextLink
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic AuditActor withType(String type)
this with just the type field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“Actor Type.”
type - new value of type field (as defined in service metadata)this with just the type field changedpublic com.github.davidmoten.odata.client.CollectionPage<String> getUserPermissions()
public Optional<String> getApplicationId()
public AuditActor withApplicationId(String applicationId)
this with just the applicationId
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“AAD Application Id.”
applicationId - new value of applicationId field (as defined in service metadata)this with just the applicationId field changedpublic Optional<String> getApplicationDisplayName()
public AuditActor withApplicationDisplayName(String applicationDisplayName)
this with just the applicationDisplayName field changed. Field description below. The field name
is also added to an internal map of changed fields in the returned object so
that when this.patch() is called (if available)on the returned object
only the changed fields are submitted.
“Name of the Application.”
applicationDisplayName - new value of applicationDisplayName field (as defined in service metadata)this with just the applicationDisplayName field changedpublic Optional<String> getUserPrincipalName()
public AuditActor withUserPrincipalName(String userPrincipalName)
this with just the userPrincipalName
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“User Principal Name (UPN).”
userPrincipalName - new value of userPrincipalName field (as defined in service metadata)this with just the userPrincipalName field changedpublic Optional<String> getServicePrincipalName()
public AuditActor withServicePrincipalName(String servicePrincipalName)
this with just the servicePrincipalName field changed. Field description below. The field name is
also added to an internal map of changed fields in the returned object so that
when this.patch() is called (if available)on the returned object only
the changed fields are submitted.
“Service Principal Name (SPN).”
servicePrincipalName - new value of servicePrincipalName field (as defined in service metadata)this with just the servicePrincipalName field changedpublic AuditActor withIpAddress(String ipAddress)
this with just the ipAddress field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“IPAddress.”
ipAddress - new value of ipAddress field (as defined in service metadata)this with just the ipAddress field changedpublic AuditActor withUserId(String userId)
this with just the userId field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“User Id.”
userId - new value of userId field (as defined in service metadata)this with just the userId field changedpublic com.github.davidmoten.odata.client.CollectionPage<RoleScopeTagInfo> getUserRoleScopeTags()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypepublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepublic static AuditActor.Builder builder()
Copyright © 2018–2020. All rights reserved.