
com.vmware.avi.sdk.model.StaticIpAllocInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of avisdk Show documentation
Show all versions of avisdk Show documentation
Avi SDK is a java API which creates a session with controller and perform CRUD operations.
/*
* 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 StaticIpAllocInfo is a POJO class extends AviRestResource that used for creating
* StaticIpAllocInfo.
*
* @version 1.0
* @since
*
*/
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class StaticIpAllocInfo {
@JsonProperty("ip")
private IpAddr ip;
@JsonProperty("obj_info")
private String objInfo;
@JsonProperty("obj_uuid")
private String objUuid;
/**
* This is the getter method this will return the attribute value.
* Ip address.
* Field introduced in 20.1.3.
* Allowed in enterprise edition with any value, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @return ip
*/
public IpAddr getIp() {
return ip;
}
/**
* This is the setter method to the attribute.
* Ip address.
* Field introduced in 20.1.3.
* Allowed in enterprise edition with any value, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @param ip set the ip.
*/
public void setIp(IpAddr ip) {
this.ip = ip;
}
/**
* This is the getter method this will return the attribute value.
* Object metadata.
* Field introduced in 20.1.3.
* Allowed in enterprise edition with any value, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @return objInfo
*/
public String getObjInfo() {
return objInfo;
}
/**
* This is the setter method to the attribute.
* Object metadata.
* Field introduced in 20.1.3.
* Allowed in enterprise edition with any value, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @param objInfo set the objInfo.
*/
public void setObjInfo(String objInfo) {
this.objInfo = objInfo;
}
/**
* This is the getter method this will return the attribute value.
* Object which this ip address is allocated to.
* Field introduced in 20.1.3.
* Allowed in enterprise edition with any value, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @return objUuid
*/
public String getObjUuid() {
return objUuid;
}
/**
* This is the setter method to the attribute.
* Object which this ip address is allocated to.
* Field introduced in 20.1.3.
* Allowed in enterprise edition with any value, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @param objUuid set the objUuid.
*/
public void setObjUuid(String objUuid) {
this.objUuid = objUuid;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
StaticIpAllocInfo objStaticIpAllocInfo = (StaticIpAllocInfo) o;
return Objects.equals(this.ip, objStaticIpAllocInfo.ip)&&
Objects.equals(this.objInfo, objStaticIpAllocInfo.objInfo)&&
Objects.equals(this.objUuid, objStaticIpAllocInfo.objUuid);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class StaticIpAllocInfo {\n");
sb.append(" ip: ").append(toIndentedString(ip)).append("\n");
sb.append(" objInfo: ").append(toIndentedString(objInfo)).append("\n");
sb.append(" objUuid: ").append(toIndentedString(objUuid)).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