com.bmc.truesight.saas.meter.client.response.model.Interface Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of meter-client Show documentation
Show all versions of meter-client Show documentation
A java library for interacting with the TrueSight Meter.
package com.bmc.truesight.saas.meter.client.response.model;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import org.immutables.value.Value;
import java.util.List;
import java.util.Optional;
@JsonDeserialize(as = ImmutableInterface.class)
@Value.Immutable
public abstract class Interface {
public abstract String name();
public abstract String type();
public abstract int mtu();
public abstract Optional ether();
public abstract Optional driverName();
public abstract Optional driverVersion();
public abstract Optional firmwareVersion();
// todo parse these -- "addrs":["127.0.0.1/8","::1","fe80:1::1"]
public abstract List addrs();
public abstract int flagBits();
public abstract List flags();
}