/** * 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 AttributeLocalizedContentUrl { /** * Get Resource Url for GetAttributeLocalizedContents * @param attributeFQN Fully qualified name for an attribute. * @return String Resource Url */ public static MozuUrl getAttributeLocalizedContentsUrl(String attributeFQN) { UrlFormatter formatter = new UrlFormatter("/api/commerce/catalog/admin/attributedefinition/attributes/{attributeFQN}/LocalizedContent"); formatter.formatUrl("attributeFQN", attributeFQN); return new MozuUrl(formatter.getResourceUrl(), MozuUrl.UrlLocation.TENANT_POD) ; } /** * Get Resource Url for GetAttributeLocalizedContent * @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. * @return String Resource Url */ public static MozuUrl getAttributeLocalizedContentUrl(String attributeFQN, String localeCode, String responseFields) { UrlFormatter formatter = new UrlFormatter("/api/commerce/catalog/admin/attributedefinition/attributes/{attributeFQN}/LocalizedContent/{localeCode}?responseFields={responseFields}"); formatter.formatUrl("attributeFQN", attributeFQN); formatter.formatUrl("localeCode", localeCode); formatter.formatUrl("responseFields", responseFields); return new MozuUrl(formatter.getResourceUrl(), MozuUrl.UrlLocation.TENANT_POD) ; } /** * Get Resource Url for AddLocalizedContent * @param attributeFQN Fully qualified name for an attribute. * @param responseFields Use this field to include those fields which are not included by default. * @return String Resource Url */ public static MozuUrl addLocalizedContentUrl(String attributeFQN, String responseFields) { UrlFormatter formatter = new UrlFormatter("/api/commerce/catalog/admin/attributedefinition/attributes/{attributeFQN}/LocalizedContent?responseFields={responseFields}"); formatter.formatUrl("attributeFQN", attributeFQN); formatter.formatUrl("responseFields", responseFields); return new MozuUrl(formatter.getResourceUrl(), MozuUrl.UrlLocation.TENANT_POD) ; } /** * Get Resource Url for UpdateLocalizedContents * @param attributeFQN Fully qualified name for an attribute. * @return String Resource Url */ public static MozuUrl updateLocalizedContentsUrl(String attributeFQN) { UrlFormatter formatter = new UrlFormatter("/api/commerce/catalog/admin/attributedefinition/attributes/{attributeFQN}/LocalizedContent"); formatter.formatUrl("attributeFQN", attributeFQN); return new MozuUrl(formatter.getResourceUrl(), MozuUrl.UrlLocation.TENANT_POD) ; } /** * Get Resource Url for UpdateLocalizedContent * @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. * @return String Resource Url */ public static MozuUrl updateLocalizedContentUrl(String attributeFQN, String localeCode, String responseFields) { UrlFormatter formatter = new UrlFormatter("/api/commerce/catalog/admin/attributedefinition/attributes/{attributeFQN}/LocalizedContent/{localeCode}?responseFields={responseFields}"); formatter.formatUrl("attributeFQN", attributeFQN); formatter.formatUrl("localeCode", localeCode); formatter.formatUrl("responseFields", responseFields); return new MozuUrl(formatter.getResourceUrl(), MozuUrl.UrlLocation.TENANT_POD) ; } /** * Get Resource Url for DeleteLocalizedContent * @param attributeFQN Fully qualified name for an attribute. * @param localeCode Language used for the entity. Currently, only "en-US" is supported. * @return String Resource Url */ public static MozuUrl deleteLocalizedContentUrl(String attributeFQN, String localeCode) { UrlFormatter formatter = new UrlFormatter("/api/commerce/catalog/admin/attributedefinition/attributes/{attributeFQN}/LocalizedContent/{localeCode}"); formatter.formatUrl("attributeFQN", attributeFQN); formatter.formatUrl("localeCode", localeCode); return new MozuUrl(formatter.getResourceUrl(), MozuUrl.UrlLocation.TENANT_POD) ; } }