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

com.squareup.connect.models.V1DeletePageCellRequest Maven / Gradle / Ivy

There is a newer version: 2.20191120.0
Show newest version
/*
 * Square Connect API
 * Client library for accessing the Square Connect APIs
 *
 * OpenAPI spec version: 2.0
 * Contact: [email protected]
 *
 * NOTE: This class is auto generated by the swagger code generator program.
 * https://github.com/swagger-api/swagger-codegen.git
 * Do not edit the class manually.
 */


package com.squareup.connect.models;

import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 
 */
@ApiModel(description = "")

public class V1DeletePageCellRequest {
  @JsonProperty("row")
  private String row = null;

  @JsonProperty("column")
  private String column = null;

  public V1DeletePageCellRequest row(String row) {
    this.row = row;
    return this;
  }

   /**
   * The row of the cell to clear. Always an integer between 0 and 4, inclusive. Row 0 is the top row.
   * @return row
  **/
  @ApiModelProperty(value = "The row of the cell to clear. Always an integer between 0 and 4, inclusive. Row 0 is the top row.")
  public String getRow() {
    return row;
  }

  public void setRow(String row) {
    this.row = row;
  }

  public V1DeletePageCellRequest column(String column) {
    this.column = column;
    return this;
  }

   /**
   * The column of the cell to clear. Always an integer between 0 and 4, inclusive. Column 0 is the leftmost column.
   * @return column
  **/
  @ApiModelProperty(value = "The column of the cell to clear. Always an integer between 0 and 4, inclusive. Column 0 is the leftmost column.")
  public String getColumn() {
    return column;
  }

  public void setColumn(String column) {
    this.column = column;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    V1DeletePageCellRequest v1DeletePageCellRequest = (V1DeletePageCellRequest) o;
    return Objects.equals(this.row, v1DeletePageCellRequest.row) &&
        Objects.equals(this.column, v1DeletePageCellRequest.column);
  }

  @Override
  public int hashCode() {
    return Objects.hash(row, column);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class V1DeletePageCellRequest {\n");
    
    sb.append("    row: ").append(toIndentedString(row)).append("\n");
    sb.append("    column: ").append(toIndentedString(column)).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