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

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

There is a newer version: 0.1.144
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 java.util.ArrayList;
import java.util.List;
import javax.validation.constraints.*;
import javax.validation.Valid;
/**
 * ListBillRequest
 */



public class ListBillRequest {
  @SerializedName("BillCategoryParent")
  private List billCategoryParent = null;

  @SerializedName("BillPeriod")
  private String billPeriod = null;

  @SerializedName("BillingMode")
  private List billingMode = null;

  @SerializedName("IgnoreZero")
  private Integer ignoreZero = null;

  @SerializedName("Limit")
  private Integer limit = null;

  @SerializedName("NeedRecordNum")
  private Integer needRecordNum = null;

  @SerializedName("Offset")
  private Integer offset = null;

  @SerializedName("OwnerID")
  private List ownerID = null;

  @SerializedName("PayStatus")
  private String payStatus = null;

  @SerializedName("PayerID")
  private List payerID = null;

  @SerializedName("Product")
  private List product = null;

  public ListBillRequest billCategoryParent(List billCategoryParent) {
    this.billCategoryParent = billCategoryParent;
    return this;
  }

  public ListBillRequest addBillCategoryParentItem(String billCategoryParentItem) {
    if (this.billCategoryParent == null) {
      this.billCategoryParent = new ArrayList();
    }
    this.billCategoryParent.add(billCategoryParentItem);
    return this;
  }

   /**
   * Get billCategoryParent
   * @return billCategoryParent
  **/
  @Schema(description = "")
  public List getBillCategoryParent() {
    return billCategoryParent;
  }

  public void setBillCategoryParent(List billCategoryParent) {
    this.billCategoryParent = billCategoryParent;
  }

  public ListBillRequest billPeriod(String billPeriod) {
    this.billPeriod = billPeriod;
    return this;
  }

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

  public void setBillPeriod(String billPeriod) {
    this.billPeriod = billPeriod;
  }

  public ListBillRequest billingMode(List billingMode) {
    this.billingMode = billingMode;
    return this;
  }

  public ListBillRequest addBillingModeItem(String billingModeItem) {
    if (this.billingMode == null) {
      this.billingMode = new ArrayList();
    }
    this.billingMode.add(billingModeItem);
    return this;
  }

   /**
   * Get billingMode
   * @return billingMode
  **/
  @Schema(description = "")
  public List getBillingMode() {
    return billingMode;
  }

  public void setBillingMode(List billingMode) {
    this.billingMode = billingMode;
  }

  public ListBillRequest ignoreZero(Integer ignoreZero) {
    this.ignoreZero = ignoreZero;
    return this;
  }

   /**
   * Get ignoreZero
   * @return ignoreZero
  **/
  @Schema(description = "")
  public Integer getIgnoreZero() {
    return ignoreZero;
  }

  public void setIgnoreZero(Integer ignoreZero) {
    this.ignoreZero = ignoreZero;
  }

  public ListBillRequest limit(Integer limit) {
    this.limit = limit;
    return this;
  }

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

  public void setLimit(Integer limit) {
    this.limit = limit;
  }

  public ListBillRequest needRecordNum(Integer needRecordNum) {
    this.needRecordNum = needRecordNum;
    return this;
  }

   /**
   * Get needRecordNum
   * @return needRecordNum
  **/
  @Schema(description = "")
  public Integer getNeedRecordNum() {
    return needRecordNum;
  }

  public void setNeedRecordNum(Integer needRecordNum) {
    this.needRecordNum = needRecordNum;
  }

  public ListBillRequest offset(Integer offset) {
    this.offset = offset;
    return this;
  }

   /**
   * Get offset
   * @return offset
  **/
  @Schema(description = "")
  public Integer getOffset() {
    return offset;
  }

  public void setOffset(Integer offset) {
    this.offset = offset;
  }

  public ListBillRequest ownerID(List ownerID) {
    this.ownerID = ownerID;
    return this;
  }

