Package io.github.zeroone3010.yahueapi
Class HueBridge
java.lang.Object
io.github.zeroone3010.yahueapi.HueBridge
public class HueBridge
extends java.lang.Object
A class representing a Hue Bridge in the application initialization phase.
Most people are likely to have just one of these.
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description booleanequals(java.lang.Object o)java.lang.StringgetIp()Returns the IP address of the Bridge.java.lang.StringgetMac()Returns the MAC address of the Bridge.java.lang.StringgetName()Returns the human-readable name of the Bridge.inthashCode()java.lang.StringtoString()
-
Constructor Details
-
Method Details
-
getName
public java.lang.String getName()Returns the human-readable name of the Bridge.- Returns:
- The name of the Bridge.
-
getIp
public java.lang.String getIp()Returns the IP address of the Bridge.- Returns:
- The IP address of the Bridge.
-
getMac
public java.lang.String getMac()Returns the MAC address of the Bridge.- Returns:
- The MAC address of the Bridge.
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-