
au.org.consumerdatastandards.holder.model.energy.RequestServicePointIdsData Maven / Gradle / Ivy
The newest version!
package au.org.consumerdatastandards.holder.model.energy;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.List;
import java.util.Objects;
@ApiModel
public class RequestServicePointIdsData {
/**
* Get servicePointIds
*/
private List servicePointIds;
public RequestServicePointIdsData servicePointIds(List servicePointIds) {
this.servicePointIds = servicePointIds;
return this;
}
public RequestServicePointIdsData addItem(String servicePointId) {
this.servicePointIds.add(servicePointId);
return this;
}
@ApiModelProperty(required = true)
public List getServicePointIds() {
return servicePointIds;
}
public void setServicePointIds(List servicePointIds) {
this.servicePointIds = servicePointIds;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
RequestServicePointIdsData requestServicePointIdsData = (RequestServicePointIdsData) o;
return Objects.equals(this.servicePointIds, requestServicePointIdsData.servicePointIds);
}
@Override
public int hashCode() {
return Objects.hash(
servicePointIds);
}
@Override
public String toString() {
return "class RequestServicePointIdsData {\n" +
" servicePointIds: " + toIndentedString(servicePointIds) + "\n" +
"}";
}
/**
* 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