
au.org.consumerdatastandards.holder.model.telco.TelcoPaymentScheduleResponseData Maven / Gradle / Ivy
The newest version!
package au.org.consumerdatastandards.holder.model.telco;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;
/**
* TelcoPaymentScheduleResponseData
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.SpringCodegen",
date = "2022-12-23T11:32:06.900+11:00[Australia/Sydney]")
public class TelcoPaymentScheduleResponseData {
@JsonProperty("paymentSchedules")
@Valid
private List paymentSchedules = new ArrayList<>();
public TelcoPaymentScheduleResponseData paymentSchedules(List paymentSchedules) {
this.paymentSchedules = paymentSchedules;
return this;
}
public TelcoPaymentScheduleResponseData addPaymentSchedulesItem(TelcoPaymentSchedule paymentSchedulesItem) {
this.paymentSchedules.add(paymentSchedulesItem);
return this;
}
/**
* Array may be empty if no payment schedule exist
*
* @return paymentSchedules
*/
@ApiModelProperty(required = true,
value = "Array may be empty if no payment schedule exist")
@NotNull
@Valid
public List getPaymentSchedules() {
return paymentSchedules;
}
public void setPaymentSchedules(List paymentSchedules) {
this.paymentSchedules = paymentSchedules;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
TelcoPaymentScheduleResponseData telcoPaymentScheduleResponseData = (TelcoPaymentScheduleResponseData) o;
return Objects.equals(this.paymentSchedules, telcoPaymentScheduleResponseData.paymentSchedules);
}
@Override
public int hashCode() {
return Objects.hash(paymentSchedules);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TelcoPaymentScheduleResponseData {\n");
sb.append(" paymentSchedules: ").append(toIndentedString(paymentSchedules)).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(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy