Interface CategorySetAssetCustomTypeAction

All Superinterfaces:
CategoryUpdateAction, ResourceUpdateAction<CategoryUpdateAction>

public interface CategorySetAssetCustomTypeAction extends CategoryUpdateAction
CategorySetAssetCustomTypeAction
Example to create an instance using the builder pattern

     CategorySetAssetCustomTypeAction categorySetAssetCustomTypeAction = CategorySetAssetCustomTypeAction.builder()
             .build()
 
  • Field Details

    • SET_ASSET_CUSTOM_TYPE

      static final String SET_ASSET_CUSTOM_TYPE
      discriminator value for CategorySetAssetCustomTypeAction
      See Also:
  • Method Details

    • getAssetId

      String getAssetId()

      New value to set. Either assetId or assetKey is required.

      Returns:
      assetId
    • getAssetKey

      String getAssetKey()

      New value to set. Either assetId or assetKey is required.

      Returns:
      assetKey
    • getType

      @Valid @Valid TypeResourceIdentifier getType()

      Defines the Type that extends the Asset with Custom Fields. If absent, any existing Type and Custom Fields are removed from the Asset.

      Returns:
      type
    • getFields

      @Valid @Valid FieldContainer getFields()

      Sets the Custom Fields fields for the Asset.

      Returns:
      fields
    • setAssetId

      void setAssetId(String assetId)

      New value to set. Either assetId or assetKey is required.

      Parameters:
      assetId - value to be set
    • setAssetKey

      void setAssetKey(String assetKey)

      New value to set. Either assetId or assetKey is required.

      Parameters:
      assetKey - value to be set
    • setType

      void setType(TypeResourceIdentifier type)

      Defines the Type that extends the Asset with Custom Fields. If absent, any existing Type and Custom Fields are removed from the Asset.

      Parameters:
      type - value to be set
    • setFields

      void setFields(FieldContainer fields)

      Sets the Custom Fields fields for the Asset.

      Parameters:
      fields - value to be set
    • of

      factory method
      Returns:
      instance of CategorySetAssetCustomTypeAction
    • of

      factory method to create a shallow copy CategorySetAssetCustomTypeAction
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • deepCopy

      factory method to create a deep copy of CategorySetAssetCustomTypeAction
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • builder

      builder factory method for CategorySetAssetCustomTypeAction
      Returns:
      builder
    • builder

      create builder for CategorySetAssetCustomTypeAction instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withCategorySetAssetCustomTypeAction

      default <T> T withCategorySetAssetCustomTypeAction(Function<CategorySetAssetCustomTypeAction,T> helper)
      accessor map function
      Type Parameters:
      T - mapped type
      Parameters:
      helper - function to map the object
      Returns:
      mapped value
    • typeReference

      static com.fasterxml.jackson.core.type.TypeReference<CategorySetAssetCustomTypeAction> typeReference()
      gives a TypeReference for usage with Jackson DataBind
      Returns:
      TypeReference