@@ -49,6 +49,9 @@ public class ConsumptionResult {
4949 @ SerializedName ("quantity" )
5050 private BigDecimal quantity = null ;
5151
52+ @ SerializedName ("billedApiCalls" )
53+ private BigDecimal billedApiCalls = null ;
54+
5255 public ConsumptionResult credit (BigDecimal credit ) {
5356 this .credit = credit ;
5457 return this ;
@@ -85,6 +88,24 @@ public void setQuantity(BigDecimal quantity) {
8588 this .quantity = quantity ;
8689 }
8790
91+ public ConsumptionResult billedApiCalls (BigDecimal billedApiCalls ) {
92+ this .billedApiCalls = billedApiCalls ;
93+ return this ;
94+ }
95+
96+ /**
97+ * Billed API calls number
98+ * @return billedApiCalls
99+ **/
100+ @ ApiModelProperty (required = true , value = "Billed API calls number" )
101+ public BigDecimal getBilledApiCalls () {
102+ return billedApiCalls ;
103+ }
104+
105+ public void setBilledApiCalls (BigDecimal billedApiCalls ) {
106+ this .billedApiCalls = billedApiCalls ;
107+ }
108+
88109
89110 @ Override
90111 public boolean equals (java .lang .Object o ) {
@@ -96,12 +117,13 @@ public boolean equals(java.lang.Object o) {
96117 }
97118 ConsumptionResult consumptionResult = (ConsumptionResult ) o ;
98119 return Objects .equals (this .credit , consumptionResult .credit ) &&
99- Objects .equals (this .quantity , consumptionResult .quantity );
120+ Objects .equals (this .quantity , consumptionResult .quantity ) &&
121+ Objects .equals (this .billedApiCalls , consumptionResult .billedApiCalls );
100122 }
101123
102124 @ Override
103125 public int hashCode () {
104- return Objects .hash (credit , quantity );
126+ return Objects .hash (credit , quantity , billedApiCalls );
105127 }
106128
107129
@@ -112,6 +134,7 @@ public String toString() {
112134
113135 sb .append (" credit: " ).append (toIndentedString (credit )).append ("\n " );
114136 sb .append (" quantity: " ).append (toIndentedString (quantity )).append ("\n " );
137+ sb .append (" billedApiCalls: " ).append (toIndentedString (billedApiCalls )).append ("\n " );
115138 sb .append ("}" );
116139 return sb .toString ();
117140 }
0 commit comments