@Generated(value="io.sphere.sdk.annotations.processors.generators.UpdateActionGenerator", comments="Generated from: io.sphere.sdk.categories.Category") public final class SetAssetKey extends UpdateActionImpl<Category>
assets
property of a Category
.Category.getAssets()
Modifier and Type | Method and Description |
---|---|
String |
getAssetId() |
String |
getAssetKey() |
static SetAssetKey |
of(String assetId,
String assetKey)
Creates a new object initialized with the given values.
|
SetAssetKey |
withAssetKey(String assetKey)
Creates a copied update action initialized with the given parameter, the rest of the parameters are copied from the original object.
|
getAction
public String getAssetId()
public static SetAssetKey of(String assetId, @Nullable String assetKey)
assetId
- initial value for the propertyassetKey
- initial value for the propertypublic SetAssetKey withAssetKey(String assetKey)