com.huaweicloud.sdk.frs.v2.model.DeleteFacesBatchReq Maven / Gradle / Ivy
package com.huaweicloud.sdk.frs.v2.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Objects;
/**
* DeleteFacesBatchReq
*/
public class DeleteFacesBatchReq {
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonProperty(value = "filter")
private String filter;
public DeleteFacesBatchReq withFilter(String filter) {
this.filter = filter;
return this;
}
/**
* [过滤条件,参考[filter语法](https://support.huaweicloud.com/api-face/face_02_0014.html)。](tag:hc) [过滤条件,参考[filter语法](https://support.huaweicloud.com/intl/zh-cn/api-face/face_02_0014.html)。](tag:hk)
* @return filter
*/
public String getFilter() {
return filter;
}
public void setFilter(String filter) {
this.filter = filter;
}
@Override
public boolean equals(java.lang.Object obj) {
if (this == obj) {
return true;
}
if (obj == null || getClass() != obj.getClass()) {
return false;
}
DeleteFacesBatchReq that = (DeleteFacesBatchReq) obj;
return Objects.equals(this.filter, that.filter);
}
@Override
public int hashCode() {
return Objects.hash(filter);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class DeleteFacesBatchReq {\n");
sb.append(" filter: ").append(toIndentedString(filter)).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 ");
}
}