![JAR search and dependency download from the Maven repository](/logo.png)
com.oneops.infoblox.model.host.Ipv4Addrs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of infoblox-java Show documentation
Show all versions of infoblox-java Show documentation
A pure java API for Infoblox DNS appliance.
package com.oneops.infoblox.model.host;
import com.google.auto.value.AutoValue;
import com.squareup.moshi.Json;
import com.squareup.moshi.JsonAdapter;
import com.squareup.moshi.Moshi;
/**
* Host IPv4 object.
*
* @author Suresh G
*/
@AutoValue
public abstract class Ipv4Addrs {
@Json(name = "_ref")
public abstract String ref();
public abstract String host();
@Json(name = "ipv4addr")
public abstract String ipv4Addr();
@Json(name = "configure_for_dhcp")
public abstract boolean configureForDhcp();
public static Ipv4Addrs create(String ref, String host, String ipv4Addr,
boolean configureForDhcp) {
return new AutoValue_Ipv4Addrs(ref, host, ipv4Addr, configureForDhcp);
}
public static JsonAdapter jsonAdapter(Moshi moshi) {
return new AutoValue_Ipv4Addrs.MoshiJsonAdapter(moshi);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy