Class RestInterfaceStatus
java.lang.Object
de.dlr.proseo.api.auxipmon.rest.model.RestInterfaceStatus
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new RestInterfaceStatus.RestInterfaceStatus(String id, Boolean available, Double performance) Creates a new RestInterfaceStatus. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the available.getId()Returns the id.Returns the performance.inthashCode()voidsetAvailable(Boolean available) Set the available.voidSet the id.voidsetPerformance(Double performance) Set the performance.toString()
-
Field Details
-
serialVersionUID
static final long serialVersionUID- See Also:
-
id
Interface identifier -
available
Flag indicating whether the interface endpoint is reachable -
performance
Latest download performance in MiB/s
-
-
Constructor Details
-
RestInterfaceStatus
public RestInterfaceStatus()Creates a new RestInterfaceStatus. -
RestInterfaceStatus
Creates a new RestInterfaceStatus.
-
-
Method Details
-
getId
Returns the id.- Returns:
- id
-
setId
Set the id.- Parameters:
id- the new id
-
getAvailable
Returns the available.- Returns:
- available
-
setAvailable
Set the available.- Parameters:
available- the new available
-
getPerformance
Returns the performance.- Returns:
- performance
-
setPerformance
Set the performance.- Parameters:
performance- the new performance
-
hashCode
public int hashCode() -
equals
-
toString
-