Interface SoftwareVersion
-
- All Superinterfaces:
Avp<UTF8String>
,FramedAvp
- All Known Implementing Classes:
SoftwareVersion.DefaultSoftwareVersion
public interface SoftwareVersion extends Avp<UTF8String>
This is an autogenerated class - do not edit
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
SoftwareVersion.DefaultSoftwareVersion
-
Nested classes/interfaces inherited from interface io.snice.codecs.codec.diameter.avp.Avp
Avp.AvpCodeStep<T extends DiameterType>, Avp.Builder<T extends DiameterType>, Avp.DefaultBuilder<T extends DiameterType>, Avp.DefaultValueStepBuilder<T extends DiameterType>, Avp.ValueStep<T extends DiameterType>
-
-
Field Summary
Fields Modifier and Type Field Description static int
CODE
static Function<UTF8String,SoftwareVersion>
CREATOR
static Class<UTF8String>
TYPE
The parameterized type of this Avp.-
Fields inherited from interface io.snice.codecs.codec.diameter.avp.FramedAvp
CANNOT_CAST_AVP_OF_TYPE
-
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description default long
getCode()
Convenience method for getting the AVP code from theAvpHeader
default boolean
isSoftwareVersion()
static SoftwareVersion
of(io.snice.buffer.Buffer value)
static SoftwareVersion
of(UTF8String value)
static SoftwareVersion
of(String value)
static SoftwareVersion
parse(FramedAvp raw)
default SoftwareVersion
toSoftwareVersion()
-
Methods inherited from interface io.snice.codecs.codec.diameter.avp.Avp
getValue, writeValue
-
Methods inherited from interface io.snice.codecs.codec.diameter.avp.FramedAvp
ensure, getData, getHeader, getLength, getPadding, isEnumerated, isExperimentalResult, isExperimentalResultCode, isOriginHost, isOriginRealm, isProductName, isResultCode, toDestinationHost, toDestinationRealm, toEnumerated, toExperimentalResult, toExperimentalResultCode, toHostIpAddress, toOriginHost, toOriginRealm, toProductName, toResultCode, writeTo
-
-
-
-
Field Detail
-
CODE
static final int CODE
- See Also:
- Constant Field Values
-
TYPE
static final Class<UTF8String> TYPE
The parameterized type of this Avp. The main purpose for this field is simply that it is easier to do reflection magic on a field than work out a parameterized type on a generic interface.
-
CREATOR
static final Function<UTF8String,SoftwareVersion> CREATOR
-
-
Method Detail
-
of
static SoftwareVersion of(io.snice.buffer.Buffer value)
-
of
static SoftwareVersion of(String value)
-
of
static SoftwareVersion of(UTF8String value)
-
getCode
default long getCode()
Description copied from interface:FramedAvp
Convenience method for getting the AVP code from theAvpHeader
-
isSoftwareVersion
default boolean isSoftwareVersion()
-
toSoftwareVersion
default SoftwareVersion toSoftwareVersion()
-
parse
static SoftwareVersion parse(FramedAvp raw)
-
-