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

com.volcengine.billing.model.ListOrdersRequest Maven / Gradle / Ivy

There is a newer version: 0.1.129
Show newest version
/*
 * billing
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 *
 * OpenAPI spec version: common-version
 * 
 *
 * 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.volcengine.billing.model;

import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.IOException;
import javax.validation.constraints.*;
import javax.validation.Valid;
/**
 * ListOrdersRequest
 */



public class ListOrdersRequest {
  @SerializedName("CreateTimeEnd")
  private String createTimeEnd = null;

  @SerializedName("CreateTimeStart")
  private String createTimeStart = null;

  @SerializedName("MaxResults")
  private Integer maxResults = null;

  @SerializedName("NextToken")
  private String nextToken = null;

  @SerializedName("OrderType")
  private String orderType = null;

  @SerializedName("Status")
  private String status = null;

  public ListOrdersRequest createTimeEnd(String createTimeEnd) {
    this.createTimeEnd = createTimeEnd;
    return this;
  }

   /**
   * Get createTimeEnd
   * @return createTimeEnd
  **/
  @NotNull
  @Schema(required = true, description = "")
  public String getCreateTimeEnd() {
    return createTimeEnd;
  }

  public void setCreateTimeEnd(String createTimeEnd) {
    this.createTimeEnd = createTimeEnd;
  }

  public ListOrdersRequest createTimeStart(String createTimeStart) {
    this.createTimeStart = createTimeStart;
    return this;
  }

   /**
   * Get createTimeStart
   * @return createTimeStart
  **/
  @NotNull
  @Schema(required = true, description = "")
  public String getCreateTimeStart() {
    return createTimeStart;
  }

  public void setCreateTimeStart(String createTimeStart) {
    this.createTimeStart = createTimeStart;
  }

  public ListOrdersRequest maxResults(Integer maxResults) {
    this.maxResults = maxResults;
    return this;
  }

   /**
   * Get maxResults
   * @return maxResults
  **/
  @NotNull
  @Schema(required = true, description = "")
  public Integer getMaxResults() {
    return maxResults;
  }

  public void setMaxResults(Integer maxResults) {
    this.maxResults = maxResults;
  }

  public ListOrdersRequest nextToken(String nextToken) {
    this.nextToken = nextToken;
    return this;
  }

   /**
   * Get nextToken
   * @return nextToken
  **/
  @NotNull
  @Schema(required = true, description = "")
  public String getNextToken() {
    return nextToken;
  }

  public void setNextToken(String nextToken) {
    this.nextToken = nextToken;
  }

  public ListOrdersRequest orderType(String orderType) {
    this.orderType = orderType;
    return this;
  }

   /**
   * Get orderType
   * @return orderType
  **/
  @NotNull
  @Schema(required = true, description = "")
  public String getOrderType() {
    return orderType;
  }

  public void setOrderType(String orderType) {
    this.orderType = orderType;
  }

  public ListOrdersRequest status(String status) {
    this.status = status;
    return this;
  }

   /**
   * Get status
   * @return status
  **/
  @NotNull
  @Schema(required = true, description = "")
  public String getStatus() {
    return status;
  }

  public void setStatus(String status) {
    this.status = status;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    ListOrdersRequest listOrdersRequest = (ListOrdersRequest) o;
    return Objects.equals(this.createTimeEnd, listOrdersRequest.createTimeEnd) &&
        Objects.equals(this.createTimeStart, listOrdersRequest.createTimeStart) &&
        Objects.equals(this.maxResults, listOrdersRequest.maxResults) &&
        Objects.equals(this.nextToken, listOrdersRequest.nextToken) &&
        Objects.equals(this.orderType, listOrdersRequest.orderType) &&
        Objects.equals(this.status, listOrdersRequest.status);
  }

  @Override
  public int hashCode() {
    return Objects.hash(createTimeEnd, createTimeStart, maxResults, nextToken, orderType, status);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class ListOrdersRequest {\n");
    
    sb.append("    createTimeEnd: ").append(toIndentedString(createTimeEnd)).append("\n");
    sb.append("    createTimeStart: ").append(toIndentedString(createTimeStart)).append("\n");
    sb.append("    maxResults: ").append(toIndentedString(maxResults)).append("\n");
    sb.append("    nextToken: ").append(toIndentedString(nextToken)).append("\n");
    sb.append("    orderType: ").append(toIndentedString(orderType)).append("\n");
    sb.append("    status: ").append(toIndentedString(status)).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