src.main.java.com.smartbear.readyapi.client.model.HarPage 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
package com.smartbear.readyapi.client.model;
import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.smartbear.readyapi.client.model.HarPageTimings;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
@javax.annotation.Generated(value = "class io.swagger.codegen.languages.JavaClientCodegen", date = "2016-05-24T08:38:08.699-04:00")
public class HarPage {
private String startedDateTime = null;
private String id = null;
private String title = null;
private HarPageTimings pageTimings = null;
private String comment = null;
/**
**/
public HarPage startedDateTime(String startedDateTime) {
this.startedDateTime = startedDateTime;
return this;
}
@ApiModelProperty(example = "null", value = "")
@JsonProperty("startedDateTime")
public String getStartedDateTime() {
return startedDateTime;
}
public void setStartedDateTime(String startedDateTime) {
this.startedDateTime = startedDateTime;
}
/**
**/
public HarPage id(String id) {
this.id = id;
return this;
}
@ApiModelProperty(example = "null", value = "")
@JsonProperty("id")
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
/**
**/
public HarPage title(String title) {
this.title = title;
return this;
}
@ApiModelProperty(example = "null", value = "")
@JsonProperty("title")
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
/**
**/
public HarPage pageTimings(HarPageTimings pageTimings) {
this.pageTimings = pageTimings;
return this;
}
@ApiModelProperty(example = "null", value = "")
@JsonProperty("pageTimings")
public HarPageTimings getPageTimings() {
return pageTimings;
}
public void setPageTimings(HarPageTimings pageTimings) {
this.pageTimings = pageTimings;
}
/**
**/
public HarPage 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;
}
HarPage harPage = (HarPage) o;
return Objects.equals(this.startedDateTime, harPage.startedDateTime) &&
Objects.equals(this.id, harPage.id) &&
Objects.equals(this.title, harPage.title) &&
Objects.equals(this.pageTimings, harPage.pageTimings) &&
Objects.equals(this.comment, harPage.comment);
}
@Override
public int hashCode() {
return Objects.hash(startedDateTime, id, title, pageTimings, comment);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class HarPage {\n");
sb.append(" startedDateTime: ").append(toIndentedString(startedDateTime)).append("\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" title: ").append(toIndentedString(title)).append("\n");
sb.append(" pageTimings: ").append(toIndentedString(pageTimings)).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 ");
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy