Udostępnij za pośrednictwem


Client.UpdateStages.WithAttributes Interface

public static interface Client.UpdateStages.WithAttributes

The stage of the Client update allowing to specify attributes.

Method Summary

Modifier and Type Method and Description
abstract Update withAttributes(Map<String,Object> attributes)

Specifies the attributes property: Attributes for the client.

Method Details

withAttributes

public abstract Client.Update withAttributes(Map<String,Object> attributes)

Specifies the attributes property: Attributes for the client. Supported values are int, bool, string, string[]. Example: "attributes": { "room": "345", "floor": 12, "deviceTypes": ["Fan", "Light"] }.

Parameters:

attributes - Attributes for the client. Supported values are int, bool, string, string[]. Example: "attributes": { "room": "345", "floor": 12, "deviceTypes": ["Fan", "Light"] }.

Returns:

the next definition stage.

Applies to