/** * This code was auto-generated by a Codezu. * * Changes to this file may cause incorrect behavior and will be lost if * the code is regenerated. */ package com.mozu.api.urls.commerce.catalog.admin.attributedefinition.attributes; import com.mozu.api.MozuUrl; import com.mozu.api.utils.UrlFormatter; import org.joda.time.DateTime; public class AttributeVocabularyValueUrl { /** * Get Resource Url for GetAttributeVocabularyValues * @param attributeFQN The fully qualified name of the attribute, which is a user defined attribute identifier. * @return String Resource Url */ public static MozuUrl getAttributeVocabularyValuesUrl(String attributeFQN) { UrlFormatter formatter = new UrlFormatter("/api/commerce/catalog/admin/attributedefinition/attributes/{attributeFQN}/VocabularyValues"); formatter.formatUrl("attributeFQN", attributeFQN); return new MozuUrl(formatter.getResourceUrl(), MozuUrl.UrlLocation.TENANT_POD) ; } /** * Get Resource Url for GetAttributeVocabularyValueLocalizedContents * @param attributeFQN Fully qualified name for an attribute. * @param value The value string to create. * @return String Resource Url */ public static MozuUrl getAttributeVocabularyValueLocalizedContentsUrl(String attributeFQN, String value) { UrlFormatter formatter = new UrlFormatter("/api/commerce/catalog/admin/attributedefinition/attributes/{attributeFQN}/VocabularyValues/{value}/LocalizedContent"); formatter.formatUrl("attributeFQN", attributeFQN); formatter.formatUrl("value", value); return new MozuUrl(formatter.getResourceUrl(), MozuUrl.UrlLocation.TENANT_POD) ; } /** * Get Resource Url for GetAttributeVocabularyValueLocalizedContent * @param attributeFQN Fully qualified name for an attribute. * @param localeCode Language used for the entity. Currently, only "en-US" is supported. * @param responseFields Use this field to include those fields which are not included by default. * @param value The value string to create. * @return String Resource Url */ public static MozuUrl getAttributeVocabularyValueLocalizedContentUrl(String attributeFQN, String localeCode, String responseFields, String value) { UrlFormatter formatter = new UrlFormatter("/api/commerce/catalog/admin/attributedefinition/attributes/{attributeFQN}/VocabularyValues/{value}/LocalizedContent/{localeCode}?responseFields={responseFields}"); formatter.formatUrl("attributeFQN", attributeFQN); formatter.formatUrl("localeCode", localeCode); formatter.formatUrl("responseFields", responseFields); formatter.formatUrl("value", value); return new MozuUrl(formatter.getResourceUrl(), MozuUrl.UrlLocation.TENANT_POD) ; } /** * Get Resource Url for GetAttributeVocabularyValue * @param attributeFQN The fully qualified name of the attribute, which is a user defined attribute identifier. * @param responseFields Use this field to include those fields which are not included by default. * @param value The value string to create. * @return String Resource Url */ public static MozuUrl getAttributeVocabularyValueUrl(String attributeFQN, String responseFields, String value) { UrlFormatter formatter = new UrlFormatter("/api/commerce/catalog/admin/attributedefinition/attributes/{attributeFQN}/VocabularyValues/{value}?responseFields={responseFields}"); formatter.formatUrl("attributeFQN", attributeFQN); formatter.formatUrl("responseFields", responseFields); formatter.formatUrl("value", value); return new MozuUrl(formatter.getResourceUrl(), MozuUrl.UrlLocation.TENANT_POD) ; } /** * Get Resource Url for AddAttributeVocabularyValueLocalizedContent * @param attributeFQN Fully qualified name for an attribute. * @param responseFields Use this field to include those fields which are not included by default. * @param value The value string to create. * @return String Resource Url */ public static MozuUrl addAttributeVocabularyValueLocalizedContentUrl(String attributeFQN, String responseFields, String value) { UrlFormatter formatter = new UrlFormatter("/api/commerce/catalog/admin/attributedefinition/attributes/{attributeFQN}/VocabularyValues/{value}/localizedContent?responseFields={responseFields}"); formatter.formatUrl("attributeFQN", attributeFQN); formatter.formatUrl("responseFields", responseFields); formatter.formatUrl("value", value); return new MozuUrl(formatter.getResourceUrl(), MozuUrl.UrlLocation.TENANT_POD) ; } /** * Get Resource Url for AddAttributeVocabularyValue * @param attributeFQN The fully qualified name of the attribute, which is a user defined attribute identifier. * @param responseFields Use this field to include those fields which are not included by default. * @return String Resource Url */ public static MozuUrl addAttributeVocabularyValueUrl(String attributeFQN, String responseFields) { UrlFormatter formatter = new UrlFormatter("/api/commerce/catalog/admin/attributedefinition/attributes/{attributeFQN}/VocabularyValues?responseFields={responseFields}"); formatter.formatUrl("attributeFQN", attributeFQN); formatter.formatUrl("responseFields", responseFields); return new MozuUrl(formatter.getResourceUrl(), MozuUrl.UrlLocation.TENANT_POD) ; } /** * Get Resource Url for UpdateAttributeVocabularyValues * @param attributeFQN The fully qualified name of the attribute, which is a user defined attribute identifier. * @return String Resource Url */ public static MozuUrl updateAttributeVocabularyValuesUrl(String attributeFQN) { UrlFormatter formatter = new UrlFormatter("/api/commerce/catalog/admin/attributedefinition/attributes/{attributeFQN}/VocabularyValues"); formatter.formatUrl("attributeFQN", attributeFQN); return new MozuUrl(formatter.getResourceUrl(), MozuUrl.UrlLocation.TENANT_POD) ; } /** * Get Resource Url for UpdateAttributeVocabularyValueLocalizedContents * @param attributeFQN Fully qualified name for an attribute. * @param value The value string to create. * @return String Resource Url */ public static MozuUrl updateAttributeVocabularyValueLocalizedContentsUrl(String attributeFQN, String value) { UrlFormatter formatter = new UrlFormatter("/api/commerce/catalog/admin/attributedefinition/attributes/{attributeFQN}/VocabularyValues/{value}/LocalizedContent"); formatter.formatUrl("attributeFQN", attributeFQN); formatter.formatUrl("value", value); return new MozuUrl(formatter.getResourceUrl(), MozuUrl.UrlLocation.TENANT_POD) ; } /** * Get Resource Url for UpdateAttributeVocabularyValueLocalizedContent * @param attributeFQN Fully qualified name for an attribute. * @param localeCode The two character country code that sets the locale, such as US for United States. Sites, tenants, and catalogs use locale codes for localizing content, such as translated product text per supported country. * @param responseFields Use this field to include those fields which are not included by default. * @param value The value string to create. * @return String Resource Url */ public static MozuUrl updateAttributeVocabularyValueLocalizedContentUrl(String attributeFQN, String localeCode, String responseFields, String value) { UrlFormatter formatter = new UrlFormatter("/api/commerce/catalog/admin/attributedefinition/attributes/{attributeFQN}/VocabularyValues/{value}/LocalizedContent/{localeCode}?responseFields={responseFields}"); formatter.formatUrl("attributeFQN", attributeFQN); formatter.formatUrl("localeCode", localeCode); formatter.formatUrl("responseFields", responseFields); formatter.formatUrl("value", value); return new MozuUrl(formatter.getResourceUrl(), MozuUrl.UrlLocation.TENANT_POD) ; } /** * Get Resource Url for UpdateAttributeVocabularyValue * @param attributeFQN The fully qualified name of the attribute, which is a user defined attribute identifier. * @param responseFields Use this field to include those fields which are not included by default. * @param value The value string to create. * @return String Resource Url */ public static MozuUrl updateAttributeVocabularyValueUrl(String attributeFQN, String responseFields, String value) { UrlFormatter formatter = new UrlFormatter("/api/commerce/catalog/admin/attributedefinition/attributes/{attributeFQN}/VocabularyValues/{value}?responseFields={responseFields}"); formatter.formatUrl("attributeFQN", attributeFQN); formatter.formatUrl("responseFields", responseFields); formatter.formatUrl("value", value); return new MozuUrl(formatter.getResourceUrl(), MozuUrl.UrlLocation.TENANT_POD) ; } /** * Get Resource Url for DeleteAttributeVocabularyValue * @param attributeFQN The fully qualified name of the attribute, which is a user defined attribute identifier. * @param value The value string to create. * @return String Resource Url */ public static MozuUrl deleteAttributeVocabularyValueUrl(String attributeFQN, String value) { UrlFormatter formatter = new UrlFormatter("/api/commerce/catalog/admin/attributedefinition/attributes/{attributeFQN}/VocabularyValues/{value}"); formatter.formatUrl("attributeFQN", attributeFQN); formatter.formatUrl("value", value); return new MozuUrl(formatter.getResourceUrl(), MozuUrl.UrlLocation.TENANT_POD) ; } /** * Get Resource Url for DeleteAttributeVocabularyValueLocalizedContent * @param attributeFQN Fully qualified name for an attribute. * @param localeCode Language used for the entity. Currently, only "en-US" is supported. * @param value The value string to create. * @return String Resource Url */ public static MozuUrl deleteAttributeVocabularyValueLocalizedContentUrl(String attributeFQN, String localeCode, String value) { UrlFormatter formatter = new UrlFormatter("/api/commerce/catalog/admin/attributedefinition/attributes/{attributeFQN}/VocabularyValues/{value}/LocalizedContent/{localeCode}"); formatter.formatUrl("attributeFQN", attributeFQN); formatter.formatUrl("localeCode", localeCode); formatter.formatUrl("value", value); return new MozuUrl(formatter.getResourceUrl(), MozuUrl.UrlLocation.TENANT_POD) ; } }