io.nem.symbol.sdk.openapi.okhttp_gson.model.RentalFeesDTO Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of symbol-openapi-okhttp-gson-client Show documentation
Show all versions of symbol-openapi-okhttp-gson-client Show documentation
symbol-openapi-okhttp-gson-client Generated Open API client for symbol-sdk-java
/*
* Catapult REST Endpoints
* OpenAPI Specification of catapult-rest 1.1.2
*
* The version of the OpenAPI document: 0.9.4
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package io.nem.symbol.sdk.openapi.okhttp_gson.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.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* RentalFeesDTO
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2020-06-30T14:27:18.729Z[UTC]")
public class RentalFeesDTO {
public static final String SERIALIZED_NAME_EFFECTIVE_ROOT_NAMESPACE_RENTAL_FEE_PER_BLOCK = "effectiveRootNamespaceRentalFeePerBlock";
@SerializedName(SERIALIZED_NAME_EFFECTIVE_ROOT_NAMESPACE_RENTAL_FEE_PER_BLOCK)
private java.math.BigInteger effectiveRootNamespaceRentalFeePerBlock = null;
public static final String SERIALIZED_NAME_EFFECTIVE_CHILD_NAMESPACE_RENTAL_FEE = "effectiveChildNamespaceRentalFee";
@SerializedName(SERIALIZED_NAME_EFFECTIVE_CHILD_NAMESPACE_RENTAL_FEE)
private java.math.BigInteger effectiveChildNamespaceRentalFee = null;
public static final String SERIALIZED_NAME_EFFECTIVE_MOSAIC_RENTAL_FEE = "effectiveMosaicRentalFee";
@SerializedName(SERIALIZED_NAME_EFFECTIVE_MOSAIC_RENTAL_FEE)
private java.math.BigInteger effectiveMosaicRentalFee = null;
public RentalFeesDTO effectiveRootNamespaceRentalFeePerBlock(java.math.BigInteger effectiveRootNamespaceRentalFeePerBlock) {
this.effectiveRootNamespaceRentalFeePerBlock = effectiveRootNamespaceRentalFeePerBlock;
return this;
}
/**
* Absolute amount. An amount of 123456789 (absolute) for a mosaic with divisibility 6 means 123.456789 (relative).
* @return effectiveRootNamespaceRentalFeePerBlock
**/
@ApiModelProperty(example = "123456", required = true, value = "Absolute amount. An amount of 123456789 (absolute) for a mosaic with divisibility 6 means 123.456789 (relative).")
public java.math.BigInteger getEffectiveRootNamespaceRentalFeePerBlock() {
return effectiveRootNamespaceRentalFeePerBlock;
}
public void setEffectiveRootNamespaceRentalFeePerBlock(java.math.BigInteger effectiveRootNamespaceRentalFeePerBlock) {
this.effectiveRootNamespaceRentalFeePerBlock = effectiveRootNamespaceRentalFeePerBlock;
}
public RentalFeesDTO effectiveChildNamespaceRentalFee(java.math.BigInteger effectiveChildNamespaceRentalFee) {
this.effectiveChildNamespaceRentalFee = effectiveChildNamespaceRentalFee;
return this;
}
/**
* Absolute amount. An amount of 123456789 (absolute) for a mosaic with divisibility 6 means 123.456789 (relative).
* @return effectiveChildNamespaceRentalFee
**/
@ApiModelProperty(example = "123456", required = true, value = "Absolute amount. An amount of 123456789 (absolute) for a mosaic with divisibility 6 means 123.456789 (relative).")
public java.math.BigInteger getEffectiveChildNamespaceRentalFee() {
return effectiveChildNamespaceRentalFee;
}
public void setEffectiveChildNamespaceRentalFee(java.math.BigInteger effectiveChildNamespaceRentalFee) {
this.effectiveChildNamespaceRentalFee = effectiveChildNamespaceRentalFee;
}
public RentalFeesDTO effectiveMosaicRentalFee(java.math.BigInteger effectiveMosaicRentalFee) {
this.effectiveMosaicRentalFee = effectiveMosaicRentalFee;
return this;
}
/**
* Absolute amount. An amount of 123456789 (absolute) for a mosaic with divisibility 6 means 123.456789 (relative).
* @return effectiveMosaicRentalFee
**/
@ApiModelProperty(example = "123456", required = true, value = "Absolute amount. An amount of 123456789 (absolute) for a mosaic with divisibility 6 means 123.456789 (relative).")
public java.math.BigInteger getEffectiveMosaicRentalFee() {
return effectiveMosaicRentalFee;
}
public void setEffectiveMosaicRentalFee(java.math.BigInteger effectiveMosaicRentalFee) {
this.effectiveMosaicRentalFee = effectiveMosaicRentalFee;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
RentalFeesDTO rentalFeesDTO = (RentalFeesDTO) o;
return Objects.equals(this.effectiveRootNamespaceRentalFeePerBlock, rentalFeesDTO.effectiveRootNamespaceRentalFeePerBlock) &&
Objects.equals(this.effectiveChildNamespaceRentalFee, rentalFeesDTO.effectiveChildNamespaceRentalFee) &&
Objects.equals(this.effectiveMosaicRentalFee, rentalFeesDTO.effectiveMosaicRentalFee);
}
@Override
public int hashCode() {
return Objects.hash(effectiveRootNamespaceRentalFeePerBlock, effectiveChildNamespaceRentalFee, effectiveMosaicRentalFee);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class RentalFeesDTO {\n");
sb.append(" effectiveRootNamespaceRentalFeePerBlock: ").append(toIndentedString(effectiveRootNamespaceRentalFeePerBlock)).append("\n");
sb.append(" effectiveChildNamespaceRentalFee: ").append(toIndentedString(effectiveChildNamespaceRentalFee)).append("\n");
sb.append(" effectiveMosaicRentalFee: ").append(toIndentedString(effectiveMosaicRentalFee)).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 ");
}
}