Package odata.msgraph.client.complex
Class AuditActor
- java.lang.Object
-
- odata.msgraph.client.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 StringauditActorTypeprotected com.github.davidmoten.odata.client.ContextPathcontextPathprotected StringipAddressprotected StringodataTypeprotected StringservicePrincipalNameprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFieldsprotected StringuserIdprotected List<String>userPermissionsprotected StringuserPermissionsNextLinkprotected StringuserPrincipalName
-
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>getAuditActorType()“Actor Type.”Optional<String>getIpAddress()“IPAddress.”Optional<String>getServicePrincipalName()“Service Principal Name (SPN).”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).”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.AuditActorwithAuditActorType(String auditActorType)Returns an immutable copy ofthiswith just theauditActorTypefield changed.AuditActorwithIpAddress(String ipAddress)Returns an immutable copy ofthiswith just theipAddressfield changed.AuditActorwithServicePrincipalName(String servicePrincipalName)Returns an immutable copy ofthiswith just theservicePrincipalNamefield changed.AuditActorwithUnmappedField(String name, Object 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
-
auditActorType
protected String auditActorType
-
ipAddress
protected String ipAddress
-
servicePrincipalName
protected String servicePrincipalName
-
userId
protected String userId
-
userPermissionsNextLink
protected String userPermissionsNextLink
-
userPrincipalName
protected String userPrincipalName
-
-
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
-
getAuditActorType
public Optional<String> getAuditActorType()
“Actor Type.”- Returns:
- property auditActorType
-
withAuditActorType
public AuditActor withAuditActorType(String auditActorType)
Returns an immutable copy ofthiswith just theauditActorTypefield 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:
auditActorType- new value ofauditActorTypefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theauditActorTypefield 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
-
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
-
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
-
withUnmappedField
public AuditActor withUnmappedField(String name, Object 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
-
-