Class ComplexRelationLegRequest

  • All Implemented Interfaces:
    Serializable

    public class ComplexRelationLegRequest
    extends Object
    implements Serializable
    The properties of the leg to be included in complex relation.
    See Also:
    Serialized Form
    • Constructor Detail

      • ComplexRelationLegRequest

        public ComplexRelationLegRequest()
    • Method Detail

      • getLegTypeId

        @Deprecated
        public UUID getLegTypeId()
        Deprecated.
        Use relationTypeId instead.
        The ID of the type of the single leg for complex relation. Must be specified if relationTypeId is not specified.
      • getRelationTypeId

        public UUID getRelationTypeId()
        The ID of the type of the relation for complex relation. Must be specified if legTypeId is not specified.
      • getAssetId

        @NotNull
        public @NotNull UUID getAssetId()
        Required. The ID of the asset attached to the leg of the complex relation.
      • setLegTypeId

        @Deprecated
        public void setLegTypeId​(UUID legTypeId)
        Deprecated.
        Use relationTypeId instead.
        The ID of the type of the single leg for complex relation. Must be specified if relationTypeId is not specified.
      • setRelationTypeId

        public void setRelationTypeId​(UUID relationTypeId)
        The ID of the type of the relation for complex relation. Must be specified if legTypeId is not specified.
      • setAssetId

        public void setAssetId​(@NotNull
                               @NotNull UUID assetId)
        Required. The ID of the asset attached to the leg of the complex relation.
      • equals

        public boolean equals​(Object o)
        Overrides:
        equals in class Object
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • toString

        public String toString()
        Overrides:
        toString in class Object