![JAR search and dependency download from the Maven repository](/logo.png)
com.oneops.infoblox.model.host.Host 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;
import java.util.List;
/**
* DNS Host record.
*
* @author Suresh G
*/
@AutoValue
public abstract class Host {
public abstract String view();
public abstract List aliases();
@Json(name = "_ref")
public abstract String ref();
public abstract String name();
@Json(name = "ipv4addrs")
public abstract List ipv4Addrs();
public static Host create(String view, List aliases, String ref, String name,
List ipv4Addrs) {
return new AutoValue_Host(view, aliases, ref, name, ipv4Addrs);
}
public static JsonAdapter jsonAdapter(Moshi moshi) {
return new AutoValue_Host.MoshiJsonAdapter(moshi);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy