Class ChangeAttributeRequest
- Object
-
- ChangeAttributeRequest
-
- All Implemented Interfaces:
Serializable
public class ChangeAttributeRequest extends Object implements Serializable
The properties of the asset to be added.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ChangeAttributeRequest.Builder
-
Constructor Summary
Constructors Constructor Description ChangeAttributeRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ChangeAttributeRequest.Builder
builder()
protected boolean
canEqual(Object other)
boolean
equals(Object o)
@NotNull UUID
getId()
Required. The ID of the attribute to be changed.@NotNull Object
getValue()
Required. The value of this attribute.int
hashCode()
void
setId(@NotNull UUID id)
Required. The ID of the attribute to be changed.void
setValue(@NotNull Object value)
Required. The value of this attribute.String
toString()
-
-
-
Method Detail
-
builder
public static ChangeAttributeRequest.Builder builder()
-
getId
@NotNull public @NotNull UUID getId()
Required. The ID of the attribute to be changed. Silently ignored if the ID is provided as path parameter of the request.
-
getValue
@NotNull public @NotNull Object getValue()
Required. The value of this attribute. Expected type of the value depends on the type of the attribute. Following list presents type of the value depending on the kind of the attribute- kind:
NumericAttribute
-> value Class:Double
orString
- kind:
ScriptAttribute
-> value Class:String
- kind:
SingleValueListAttribute
-> value Class:String
- kind:
DateAttribute
-> value class:Long
orString
- kind:
StringAttribute
-> value class:String
- kind:
BooleanAttribute
-> value class:Boolean
orString
- kind:
MultiValueListAttribute
-> value class:List
ofString
- kind:
-
setId
public void setId(@NotNull @NotNull UUID id)
Required. The ID of the attribute to be changed. Silently ignored if the ID is provided as path parameter of the request.
-
setValue
public void setValue(@NotNull @NotNull Object value)
Required. The value of this attribute. Expected type of the value depends on the type of the attribute. Following list presents type of the value depending on the kind of the attribute- kind:
NumericAttribute
-> value Class:Double
orString
- kind:
ScriptAttribute
-> value Class:String
- kind:
SingleValueListAttribute
-> value Class:String
- kind:
DateAttribute
-> value class:Long
orString
- kind:
StringAttribute
-> value class:String
- kind:
BooleanAttribute
-> value class:Boolean
orString
- kind:
MultiValueListAttribute
-> value class:List
ofString
- kind:
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classObject
-
canEqual
protected boolean canEqual(Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classObject
-
toString
public String toString()
- Overrides:
toString
in classObject
-
-