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

com.volcengine.billing.model.ListBillDetailRequest 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;
/**
 * ListBillDetailRequest
 */



public class ListBillDetailRequest {
  @SerializedName("BillCategory")
  private List billCategory = null;

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

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

  @SerializedName("ExpenseDate")
  private String expenseDate = null;

  @SerializedName("GroupPeriod")
  private Integer groupPeriod = null;

  @SerializedName("GroupTerm")
  private Integer groupTerm = null;

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

  @SerializedName("InstanceNo")
  private String instanceNo = 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("PayerID")
  private List payerID = null;

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

  public ListBillDetailRequest billCategory(List billCategory) {
    this.billCategory = billCategory;
    return this;
  }

  public ListBillDetailRequest addBillCategoryItem(String billCategoryItem) {
    if (this.billCategory == null) {
      this.billCategory = new ArrayList();
    }
    this.billCategory.add(billCategoryItem);
    return this;
  }

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

  public void setBillCategory(List billCategory) {
    this.billCategory = billCategory;
  }

  public ListBillDetailRequest 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 ListBillDetailRequest billingMode(List billingMode) {
    this.billingMode = billingMode;
    return this;
  }

  public ListBillDetailRequest 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 ListBillDetailRequest expenseDate(String expenseDate) {
    this.expenseDate = expenseDate;
    return this;
  }

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

  public void setExpenseDate(String expenseDate) {
    this.expenseDate = expenseDate;
  }

  public ListBillDetailRequest groupPeriod(Integer groupPeriod) {
    this.groupPeriod = groupPeriod;
    return this;
  }

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

  public void setGroupPeriod(Integer groupPeriod) {
    this.groupPeriod = groupPeriod;
  }

  public ListBillDetailRequest groupTerm(Integer groupTerm) {
    this.groupTerm = groupTerm;
    return this;
  }

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

  public void setGroupTerm(Integer groupTerm) {
    this.groupTerm = groupTerm;
  }

  public ListBillDetailRequest 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 ListBillDetailRequest instanceNo(String instanceNo) {
    this.instanceNo = instanceNo;
    return this;
  }

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

  public void setInstanceNo(String instanceNo) {
    this.instanceNo = instanceNo;
  }

  public ListBillDetailRequest 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 ListBillDetailRequest 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 ListBillDetailRequest 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 ListBillDetailRequest ownerID(List ownerID) {
    this.ownerID = ownerID;
    return this;
  }

  public ListBillDetailRequest 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 ListBillDetailRequest payerID(List payerID) {
    this.payerID = payerID;
    return this;
  }

  public ListBillDetailRequest 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 ListBillDetailRequest product(List product) {
    this.product = product;
    return this;
  }

  public ListBillDetailRequest 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;
    }
    ListBillDetailRequest listBillDetailRequest = (ListBillDetailRequest) o;
    return Objects.equals(this.billCategory, listBillDetailRequest.billCategory) &&
        Objects.equals(this.billPeriod, listBillDetailRequest.billPeriod) &&
        Objects.equals(this.billingMode, listBillDetailRequest.billingMode) &&
        Objects.equals(this.expenseDate, listBillDetailRequest.expenseDate) &&
        Objects.equals(this.groupPeriod, listBillDetailRequest.groupPeriod) &&
        Objects.equals(this.groupTerm, listBillDetailRequest.groupTerm) &&
        Objects.equals(this.ignoreZero, listBillDetailRequest.ignoreZero) &&
        Objects.equals(this.instanceNo, listBillDetailRequest.instanceNo) &&
        Objects.equals(this.limit, listBillDetailRequest.limit) &&
        Objects.equals(this.needRecordNum, listBillDetailRequest.needRecordNum) &&
        Objects.equals(this.offset, listBillDetailRequest.offset) &&
        Objects.equals(this.ownerID, listBillDetailRequest.ownerID) &&
        Objects.equals(this.payerID, listBillDetailRequest.payerID) &&
        Objects.equals(this.product, listBillDetailRequest.product);
  }

  @Override
  public int hashCode() {
    return Objects.hash(billCategory, billPeriod, billingMode, expenseDate, groupPeriod, groupTerm, ignoreZero, instanceNo, limit, needRecordNum, offset, ownerID, payerID, product);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class ListBillDetailRequest {\n");
    
    sb.append("    billCategory: ").append(toIndentedString(billCategory)).append("\n");
    sb.append("    billPeriod: ").append(toIndentedString(billPeriod)).append("\n");
    sb.append("    billingMode: ").append(toIndentedString(billingMode)).append("\n");
    sb.append("    expenseDate: ").append(toIndentedString(expenseDate)).append("\n");
    sb.append("    groupPeriod: ").append(toIndentedString(groupPeriod)).append("\n");
    sb.append("    groupTerm: ").append(toIndentedString(groupTerm)).append("\n");
    sb.append("    ignoreZero: ").append(toIndentedString(ignoreZero)).append("\n");
    sb.append("    instanceNo: ").append(toIndentedString(instanceNo)).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("    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