au.org.consumerdatastandards.holder.model.telco.RequestServiceIds Maven / Gradle / Ivy
The newest version!
package au.org.consumerdatastandards.holder.model.telco;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Map;
import java.util.Objects;
@ApiModel
public class RequestServiceIds {
private RequestServiceIdsData data;
private Map meta;
public RequestServiceIds data(RequestServiceIdsData data) {
this.data = data;
return this;
}
@ApiModelProperty(required = true)
public RequestServiceIdsData getData() {
return data;
}
public void setData(RequestServiceIdsData data) {
this.data = data;
}
public RequestServiceIds meta(Map meta) {
this.meta = meta;
return this;
}
@ApiModelProperty
public Map getMeta() {
return meta;
}
public void setMeta(Map meta) {
this.meta = meta;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
RequestServiceIds requestServiceIds = (RequestServiceIds) o;
return Objects.equals(this.data, requestServiceIds.data) &&
Objects.equals(this.meta, requestServiceIds.meta);
}
@Override
public int hashCode() {
return Objects.hash(
data,
meta);
}
@Override
public String toString() {
return "class RequestServiceIds {\n" +
" data: " + toIndentedString(data) + "\n" +
" meta: " + toIndentedString(meta) + "\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 - 2024 Weber Informatics LLC | Privacy Policy