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 Details

  • Method Details

    • getApplicationId

      public String getApplicationId()
      Gets the identifier of the application invoking the operation.
      Returns:
      The identifier of the application invoking the operation.
    • setApplicationId

      public void setApplicationId​(String value)
      Sets the identifier of the application invoking the operation.
      Parameters:
      value - The identifier of the application invoking the operation.
    • getCustomizedData

      public Iterable<KeyValuePair<String,​String>> 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

      public void setCustomizedData​(Iterable<KeyValuePair<String,​String>> value)
      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

      public String getCustomerId()
      Gets the identifier of customer in whose context operation was performed.
      Returns:
      The identifier of customer in whose context operation was performed.
    • setCustomerId

      public void setCustomerId​(String value)
      Sets the identifier of customer in whose context operation was performed.
      Parameters:
      value - The identifier of customer in whose context operation was performed.
    • getCustomerName

      public String getCustomerName()
      Gets the name of customer in whose context operation was performed.
      Returns:
      The name of customer in whose context operation was performed.
    • setCustomerName

      public void setCustomerName​(String value)
      Sets the name of customer in whose context operation was performed.
      Parameters:
      value - The name of customer in whose context operation was performed.
    • getId

      public String getId()
      Gets the unique identifier for the audit record.
      Returns:
      The unique identifier for the audit record.
    • setId

      public void setId​(String value)
      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

      public OperationStatus getOperationStatus()
      Gets the status of the operation that is audited.
      Returns:
      The status of the operation that is audited.
    • setOperationStatus

      public void setOperationStatus​(OperationStatus value)
      Sets the status of the operation that is audited.
      Parameters:
      value - The status of the operation that is audited.
    • getOperationType

      public OperationType getOperationType()
      Gets the type of the operation being performed.
      Returns:
      The type of the operation being performed.
    • setOperationType

      public void setOperationType​(OperationType value)
      Sets the type of the operation being performed.
      Parameters:
      value - The type of the operation being performed.
    • getPartnerId

      public String getPartnerId()
      Gets the identifier of the partner that performed the operation.
      Returns:
      The identifier of the partner that performed the operation.
    • setPartnerId

      public void setPartnerId​(String value)
      Sets the identifier of the partner that performed the operation.
      Parameters:
      value - The identifier of the partner that performed the operation.
    • getResourceNewValue

      public String getResourceNewValue()
      Gets the new value of the resource.
      Returns:
      The new value of the resource.
    • setResourceNewValue

      public void setResourceNewValue​(String value)
      Sets the new value of the resource.
      Parameters:
      value - The new value of the resource.
    • getResourceOldValue

      public String getResourceOldValue()
      Gets the old value of the resource.
      Returns:
      The old value of the resource.
    • setResourceOldValue

      public void setResourceOldValue​(String value)
      Sets the old value of the resource.
      Parameters:
      value - The old value of the resource.
    • getResourceType

      public ResourceType getResourceType()
      Gets the type of the resource acted upon by the operation.
      Returns:
      The type of the resource acted upon by the operation.
    • setResourceType

      public void setResourceType​(ResourceType value)
      Sets the type of the resource acted upon by the operation.
      Parameters:
      value - The type of the resource acted upon by the operation.
    • getUserPrincipalName

      public String 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

      public void setUserPrincipalName​(String value)
      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.