Class RestInterfaceStatus

java.lang.Object
de.dlr.proseo.api.auxipmon.rest.model.RestInterfaceStatus
All Implemented Interfaces:
Serializable

public class RestInterfaceStatus extends Object implements Serializable
See Also:
  • Field Details

    • serialVersionUID

      static final long serialVersionUID
      See Also:
    • id

      protected String id
      Interface identifier
    • available

      protected Boolean available
      Flag indicating whether the interface endpoint is reachable
    • performance

      protected Double performance
      Latest download performance in MiB/s
  • Constructor Details

    • RestInterfaceStatus

      public RestInterfaceStatus()
      Creates a new RestInterfaceStatus.
    • RestInterfaceStatus

      public RestInterfaceStatus(String id, Boolean available, Double performance)
      Creates a new RestInterfaceStatus.
  • Method Details

    • getId

      @NotNull public String getId()
      Returns the id.
      Returns:
      id
    • setId

      public void setId(String id)
      Set the id.
      Parameters:
      id - the new id
    • getAvailable

      @NotNull public Boolean getAvailable()
      Returns the available.
      Returns:
      available
    • setAvailable

      public void setAvailable(Boolean available)
      Set the available.
      Parameters:
      available - the new available
    • getPerformance

      @NotNull public Double getPerformance()
      Returns the performance.
      Returns:
      performance
    • setPerformance

      public void setPerformance(Double performance)
      Set the performance.
      Parameters:
      performance - the new performance
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object