com.volcengine.waf.model.ListHostGroupRequest Maven / Gradle / Ivy
/*
* waf
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: common-version
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
package com.volcengine.waf.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.IOException;
import javax.validation.constraints.*;
import javax.validation.Valid;
/**
* ListHostGroupRequest
*/
public class ListHostGroupRequest {
@SerializedName("HostFix")
private String hostFix = null;
@SerializedName("HostGroupID")
private Integer hostGroupID = null;
@SerializedName("ListAll")
private Boolean listAll = null;
@SerializedName("NameFix")
private String nameFix = null;
@SerializedName("Page")
private Integer page = null;
@SerializedName("PageSize")
private Integer pageSize = null;
@SerializedName("RuleTag")
private String ruleTag = null;
@SerializedName("TimeOrderBy")
private String timeOrderBy = null;
public ListHostGroupRequest hostFix(String hostFix) {
this.hostFix = hostFix;
return this;
}
/**
* Get hostFix
* @return hostFix
**/
@Schema(description = "")
public String getHostFix() {
return hostFix;
}
public void setHostFix(String hostFix) {
this.hostFix = hostFix;
}
public ListHostGroupRequest hostGroupID(Integer hostGroupID) {
this.hostGroupID = hostGroupID;
return this;
}
/**
* Get hostGroupID
* @return hostGroupID
**/
@Schema(description = "")
public Integer getHostGroupID() {
return hostGroupID;
}
public void setHostGroupID(Integer hostGroupID) {
this.hostGroupID = hostGroupID;
}
public ListHostGroupRequest listAll(Boolean listAll) {
this.listAll = listAll;
return this;
}
/**
* Get listAll
* @return listAll
**/
@Schema(description = "")
public Boolean isListAll() {
return listAll;
}
public void setListAll(Boolean listAll) {
this.listAll = listAll;
}
public ListHostGroupRequest nameFix(String nameFix) {
this.nameFix = nameFix;
return this;
}
/**
* Get nameFix
* @return nameFix
**/
@Schema(description = "")
public String getNameFix() {
return nameFix;
}
public void setNameFix(String nameFix) {
this.nameFix = nameFix;
}
public ListHostGroupRequest page(Integer page) {
this.page = page;
return this;
}
/**
* Get page
* @return page
**/
@Schema(description = "")
public Integer getPage() {
return page;
}
public void setPage(Integer page) {
this.page = page;
}
public ListHostGroupRequest pageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
/**
* Get pageSize
* @return pageSize
**/
@Schema(description = "")
public Integer getPageSize() {
return pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
}
public ListHostGroupRequest ruleTag(String ruleTag) {
this.ruleTag = ruleTag;
return this;
}
/**
* Get ruleTag
* @return ruleTag
**/
@Schema(description = "")
public String getRuleTag() {
return ruleTag;
}
public void setRuleTag(String ruleTag) {
this.ruleTag = ruleTag;
}
public ListHostGroupRequest timeOrderBy(String timeOrderBy) {
this.timeOrderBy = timeOrderBy;
return this;
}
/**
* Get timeOrderBy
* @return timeOrderBy
**/
@Schema(description = "")
public String getTimeOrderBy() {
return timeOrderBy;
}
public void setTimeOrderBy(String timeOrderBy) {
this.timeOrderBy = timeOrderBy;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ListHostGroupRequest listHostGroupRequest = (ListHostGroupRequest) o;
return Objects.equals(this.hostFix, listHostGroupRequest.hostFix) &&
Objects.equals(this.hostGroupID, listHostGroupRequest.hostGroupID) &&
Objects.equals(this.listAll, listHostGroupRequest.listAll) &&
Objects.equals(this.nameFix, listHostGroupRequest.nameFix) &&
Objects.equals(this.page, listHostGroupRequest.page) &&
Objects.equals(this.pageSize, listHostGroupRequest.pageSize) &&
Objects.equals(this.ruleTag, listHostGroupRequest.ruleTag) &&
Objects.equals(this.timeOrderBy, listHostGroupRequest.timeOrderBy);
}
@Override
public int hashCode() {
return Objects.hash(hostFix, hostGroupID, listAll, nameFix, page, pageSize, ruleTag, timeOrderBy);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ListHostGroupRequest {\n");
sb.append(" hostFix: ").append(toIndentedString(hostFix)).append("\n");
sb.append(" hostGroupID: ").append(toIndentedString(hostGroupID)).append("\n");
sb.append(" listAll: ").append(toIndentedString(listAll)).append("\n");
sb.append(" nameFix: ").append(toIndentedString(nameFix)).append("\n");
sb.append(" page: ").append(toIndentedString(page)).append("\n");
sb.append(" pageSize: ").append(toIndentedString(pageSize)).append("\n");
sb.append(" ruleTag: ").append(toIndentedString(ruleTag)).append("\n");
sb.append(" timeOrderBy: ").append(toIndentedString(timeOrderBy)).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 ");
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy