Interface CategoryChangeAssetNameAction

All Superinterfaces:
CategoryUpdateAction, ResourceUpdateAction<CategoryUpdateAction>

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

     CategoryChangeAssetNameAction categoryChangeAssetNameAction = CategoryChangeAssetNameAction.builder()
             .name(nameBuilder -> nameBuilder)
             .build()
 
  • Field Details

    • CHANGE_ASSET_NAME

      static final String CHANGE_ASSET_NAME
      discriminator value for CategoryChangeAssetNameAction
      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
    • getName

      @NotNull @Valid @NotNull @Valid LocalizedString getName()

      New value to set. Must not be empty.

      Returns:
      name
    • 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
    • setName

      void setName(LocalizedString name)

      New value to set. Must not be empty.

      Parameters:
      name - value to be set
    • of

      factory method
      Returns:
      instance of CategoryChangeAssetNameAction
    • of

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

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

      builder factory method for CategoryChangeAssetNameAction
      Returns:
      builder
    • builder

      create builder for CategoryChangeAssetNameAction instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withCategoryChangeAssetNameAction

      default <T> T withCategoryChangeAssetNameAction(Function<CategoryChangeAssetNameAction,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<CategoryChangeAssetNameAction> typeReference()
      gives a TypeReference for usage with Jackson DataBind
      Returns:
      TypeReference