src.main.java.com.smartbear.readyapi.client.model.HarPageTimings Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ready-api-testserver-client Show documentation
Show all versions of ready-api-testserver-client Show documentation
Java client library for creating and executing test recipes against Ready!API TestServer
The newest version!
package com.smartbear.readyapi.client.model;
import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
@javax.annotation.Generated(value = "class io.swagger.codegen.languages.JavaClientCodegen", date = "2016-07-29T13:25:49.703+02:00")
public class HarPageTimings {
private Long onContentLoad = null;
private Long onLoad = null;
private String comment = null;
/**
**/
public HarPageTimings onContentLoad(Long onContentLoad) {
this.onContentLoad = onContentLoad;
return this;
}
@ApiModelProperty(example = "null", value = "")
@JsonProperty("onContentLoad")
public Long getOnContentLoad() {
return onContentLoad;
}
public void setOnContentLoad(Long onContentLoad) {
this.onContentLoad = onContentLoad;
}
/**
**/
public HarPageTimings onLoad(Long onLoad) {
this.onLoad = onLoad;
return this;
}
@ApiModelProperty(example = "null", value = "")
@JsonProperty("onLoad")
public Long getOnLoad() {
return onLoad;
}
public void setOnLoad(Long onLoad) {
this.onLoad = onLoad;
}
/**
**/
public HarPageTimings comment(String comment) {
this.comment = comment;
return this;
}
@ApiModelProperty(example = "null", value = "")
@JsonProperty("comment")
public String getComment() {
return comment;
}
public void setComment(String comment) {
this.comment = comment;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
HarPageTimings harPageTimings = (HarPageTimings) o;
return Objects.equals(this.onContentLoad, harPageTimings.onContentLoad) &&
Objects.equals(this.onLoad, harPageTimings.onLoad) &&
Objects.equals(this.comment, harPageTimings.comment);
}
@Override
public int hashCode() {
return Objects.hash(onContentLoad, onLoad, comment);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class HarPageTimings {\n");
sb.append(" onContentLoad: ").append(toIndentedString(onContentLoad)).append("\n");
sb.append(" onLoad: ").append(toIndentedString(onLoad)).append("\n");
sb.append(" comment: ").append(toIndentedString(comment)).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(java.lang.Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}