Class LightDto
java.lang.Object
io.github.zeroone3010.yahueapi.domain.LightDto
public class LightDto
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description LightDto()
-
Method Summary
Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.Object>
getCapabilities()
LightConfig
getConfig()
java.lang.String
getManufacturername()
java.lang.String
getModelid()
java.lang.String
getName()
java.lang.String
getProductid()
java.lang.String
getProductName()
LightState
getState()
java.lang.String
getSwconfigid()
ComponentSoftwareUpdate
getSwupdate()
java.lang.String
getSwversion()
java.lang.String
getType()
java.lang.String
getUniqueid()
void
setCapabilities(java.util.Map<java.lang.String,java.lang.Object> capabilities)
Deprecated.The properties of the light cannot be changed with this method.void
setConfig(LightConfig config)
Deprecated.The properties of the light cannot be changed with this method.void
setManufacturername(java.lang.String manufacturername)
Deprecated.The properties of the light cannot be changed with this method.void
setModelid(java.lang.String modelid)
Deprecated.The properties of the light cannot be changed with this method.void
setName(java.lang.String name)
Deprecated.The properties of the light cannot be changed with this method.void
setProductid(java.lang.String productid)
Deprecated.The properties of the light cannot be changed with this method.void
setProductName(java.lang.String productName)
Deprecated.The properties of the light cannot be changed with this method.void
setState(LightState state)
Deprecated.This method does not actually affect the state of the light.void
setSwconfigid(java.lang.String swconfigid)
Deprecated.The properties of the light cannot be changed with this method.void
setSwupdate(ComponentSoftwareUpdate swupdate)
Deprecated.The properties of the light cannot be changed with this method.void
setSwversion(java.lang.String swversion)
Deprecated.The properties of the light cannot be changed with this method.void
setType(java.lang.String type)
Deprecated.The properties of the light cannot be changed with this method.void
setUniqueid(java.lang.String uniqueid)
Deprecated.The properties of the light cannot be changed with this method.java.lang.String
toString()
-
Constructor Details
-
LightDto
public LightDto()
-
-
Method Details
-
getState
-
setState
Deprecated.This method does not actually affect the state of the light. Use theLight.setState(State)
instead. Acquire theseLight
objects with theRoom.getLights()
andRoom.getLightByName(String)
methods.- Parameters:
state
-
-
getSwupdate
-
setSwupdate
Deprecated.The properties of the light cannot be changed with this method.- Parameters:
swupdate
-
-
getType
public java.lang.String getType() -
setType
public void setType(java.lang.String type)Deprecated.The properties of the light cannot be changed with this method.- Parameters:
type
-
-
getName
public java.lang.String getName() -
setName
public void setName(java.lang.String name)Deprecated.The properties of the light cannot be changed with this method.- Parameters:
name
-
-
getModelid
public java.lang.String getModelid() -
setModelid
public void setModelid(java.lang.String modelid)Deprecated.The properties of the light cannot be changed with this method.- Parameters:
modelid
-
-
getManufacturername
public java.lang.String getManufacturername() -
setManufacturername
public void setManufacturername(java.lang.String manufacturername)Deprecated.The properties of the light cannot be changed with this method.- Parameters:
manufacturername
-
-
getCapabilities
public java.util.Map<java.lang.String,java.lang.Object> getCapabilities() -
setCapabilities
public void setCapabilities(java.util.Map<java.lang.String,java.lang.Object> capabilities)Deprecated.The properties of the light cannot be changed with this method.- Parameters:
capabilities
-
-
getUniqueid
public java.lang.String getUniqueid() -
setUniqueid
public void setUniqueid(java.lang.String uniqueid)Deprecated.The properties of the light cannot be changed with this method.- Parameters:
uniqueid
-
-
getSwversion
public java.lang.String getSwversion() -
setSwversion
public void setSwversion(java.lang.String swversion)Deprecated.The properties of the light cannot be changed with this method.- Parameters:
swversion
-
-
getSwconfigid
public java.lang.String getSwconfigid() -
setSwconfigid
public void setSwconfigid(java.lang.String swconfigid)Deprecated.The properties of the light cannot be changed with this method.- Parameters:
swconfigid
-
-
getProductid
public java.lang.String getProductid() -
setProductid
public void setProductid(java.lang.String productid)Deprecated.The properties of the light cannot be changed with this method.- Parameters:
productid
-
-
getProductName
public java.lang.String getProductName() -
setProductName
public void setProductName(java.lang.String productName)Deprecated.The properties of the light cannot be changed with this method.- Parameters:
productName
-
-
getConfig
-
setConfig
Deprecated.The properties of the light cannot be changed with this method.- Parameters:
config
-
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-