@Generated(value="io.sphere.sdk.annotations.processors.generators.ResourceDraftValueGenerator", comments="Generated from: io.sphere.sdk.categories.CategoryDraft") public final class CategoryDraftDsl extends Base implements CategoryDraft
CategoryDraft
.clone, finalize, getClass, notify, notifyAll, wait, wait, wait
metaAttributesOf, metaAttributesOf
@Nullable public List<AssetDraft> getAssets()
getAssets
in interface CategoryDraft
@Nullable public CustomFieldsDraft getCustom()
getCustom
in interface CategoryDraft
getCustom
in interface CustomDraft
@Nullable public LocalizedString getDescription()
getDescription
in interface CategoryDraft
@Nullable public String getExternalId()
getExternalId
in interface CategoryDraft
@Nullable public String getKey()
getKey
in interface CategoryDraft
getKey
in interface WithKey
@Nullable public LocalizedString getMetaDescription()
getMetaDescription
in interface CategoryDraft
getMetaDescription
in interface MetaAttributes
@Nullable public LocalizedString getMetaKeywords()
getMetaKeywords
in interface CategoryDraft
getMetaKeywords
in interface MetaAttributes
@Nullable public LocalizedString getMetaTitle()
getMetaTitle
in interface CategoryDraft
getMetaTitle
in interface MetaAttributes
public LocalizedString getName()
getName
in interface CategoryDraft
@Nullable public String getOrderHint()
getOrderHint
in interface CategoryDraft
@Nullable public ResourceIdentifier<Category> getParent()
getParent
in interface CategoryDraft
public LocalizedString getSlug()
getSlug
in interface CategoryDraft
getSlug
in interface WithLocalizedSlug
public CategoryDraftBuilder newBuilder()
public CategoryDraftDsl withAssets(@Nullable List<AssetDraft> assets)
public CategoryDraftDsl withCustom(@Nullable CustomFieldsDraft custom)
public CategoryDraftDsl withDescription(@Nullable LocalizedString description)
public CategoryDraftDsl withExternalId(@Nullable String externalId)
public CategoryDraftDsl withKey(@Nullable String key)
public CategoryDraftDsl withMetaDescription(@Nullable LocalizedString metaDescription)
public CategoryDraftDsl withMetaKeywords(@Nullable LocalizedString metaKeywords)
public CategoryDraftDsl withMetaTitle(@Nullable LocalizedString metaTitle)
public CategoryDraftDsl withName(LocalizedString name)
public CategoryDraftDsl withOrderHint(@Nullable String orderHint)
public CategoryDraftDsl withParent(@Nullable ResourceIdentifier<Category> parent)
public CategoryDraftDsl withSlug(LocalizedString slug)
public static CategoryDraftDsl of(LocalizedString name, LocalizedString slug)
name
- initial value for the CategoryDraft.getName()
propertyslug
- initial value for the CategoryDraft.getSlug()
propertypublic static CategoryDraftDsl of(CategoryDraft template)
template
- the template