Class AddAssignmentRequest

Object
AddAssignmentRequest
All Implemented Interfaces:
Serializable

public class AddAssignmentRequest extends Object implements Serializable
The properties of the assignment to be added.
See Also:
  • Constructor Details

    • AddAssignmentRequest

      public AddAssignmentRequest()
  • Method Details

    • builder

      public static AddAssignmentRequest.Builder builder()
    • getId

      public UUID getId()
      The ID of the new assignment.
    • getAssetTypeId

      public UUID getAssetTypeId()
      Required. The ID of the asset type corresponding to the assignment.
    • getStatusIds

      public List<UUID> getStatusIds()
      Required. The list of IDs of the statuses. The first element in the list is used as default status id.
    • getCharacteristicTypes

      public List<CharacteristicTypeAssignmentReference> getCharacteristicTypes()
      The list of characteristic types to be assigned, along with their assignment modalities.
    • getArticulationRules

      public List<ArticulationRuleRequest> getArticulationRules()
      The articulation rule definitions.
    • getValidationRuleIds

      public List<UUID> getValidationRuleIds()
      The list of IDs of the validation rules.
    • getDataQualityRuleIds

      @Deprecated public List<UUID> getDataQualityRuleIds()
      Deprecated.
      The list of data quality rule IDs will be removed from the next major release.
      The list of IDs of the data quality rules.
    • getDomainTypeIds

      public List<UUID> getDomainTypeIds()
      The list of IDs of the domain types.
    • getDefaultStatusId

      @Deprecated public UUID getDefaultStatusId()
      Deprecated.
      The ID of the default status for the asset type. This property will be ignored. The default status is the first status in the list of assigned statuses of the assignment.
    • getScopeId

      public UUID getScopeId()
      The ID of the scope the assignment corresponds to.
    • setId

      public void setId(UUID id)
      The ID of the new assignment.
    • setAssetTypeId

      public void setAssetTypeId(UUID assetTypeId)
      Required. The ID of the asset type corresponding to the assignment.
    • setStatusIds

      public void setStatusIds(List<UUID> statusIds)
      Required. The list of IDs of the statuses. The first element in the list is used as default status id.
    • setCharacteristicTypes

      public void setCharacteristicTypes(List<CharacteristicTypeAssignmentReference> characteristicTypes)
      The list of characteristic types to be assigned, along with their assignment modalities.
    • setArticulationRules

      public void setArticulationRules(List<ArticulationRuleRequest> articulationRules)
      The articulation rule definitions.
    • setValidationRuleIds

      public void setValidationRuleIds(List<UUID> validationRuleIds)
      The list of IDs of the validation rules.
    • setDataQualityRuleIds

      @Deprecated public void setDataQualityRuleIds(List<UUID> dataQualityRuleIds)
      Deprecated.
      The list of data quality rule IDs will be removed from the next major release.
      The list of IDs of the data quality rules.
    • setDomainTypeIds

      public void setDomainTypeIds(List<UUID> domainTypeIds)
      The list of IDs of the domain types.
    • setDefaultStatusId

      @Deprecated public void setDefaultStatusId(UUID defaultStatusId)
      Deprecated.
      The ID of the default status for the asset type. This property will be ignored. The default status is the first status in the list of assigned statuses of the assignment.
    • setScopeId

      public void setScopeId(UUID scopeId)
      The ID of the scope the assignment corresponds to.
    • 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