  public ListBillRequest addOwnerIDItem(Long ownerIDItem) {
    if (this.ownerID == null) {
      this.ownerID = new ArrayList();
    }
    this.ownerID.add(ownerIDItem);
    return this;
  }

   /**
   * Get ownerID
   * @return ownerID
  **/
  @Schema(description = "")
  public List getOwnerID() {
    return ownerID;
  }

  public void setOwnerID(List ownerID) {
    this.ownerID = ownerID;
  }

  public ListBillRequest payStatus(String payStatus) {
    this.payStatus = payStatus;
    return this;
  }

   /**
   * Get payStatus
   * @return payStatus
  **/
  @Schema(description = "")
  public String getPayStatus() {
    return payStatus;
  }

  public void setPayStatus(String payStatus) {
    this.payStatus = payStatus;
  }

  public ListBillRequest payerID(List payerID) {
    this.payerID = payerID;
    return this;
  }

  public ListBillRequest addPayerIDItem(Long payerIDItem) {
    if (this.payerID == null) {
      this.payerID = new ArrayList();
    }
    this.payerID.add(payerIDItem);
    return this;
  }

   /**
   * Get payerID
   * @return payerID
  **/
  @Schema(description = "")
  public List getPayerID() {
    return payerID;
  }

  public void setPayerID(List payerID) {
    this.payerID = payerID;
  }

  public ListBillRequest product(List product) {
    this.product = product;
    return this;
  }

  public ListBillRequest addProductItem(String productItem) {
    if (this.product == null) {
      this.product = new ArrayList();
    }
    this.product.add(productItem);
    return this;
  }

   /**
   * Get product
   * @return product
  **/
  @Schema(description = "")
  public List getProduct() {
    return product;
  }

  public void setProduct(List product) {
    this.product = product;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    ListBillRequest listBillRequest = (ListBillRequest) o;
    return Objects.equals(this.billCategoryParent, listBillRequest.billCategoryParent) &&
        Objects.equals(this.billPeriod, listBillRequest.billPeriod) &&
        Objects.equals(this.billingMode, listBillRequest.billingMode) &&
        Objects.equals(this.ignoreZero, listBillRequest.ignoreZero) &&
        Objects.equals(this.limit, listBillRequest.limit) &&
        Objects.equals(this.needRecordNum, listBillRequest.needRecordNum) &&
        Objects.equals(this.offset, listBillRequest.offset) &&
        Objects.equals(this.ownerID, listBillRequest.ownerID) &&
        Objects.equals(this.payStatus, listBillRequest.payStatus) &&
        Objects.equals(this.payerID, listBillRequest.payerID) &&
        Objects.equals(this.product, listBillRequest.product);
  }

  @Override
  public int hashCode() {
    return Objects.hash(billCategoryParent, billPeriod, billingMode, ignoreZero, limit, needRecordNum, offset, ownerID, payStatus, payerID, product);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class ListBillRequest {\n");
    
    sb.append("    billCategoryParent: ").append(toIndentedString(billCategoryParent)).append("\n");
    sb.append("    billPeriod: ").append(toIndentedString(billPeriod)).append("\n");
    sb.append("    billingMode: ").append(toIndentedString(billingMode)).append("\n");
    sb.append("    ignoreZero: ").append(toIndentedString(ignoreZero)).append("\n");
    sb.append("    limit: ").append(toIndentedString(limit)).append("\n");
    sb.append("    needRecordNum: ").append(toIndentedString(needRecordNum)).append("\n");
    sb.append("    offset: ").append(toIndentedString(offset)).append("\n");
    sb.append("    ownerID: ").append(toIndentedString(ownerID)).append("\n");
    sb.append("    payStatus: ").append(toIndentedString(payStatus)).append("\n");
    sb.append("    payerID: ").append(toIndentedString(payerID)).append("\n");
    sb.append("    product: ").append(toIndentedString(product)).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