
com.vmware.avi.sdk.model.ParamSizeClass Maven / Gradle / Ivy
/*
* Copyright 2021 VMware, Inc.
* SPDX-License-Identifier: Apache License 2.0
*/
package com.vmware.avi.sdk.model;
import java.util.*;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
/**
* The ParamSizeClass is a POJO class extends AviRestResource that used for creating
* ParamSizeClass.
*
* @version 1.0
* @since
*
*/
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class ParamSizeClass {
@JsonProperty("hits")
private Integer hits;
@JsonProperty("len")
private String len;
/**
* This is the getter method this will return the attribute value.
* Field introduced in 20.1.1.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @return hits
*/
public Integer getHits() {
return hits;
}
/**
* This is the setter method to the attribute.
* Field introduced in 20.1.1.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @param hits set the hits.
*/
public void setHits(Integer hits) {
this.hits = hits;
}
/**
* This is the getter method this will return the attribute value.
* Enum options - EMPTY, SMALL, MEDIUM, LARGE, UNLIMITED.
* Field introduced in 20.1.1.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @return len
*/
public String getLen() {
return len;
}
/**
* This is the setter method to the attribute.
* Enum options - EMPTY, SMALL, MEDIUM, LARGE, UNLIMITED.
* Field introduced in 20.1.1.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @param len set the len.
*/
public void setLen(String len) {
this.len = len;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ParamSizeClass objParamSizeClass = (ParamSizeClass) o;
return Objects.equals(this.len, objParamSizeClass.len)&&
Objects.equals(this.hits, objParamSizeClass.hits);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ParamSizeClass {\n");
sb.append(" hits: ").append(toIndentedString(hits)).append("\n");
sb.append(" len: ").append(toIndentedString(len)).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 - 2025 Weber Informatics LLC | Privacy Policy