Class JellyfinConnectionResult

java.lang.Object
com.lariflix.jemm.dtos.JellyfinConnectionResult

public class JellyfinConnectionResult extends Object
This class represents the result of a connection attempt to a Jellyfin server. It is used to store and manage information related to the result of a connection attempt.
Since:
1.0
Author:
Cesar Bianchi
  • Constructor Details

    • JellyfinConnectionResult

      public JellyfinConnectionResult()
      Constructs a new JellyfinConnectionResult object.
  • Method Details

    • getMessage

      public String getMessage()
      Gets the message associated with the connection result.
      Returns:
      The message.
    • setMessage

      public void setMessage(String message)
      Sets the message associated with the connection result.
      Parameters:
      message - The message to set.
    • getResponseCode

      public int getResponseCode()
      Gets the response code of the connection attempt.
      Returns:
      The response code.
    • setResponseCode

      public void setResponseCode(int responseCode)
      Sets the response code of the connection attempt.
      Parameters:
      responseCode - The response code to set.
    • isIsConnected

      public boolean isIsConnected()
      Checks if the connection attempt was successful.
      Returns:
      True if connected, false otherwise.
    • setIsConnected

      public void setIsConnected(boolean isConnected)
      Sets the connection status.
      Parameters:
      isConnected - The connection status to set.
    • getIsConnected

      public boolean getIsConnected()