@Generated(value="io.sphere.sdk.annotations.processors.generators.UpdateActionGenerator", comments="Generated from: io.sphere.sdk.categories.Category") public final class AddAsset extends UpdateActionImpl<Category>
assets property of a Category.Category.getAssets()| Modifier and Type | Method and Description |
|---|---|
AssetDraft |
getAsset() |
Integer |
getPosition() |
static AddAsset |
of(AssetDraft asset)
Creates a new object initialized with the given values.
|
static AddAsset |
of(AssetDraft asset,
Integer position)
Creates a new object initialized with the given values.
|
getActionpublic AssetDraft getAsset()
public Integer getPosition()
public static AddAsset of(AssetDraft asset)
asset - initial value for the propertypublic static AddAsset of(AssetDraft asset, Integer position)
asset - initial value for the propertyposition - initial value for the property