All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.tinypass.client.publisher.model.UserAudit Maven / Gradle / Ivy

There is a newer version: 16.331.0
Show newest version
package com.tinypass.client.publisher.model;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import com.tinypass.client.publisher.model.AuditChangedFieldDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class UserAudit {

  /* Public id of specific user audit record */
  private String userAuditId = null;
  

  /* uid */
  private String uid = null;
  

  /* User web session id */
  private String sessionId = null;
  

  /* The country name */
  private String countryName = null;
  

  /* The name of the city */
  private String city = null;
  

  /* The user agent (3 chars: platform, os, browser) */
  private String userAgent = null;
  

  /* Timestamp of an action */
  private Integer visited = null;
  

  /* An audit action type, such as: login, profile update, password reset */
  private String actionType = null;
  

  /* The application ID */
  private String aid = null;
  

    private List changedFields = new ArrayList();
  


  public String getUserAuditId() {
    return userAuditId;
  }
  public void setUserAuditId(String userAuditId) {
    this.userAuditId = userAuditId;
  }


  public String getUid() {
    return uid;
  }
  public void setUid(String uid) {
    this.uid = uid;
  }


  public String getSessionId() {
    return sessionId;
  }
  public void setSessionId(String sessionId) {
    this.sessionId = sessionId;
  }


  public String getCountryName() {
    return countryName;
  }
  public void setCountryName(String countryName) {
    this.countryName = countryName;
  }


  public String getCity() {
    return city;
  }
  public void setCity(String city) {
    this.city = city;
  }


  public String getUserAgent() {
    return userAgent;
  }
  public void setUserAgent(String userAgent) {
    this.userAgent = userAgent;
  }


  public Integer getVisited() {
    return visited;
  }
  public void setVisited(Integer visited) {
    this.visited = visited;
  }


  public String getActionType() {
    return actionType;
  }
  public void setActionType(String actionType) {
    this.actionType = actionType;
  }


  public String getAid() {
    return aid;
  }
  public void setAid(String aid) {
    this.aid = aid;
  }


  public List getChangedFields() {
    return changedFields;
  }
  public void setChangedFields(List changedFields) {
    this.changedFields = changedFields;
  }


  @Override
  public String toString()  {
    StringBuilder sb = new StringBuilder();
    sb.append("class UserAudit {\n");
    sb.append("  userAuditId: ").append(userAuditId).append("\n");
    sb.append("  uid: ").append(uid).append("\n");
    sb.append("  sessionId: ").append(sessionId).append("\n");
    sb.append("  countryName: ").append(countryName).append("\n");
    sb.append("  city: ").append(city).append("\n");
    sb.append("  userAgent: ").append(userAgent).append("\n");
    sb.append("  visited: ").append(visited).append("\n");
    sb.append("  actionType: ").append(actionType).append("\n");
    sb.append("  aid: ").append(aid).append("\n");
    sb.append("  changedFields: ").append(changedFields).append("\n");
    sb.append("}\n");
    return sb.toString();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy