Class Login.PrimaryInfoGetResponse

All Implemented Interfaces:
Serializable
Enclosing class:
Login

public static class Login.PrimaryInfoGetResponse extends Response
Information about the primary server in the high-availablity cluster. For optimization, we only get the hostname and addresses for primary if they are explicitly requested or if the current server is not the primary.
Author:
AlpacaGenerator
See Also:
  • Field Details

    • isPrimary

      protected Boolean isPrimary
    • hostnameForPrimary

      protected String hostnameForPrimary
    • addressForPrimary

      protected String[] addressForPrimary
    • privateAddressForPrimary

      protected String[] privateAddressForPrimary
    • isPrivate

      protected Boolean isPrivate
    • isAddressInfoRequested

      protected Boolean isAddressInfoRequested
  • Constructor Details

    • PrimaryInfoGetResponse

      public PrimaryInfoGetResponse()
  • Method Details

    • setIsPrimary

      public void setIsPrimary(Boolean isPrimary)
    • getIsPrimary

      public Boolean getIsPrimary()
    • setHostnameForPrimary

      public void setHostnameForPrimary(String hostnameForPrimary)
    • getHostnameForPrimary

      public String getHostnameForPrimary()
    • setAddressForPrimary

      public void setAddressForPrimary(String... addressForPrimary)
    • getAddressForPrimary

      public String[] getAddressForPrimary()
    • setPrivateAddressForPrimary

      public void setPrivateAddressForPrimary(String... privateAddressForPrimary)
    • getPrivateAddressForPrimary

      public String[] getPrivateAddressForPrimary()
    • setIsPrivate

      public void setIsPrivate(Boolean isPrivate)
    • getIsPrivate

      public Boolean getIsPrivate()
    • setIsAddressInfoRequested

      public void setIsAddressInfoRequested(Boolean isAddressInfoRequested)
    • getIsAddressInfoRequested

      public Boolean getIsAddressInfoRequested()
    • transform

      public void transform()
      Description copied from class: Response
      Transforms the Response from XML Content to a populated POJO
      Specified by:
      transform in class Response
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object