Class AuditRecord
java.lang.Object
com.microsoft.store.partnercenter.models.ResourceBase
com.microsoft.store.partnercenter.models.auditing.AuditRecord
public class AuditRecord extends ResourceBase
Represents a record of operation performed by a partner user or application
-
Constructor Summary
Constructors Constructor Description AuditRecord() -
Method Summary
Modifier and Type Method Description StringgetApplicationId()Gets the identifier of the application invoking the operation.StringgetCustomerId()Gets the identifier of customer in whose context operation was performed.StringgetCustomerName()Gets the name of customer in whose context operation was performed.Iterable<KeyValuePair<String,String>>getCustomizedData()Gets the dictionary which holds additional data that is customized to the operation performed.StringgetId()Gets the unique identifier for the audit record.org.joda.time.DateTimegetOperationDate()Gets the date and time when the operation was performed.OperationStatusgetOperationStatus()Gets the status of the operation that is audited.OperationTypegetOperationType()Gets the type of the operation being performed.StringgetPartnerId()Gets the identifier of the partner that performed the operation.StringgetResourceNewValue()Gets the new value of the resource.StringgetResourceOldValue()Gets the old value of the resource.ResourceTypegetResourceType()Gets the type of the resource acted upon by the operation.StringgetUserPrincipalName()Gets the identifier of the user who performed the operation.voidsetApplicationId(String value)Sets the identifier of the application invoking the operation.voidsetCustomerId(String value)Sets the identifier of customer in whose context operation was performed.voidsetCustomerName(String value)Sets the name of customer in whose context operation was performed.voidsetCustomizedData(Iterable<KeyValuePair<String,String>> value)Sets the dictionary which holds additional data that is customized to the operation performed.voidsetId(String value)Sets the unique identifier for the audit record.voidsetOperationDate(org.joda.time.DateTime value)Sets the date and time when the operation was performed.voidsetOperationStatus(OperationStatus value)Sets the status of the operation that is audited.voidsetOperationType(OperationType value)Sets the type of the operation being performed.voidsetPartnerId(String value)Sets the identifier of the partner that performed the operation.voidsetResourceNewValue(String value)Sets the new value of the resource.voidsetResourceOldValue(String value)Sets the old value of the resource.voidsetResourceType(ResourceType value)Sets the type of the resource acted upon by the operation.voidsetUserPrincipalName(String value)Sets the identifier of the user who performed the operation.
-
Constructor Details
-
AuditRecord
public AuditRecord()
-
-
Method Details
-
getApplicationId
Gets the identifier of the application invoking the operation.- Returns:
- The identifier of the application invoking the operation.
-
setApplicationId
Sets the identifier of the application invoking the operation.- Parameters:
value- The identifier of the application invoking the operation.
-
getCustomizedData
Gets the dictionary which holds additional data that is customized to the operation performed.- Returns:
- The dictionary which holds additional data that is customized to the operation performed.
-
setCustomizedData
Sets the dictionary which holds additional data that is customized to the operation performed.- Parameters:
value- The dictionary which holds additional data that is customized to the operation performed.
-
getCustomerId
Gets the identifier of customer in whose context operation was performed.- Returns:
- The identifier of customer in whose context operation was performed.
-
setCustomerId
Sets the identifier of customer in whose context operation was performed.- Parameters:
value- The identifier of customer in whose context operation was performed.
-
getCustomerName
Gets the name of customer in whose context operation was performed.- Returns:
- The name of customer in whose context operation was performed.
-
setCustomerName
Sets the name of customer in whose context operation was performed.- Parameters:
value- The name of customer in whose context operation was performed.
-
getId
Gets the unique identifier for the audit record.- Returns:
- The unique identifier for the audit record.
-
setId
Sets the unique identifier for the audit record.- Parameters:
value- The unique identifier for the audit record.
-
getOperationDate
public org.joda.time.DateTime getOperationDate()Gets the date and time when the operation was performed.- Returns:
- The date and time when the operation was performed.
-
setOperationDate
public void setOperationDate(org.joda.time.DateTime value)Sets the date and time when the operation was performed.- Parameters:
value- The date and time when the operation was performed.
-
getOperationStatus
Gets the status of the operation that is audited.- Returns:
- The status of the operation that is audited.
-
setOperationStatus
Sets the status of the operation that is audited.- Parameters:
value- The status of the operation that is audited.
-
getOperationType
Gets the type of the operation being performed.- Returns:
- The type of the operation being performed.
-
setOperationType
Sets the type of the operation being performed.- Parameters:
value- The type of the operation being performed.
-
getPartnerId
Gets the identifier of the partner that performed the operation.- Returns:
- The identifier of the partner that performed the operation.
-
setPartnerId
Sets the identifier of the partner that performed the operation.- Parameters:
value- The identifier of the partner that performed the operation.
-
getResourceNewValue
Gets the new value of the resource.- Returns:
- The new value of the resource.
-
setResourceNewValue
Sets the new value of the resource.- Parameters:
value- The new value of the resource.
-
getResourceOldValue
Gets the old value of the resource.- Returns:
- The old value of the resource.
-
setResourceOldValue
Sets the old value of the resource.- Parameters:
value- The old value of the resource.
-
getResourceType
Gets the type of the resource acted upon by the operation.- Returns:
- The type of the resource acted upon by the operation.
-
setResourceType
Sets the type of the resource acted upon by the operation.- Parameters:
value- The type of the resource acted upon by the operation.
-
getUserPrincipalName
Gets the identifier of the user who performed the operation. This could be in the context of application.- Returns:
- The identifier of the user who performed the operation.
-
setUserPrincipalName
Sets the identifier of the user who performed the operation. This could be in the context of application.- Parameters:
value- The identifier of the user who performed the operation.
-