Class AddComplexRelationRequest
Object
AddComplexRelationRequest
- All Implemented Interfaces:
Serializable
The properties of the complex relation to be added.
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanDeprecated.The attributes that the new complex relation should contain, with types identified by public ID.Required. The ID of the type of the complex relation.The public ID of the type of the complex relation.getId()The ID of the new complex relation.getLegs()The list of legs that the new complex relation should contain.The relations that the new complex relation should contain.inthashCode()voidsetAttributes(List<ComplexRelationAttributeRequest> attributeRequests) Deprecated.This method will be removed in the future.voidsetAttributes(Map<UUID, List<AttributeValue>> attributes) Sets the attributes that the new complex relation should contain.voidsetAttributesForTypePublicId(Map<String, List<AttributeValue>> attributesForTypePublicId) The attributes that the new complex relation should contain, with types identified by public ID.voidsetComplexRelationTypeId(UUID complexRelationTypeId) Required. The ID of the type of the complex relation.voidsetComplexRelationTypePublicId(String complexRelationTypePublicId) The public ID of the type of the complex relation.voidThe ID of the new complex relation.voidsetLegs(List<ComplexRelationLegRequest> legs) The list of legs that the new complex relation should contain.voidsetRelations(Map<RelationTypeIdWithDirection, List<RelatedAssetId>> relations) The relations that the new complex relation should contain.toString()
-
Constructor Details
-
AddComplexRelationRequest
public AddComplexRelationRequest()
-
-
Method Details
-
setAttributes
Sets the attributes that the new complex relation should contain.- Parameters:
attributes- the attributes that the new complex relation should contain
-
setAttributes
Deprecated.This method will be removed in the future. Please, usesetAttributes(Map).Sets the list of attributes that the new complex relation should contain.- Parameters:
attributeRequests- the attributes that the new complex relation should contain
-
builder
-
getId
The ID of the new complex relation. -
getComplexRelationTypeId
Required. The ID of the type of the complex relation. -
getComplexRelationTypePublicId
The public ID of the type of the complex relation. -
getLegs
The list of legs that the new complex relation should contain. -
getRelations
The relations that the new complex relation should contain. -
getAttributes
Deprecated.useattributesForTypePublicIdinstead.The attributes that the new complex relation should contain. -
getAttributesForTypePublicId
The attributes that the new complex relation should contain, with types identified by public ID. -
setId
The ID of the new complex relation. -
setComplexRelationTypeId
Required. The ID of the type of the complex relation. -
setComplexRelationTypePublicId
The public ID of the type of the complex relation. -
setLegs
The list of legs that the new complex relation should contain. -
setRelations
The relations that the new complex relation should contain. -
setAttributesForTypePublicId
public void setAttributesForTypePublicId(Map<String, List<AttributeValue>> attributesForTypePublicId) The attributes that the new complex relation should contain, with types identified by public ID. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-
attributesForTypePublicIdinstead.