Class AuditActor
- java.lang.Object
-
- odata.msgraph.client.beta.complex.AuditActor
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class AuditActor extends Object implements com.github.davidmoten.odata.client.ODataType
“A class containing the properties for Audit Actor.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAuditActor.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringapplicationDisplayNameprotected StringapplicationIdprotected com.github.davidmoten.odata.client.ContextPathcontextPathprotected StringipAddressprotected StringodataTypeprotected StringremoteTenantIdprotected StringremoteUserIdprotected StringservicePrincipalNameprotected Stringtypeprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFieldsprotected StringuserIdprotected List<String>userPermissionsprotected StringuserPermissionsNextLinkprotected StringuserPrincipalNameprotected List<RoleScopeTagInfo>userRoleScopeTagsprotected StringuserRoleScopeTagsNextLink
-
Constructor Summary
Constructors Modifier Constructor Description protectedAuditActor()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AuditActor.Builderbuilder()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>getRemoteTenantId()“Remote Tenant Id”Optional<String>getRemoteUserId()“Remote User Id”Optional<String>getServicePrincipalName()“Service Principal Name (SPN).”Optional<String>getType()“Actor Type.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<String>getUserId()“User Id.”com.github.davidmoten.odata.client.CollectionPage<String>getUserPermissions()“List of user permissions when the audit was performed.”com.github.davidmoten.odata.client.CollectionPage<String>getUserPermissions(com.github.davidmoten.odata.client.HttpRequestOptions options)“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.”com.github.davidmoten.odata.client.CollectionPage<RoleScopeTagInfo>getUserRoleScopeTags(com.github.davidmoten.odata.client.HttpRequestOptions options)“List of user scope tags when the audit was performed.”StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()AuditActorwithApplicationDisplayName(String applicationDisplayName)Returns an immutable copy ofthiswith just theapplicationDisplayNamefield changed.AuditActorwithApplicationId(String applicationId)Returns an immutable copy ofthiswith just theapplicationIdfield changed.AuditActorwithIpAddress(String ipAddress)Returns an immutable copy ofthiswith just theipAddressfield changed.AuditActorwithRemoteTenantId(String remoteTenantId)Returns an immutable copy ofthiswith just theremoteTenantIdfield changed.AuditActorwithRemoteUserId(String remoteUserId)Returns an immutable copy ofthiswith just theremoteUserIdfield changed.AuditActorwithServicePrincipalName(String servicePrincipalName)Returns an immutable copy ofthiswith just theservicePrincipalNamefield changed.AuditActorwithType(String type)Returns an immutable copy ofthiswith just thetypefield changed.AuditActorwithUnmappedField(String name, String value)AuditActorwithUserId(String userId)Returns an immutable copy ofthiswith just theuserIdfield changed.AuditActorwithUserPrincipalName(String userPrincipalName)Returns an immutable copy ofthiswith just theuserPrincipalNamefield changed.
-
-
-
Field Detail
-
contextPath
protected com.github.davidmoten.odata.client.ContextPath contextPath
-
unmappedFields
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
-
odataType
protected String odataType
-
applicationDisplayName
protected String applicationDisplayName
-
applicationId
protected String applicationId
-
ipAddress
protected String ipAddress
-
remoteTenantId
protected String remoteTenantId
-
remoteUserId
protected String remoteUserId
-
servicePrincipalName
protected String servicePrincipalName
-
type
protected String type
-
userId
protected String userId
-
userPermissionsNextLink
protected String userPermissionsNextLink
-
userPrincipalName
protected String userPrincipalName
-
userRoleScopeTags
protected List<RoleScopeTagInfo> userRoleScopeTags
-
userRoleScopeTagsNextLink
protected String userRoleScopeTagsNextLink
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getApplicationDisplayName
public Optional<String> getApplicationDisplayName()
“Name of the Application.”- Returns:
- property applicationDisplayName
-
withApplicationDisplayName
public AuditActor withApplicationDisplayName(String applicationDisplayName)
Returns an immutable copy ofthiswith just theapplicationDisplayNamefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Name of the Application.”
- Parameters:
applicationDisplayName- new value ofapplicationDisplayNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theapplicationDisplayNamefield changed
-
getApplicationId
public Optional<String> getApplicationId()
“AAD Application Id.”- Returns:
- property applicationId
-
withApplicationId
public AuditActor withApplicationId(String applicationId)
Returns an immutable copy ofthiswith just theapplicationIdfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“AAD Application Id.”
- Parameters:
applicationId- new value ofapplicationIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theapplicationIdfield changed
-
withIpAddress
public AuditActor withIpAddress(String ipAddress)
Returns an immutable copy ofthiswith just theipAddressfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“IPAddress.”
- Parameters:
ipAddress- new value ofipAddressfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theipAddressfield changed
-
getRemoteTenantId
public Optional<String> getRemoteTenantId()
“Remote Tenant Id”- Returns:
- property remoteTenantId
-
withRemoteTenantId
public AuditActor withRemoteTenantId(String remoteTenantId)
Returns an immutable copy ofthiswith just theremoteTenantIdfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“Remote Tenant Id”
- Parameters:
remoteTenantId- new value ofremoteTenantIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theremoteTenantIdfield changed
-
getRemoteUserId
public Optional<String> getRemoteUserId()
“Remote User Id”- Returns:
- property remoteUserId
-
withRemoteUserId
public AuditActor withRemoteUserId(String remoteUserId)
Returns an immutable copy ofthiswith just theremoteUserIdfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“Remote User Id”
- Parameters:
remoteUserId- new value ofremoteUserIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theremoteUserIdfield changed
-
getServicePrincipalName
public Optional<String> getServicePrincipalName()
“Service Principal Name (SPN).”- Returns:
- property servicePrincipalName
-
withServicePrincipalName
public AuditActor withServicePrincipalName(String servicePrincipalName)
Returns an immutable copy ofthiswith just theservicePrincipalNamefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Service Principal Name (SPN).”
- Parameters:
servicePrincipalName- new value ofservicePrincipalNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theservicePrincipalNamefield changed
-
withType
public AuditActor withType(String type)
Returns an immutable copy ofthiswith just thetypefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Actor Type.”
- Parameters:
type- new value oftypefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thetypefield changed
-
withUserId
public AuditActor withUserId(String userId)
Returns an immutable copy ofthiswith just theuserIdfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“User Id.”
- Parameters:
userId- new value ofuserIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theuserIdfield changed
-
getUserPermissions
public com.github.davidmoten.odata.client.CollectionPage<String> getUserPermissions()
“List of user permissions when the audit was performed.”- Returns:
- property userPermissions
-
getUserPermissions
public com.github.davidmoten.odata.client.CollectionPage<String> getUserPermissions(com.github.davidmoten.odata.client.HttpRequestOptions options)
“List of user permissions when the audit was performed.”- Parameters:
options- specify connect and read timeouts- Returns:
- property userPermissions
-
getUserPrincipalName
public Optional<String> getUserPrincipalName()
“User Principal Name (UPN).”- Returns:
- property userPrincipalName
-
withUserPrincipalName
public AuditActor withUserPrincipalName(String userPrincipalName)
Returns an immutable copy ofthiswith just theuserPrincipalNamefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“User Principal Name (UPN).”
- Parameters:
userPrincipalName- new value ofuserPrincipalNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theuserPrincipalNamefield changed
-
getUserRoleScopeTags
public com.github.davidmoten.odata.client.CollectionPage<RoleScopeTagInfo> getUserRoleScopeTags()
“List of user scope tags when the audit was performed.”- Returns:
- property userRoleScopeTags
-
getUserRoleScopeTags
public com.github.davidmoten.odata.client.CollectionPage<RoleScopeTagInfo> getUserRoleScopeTags(com.github.davidmoten.odata.client.HttpRequestOptions options)
“List of user scope tags when the audit was performed.”- Parameters:
options- specify connect and read timeouts- Returns:
- property userRoleScopeTags
-
withUnmappedField
public AuditActor withUnmappedField(String name, String value)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType
-
builder
public static AuditActor.Builder builder()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
-