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

src.main.java.com.smartbear.readyapi.client.model.HarTimings Maven / Gradle / Ivy

Go to download

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 HarTimings   {
  
  private Long blocked = null;
  private Long dns = null;
  private Long connect = null;
  private Long send = null;
  private Long wait = null;
  private Long receive = null;
  private Long ssl = null;
  private String comment = null;

  
  /**
   **/
  public HarTimings blocked(Long blocked) {
    this.blocked = blocked;
    return this;
  }
  
  @ApiModelProperty(example = "null", value = "")
  @JsonProperty("blocked")
  public Long getBlocked() {
    return blocked;
  }
  public void setBlocked(Long blocked) {
    this.blocked = blocked;
  }

  
  /**
   **/
  public HarTimings dns(Long dns) {
    this.dns = dns;
    return this;
  }
  
  @ApiModelProperty(example = "null", value = "")
  @JsonProperty("dns")
  public Long getDns() {
    return dns;
  }
  public void setDns(Long dns) {
    this.dns = dns;
  }

  
  /**
   **/
  public HarTimings connect(Long connect) {
    this.connect = connect;
    return this;
  }
  
  @ApiModelProperty(example = "null", value = "")
  @JsonProperty("connect")
  public Long getConnect() {
    return connect;
  }
  public void setConnect(Long connect) {
    this.connect = connect;
  }

  
  /**
   **/
  public HarTimings send(Long send) {
    this.send = send;
    return this;
  }
  
  @ApiModelProperty(example = "null", value = "")
  @JsonProperty("send")
  public Long getSend() {
    return send;
  }
  public void setSend(Long send) {
    this.send = send;
  }

  
  /**
   **/
  public HarTimings wait(Long wait) {
    this.wait = wait;
    return this;
  }
  
  @ApiModelProperty(example = "null", value = "")
  @JsonProperty("wait")
  public Long getWait() {
    return wait;
  }
  public void setWait(Long wait) {
    this.wait = wait;
  }

  
  /**
   **/
  public HarTimings receive(Long receive) {
    this.receive = receive;
    return this;
  }
  
  @ApiModelProperty(example = "null", value = "")
  @JsonProperty("receive")
  public Long getReceive() {
    return receive;
  }
  public void setReceive(Long receive) {
    this.receive = receive;
  }

  
  /**
   **/
  public HarTimings ssl(Long ssl) {
    this.ssl = ssl;
    return this;
  }
  
  @ApiModelProperty(example = "null", value = "")
  @JsonProperty("ssl")
  public Long getSsl() {
    return ssl;
  }
  public void setSsl(Long ssl) {
    this.ssl = ssl;
  }

  
  /**
   **/
  public HarTimings 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;
    }
    HarTimings harTimings = (HarTimings) o;
    return Objects.equals(this.blocked, harTimings.blocked) &&
        Objects.equals(this.dns, harTimings.dns) &&
        Objects.equals(this.connect, harTimings.connect) &&
        Objects.equals(this.send, harTimings.send) &&
        Objects.equals(this.wait, harTimings.wait) &&
        Objects.equals(this.receive, harTimings.receive) &&
        Objects.equals(this.ssl, harTimings.ssl) &&
        Objects.equals(this.comment, harTimings.comment);
  }

  @Override
  public int hashCode() {
    return Objects.hash(blocked, dns, connect, send, wait, receive, ssl, comment);
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class HarTimings {\n");
    
    sb.append("    blocked: ").append(toIndentedString(blocked)).append("\n");
    sb.append("    dns: ").append(toIndentedString(dns)).append("\n");
    sb.append("    connect: ").append(toIndentedString(connect)).append("\n");
    sb.append("    send: ").append(toIndentedString(send)).append("\n");
    sb.append("    wait: ").append(toIndentedString(wait)).append("\n");
    sb.append("    receive: ").append(toIndentedString(receive)).append("\n");
    sb.append("    ssl: ").append(toIndentedString(ssl)).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