Package 

Class GroupRespBean


  • 
    public class GroupRespBean
    
                        

    Describes the group entities that respond to business data.

    • Method Detail

      • setResptime

         void setResptime(long resptime)

        Set resptime.

        Parameters:
        resptime - business data response interface return time.
      • getId

         long getId()

        Get group id.

      • setId

         void setId(long id)

        Set group id.

        Parameters:
        id - group id
      • getName

         String getName()

        Get group name.

      • setName

         void setName(String name)

        Set group name.

        Parameters:
        name - the group name
      • setProductId

         void setProductId(String productId)

        Set product id.

        Parameters:
        productId - same product ID, same Schema information
      • setIconUrl

         void setIconUrl(String iconUrl)

        Set icon url.

        Parameters:
        iconUrl - the url of the device icon
      • setCategory

         void setCategory(String category)

        Set category.

        Parameters:
        category - category mark of equipment
      • getType

         int getType()

        Get type.TYPE_WIFI = 0, TYPE_BLE_MESH = 1, TYPE_ZIGBEE = 2

      • setType

         void setType(int type)

        Set type.

        Parameters:
        type - describe group type
      • setLocalId

         void setLocalId(String localId)

        Set local id.

        Parameters:
        localId - used to distinguish the unique identity of each mesh group in the mesh network
      • setMeshId

         void setMeshId(String meshId)

        Set mesh id.

        Parameters:
        meshId - the gateway id
      • setDisplayOrder

         void setDisplayOrder(int displayOrder)

        Set display order.

        Parameters:
        displayOrder - describes the value of a room sort
      • setHomeDisplayOrder

         void setHomeDisplayOrder(int homeDisplayOrder)

        Set home display order.

        Parameters:
        homeDisplayOrder - describes a home device sort value
      • getTime

         long getTime()

        Get group creation time.

      • setTime

         void setTime(long time)

        Set group creation time.

        Parameters:
        time - group creation time
      • setLocalKey

         void setLocalKey(String localKey)

        Set local key.

        Parameters:
        localKey - local secret key
      • getDpCodes

         Map<String, Object> getDpCodes()

        Get group data point codes, such as "switch_led:true".

        The code defined by the group for each function point may be different,depending on the background definition during firmware development.

      • setDpCodes

         void setDpCodes(Map<String, Object> dpCodes)

        Set group data point codes.

        Parameters:
        dpCodes - group data point codes
      • setStandard

         void setStandard(boolean standard)

        Set is standard data point code.

        Parameters:
        standard - is standard data point code
      • getDpName

         Map<String, String> getDpName()

        Get group data point names.

      • setDpName

         void setDpName(Map<String, String> dpName)

        Set group data point names.

        Parameters:
        dpName - group data point names
      • getGroupType

         int getGroupType()

        Get group type.TYPE_WIFI = 0, TYPE_BLE_MESH = 1, TYPE_ZIGBEE = 2

      • setGroupType

         void setGroupType(int groupType)

        Set group type.

        Parameters:
        groupType - describe group type
      • getDeviceNum

         int getDeviceNum()

        Get the number of group devices.

      • setDeviceNum

         void setDeviceNum(int deviceNum)

        Set the number of group devices.

        Parameters:
        deviceNum - the number of group devices
      • isShare

         boolean isShare()

        Is share boolean.

      • getPv

         String getPv()

        Get pv.

      • setPv

         void setPv(String pv)

        Set pv.

        Parameters:
        pv - gateway protocol version
      • getDps

         Map<String, Object> getDps()

        Get data points.

      • setDps

         void setDps(Map<String, Object> dps)

        Set data points.

        Parameters:
        dps - data points
      • setDecodeRawed

         void setDecodeRawed(boolean decodeRawed)

        Set the state of the data parsing operation.

        Parameters:
        decodeRawed - describes whether a data point has been resolved into raw data
      • isStandard

         boolean isStandard()

        Get code describe is standard data point.

      • setShare

         void setShare(boolean share)

        Set share.

        Parameters:
        share - whether to set the group as a shared group
      • isDecodeRawed

         boolean isDecodeRawed()

        Get whether a data point has been resolved into raw data.