package com.perforce.hwsclient.models;
import java.util.Objects;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import com.google.gson.annotations.SerializedName;
@ApiModel(description = "")
public class FilesCommand {
@SerializedName("depotFile")
private String depotFile = null;
@SerializedName("revision")
private String revision = null;
@SerializedName("change")
private String change = null;
@SerializedName("action")
private String action = null;
@SerializedName("time")
private Date time = null;
@SerializedName("type")
private String type = null;
/**
**/
@ApiModelProperty(value = "")
public String getDepotFile() {
return depotFile;
}
public void setDepotFile(String depotFile) {
this.depotFile = depotFile;
}
/**
**/
@ApiModelProperty(value = "")
public String getRevision() {
return revision;
}
public void setRevision(String revision) {
this.revision = revision;
}
/**
**/
@ApiModelProperty(value = "")
public String getChange() {
return change;
}
public void setChange(String change) {
this.change = change;
}
/**
**/
@ApiModelProperty(value = "")
public String getAction() {
return action;
}
public void setAction(String action) {
this.action = action;
}
/**
**/
@ApiModelProperty(value = "")
public Date getTime() {
return time;
}
public void setTime(Date time) {
this.time = time;
}
/**
**/
@ApiModelProperty(value = "")
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
FilesCommand filesCommand = (FilesCommand) o;
return Objects.equals(depotFile, filesCommand.depotFile) &&
Objects.equals(revision, filesCommand.revision) &&
Objects.equals(change, filesCommand.change) &&
Objects.equals(action, filesCommand.action) &&
Objects.equals(time, filesCommand.time) &&
Objects.equals(type, filesCommand.type);
}
@Override
public int hashCode() {
return Objects.hash(depotFile, revision, change, action, time, type);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class FilesCommand {\n");
sb.append(" depotFile: ").append(toIndentedString(depotFile)).append("\n");
sb.append(" revision: ").append(toIndentedString(revision)).append("\n");
sb.append(" change: ").append(toIndentedString(change)).append("\n");
sb.append(" action: ").append(toIndentedString(action)).append("\n");
sb.append(" time: ").append(toIndentedString(time)).append("\n");
sb.append(" type: ").append(toIndentedString(type)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
# |
Change |
User |
Description |
Committed |
|
#2
|
19634 |
swellard |
Swagger codegen - fix equals |
|
|
#1
|
19553 |
swellard |
Move and rename clients |
|
|
//guest/perforce_software/helix-web-services/main/source/clients/2016.1.0/java/src/main/java/com/perforce/hwsclient/models/FilesCommand.java |
#1
|
19535 |
drobins |
Refactor package names to hws |
|
|
//guest/perforce_software/helix-web-services/main/source/clients/2016.1.0/java/src/main/java/com/perforce/helix_web_services_client/models/FilesCommand.java |
#1
|
18795 |
tjuricek |
Use point-release versioning for the client SDKs and installers. |
|
|
//guest/perforce_software/helix-web-services/main/source/clients/2016.1/java/src/main/java/com/perforce/helix_web_services_client/models/FilesCommand.java |
#1
|
18768 |
tjuricek |
Convert depot-related methods, and change the "listing" resource to a "paths" resource, and maybe help simplify the Location concept. |
|
|