@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, waitmetaAttributesOf, metaAttributesOf@Nullable public List<AssetDraft> getAssets()
getAssets in interface CategoryDraft@Nullable public CustomFieldsDraft getCustom()
getCustom in interface CategoryDraftgetCustom 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 CategoryDraftgetKey in interface WithKey@Nullable public LocalizedString getMetaDescription()
getMetaDescription in interface CategoryDraftgetMetaDescription in interface MetaAttributes@Nullable public LocalizedString getMetaKeywords()
getMetaKeywords in interface CategoryDraftgetMetaKeywords in interface MetaAttributes@Nullable public LocalizedString getMetaTitle()
getMetaTitle in interface CategoryDraftgetMetaTitle in interface MetaAttributespublic LocalizedString getName()
getName in interface CategoryDraft@Nullable public String getOrderHint()
getOrderHint in interface CategoryDraft@Nullable public ResourceIdentifier<Category> getParent()
getParent in interface CategoryDraftpublic LocalizedString getSlug()
getSlug in interface CategoryDraftgetSlug in interface WithLocalizedSlugpublic 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