@@ -331,19 +331,19 @@ public MetadataTaxonomyLevels createMetadataTaxonomyLevel(
331331 * @param namespace The namespace of the metadata taxonomy. Example: "enterprise_123456"
332332 * @param taxonomyKey The key of the metadata taxonomy. Example: "geography"
333333 * @param levelIndex The index of the metadata taxonomy level. Example: 1
334- * @param requestBody Request body of patchMetadataTaxonomiesIdIdLevelsId method
334+ * @param requestBody Request body of updateMetadataTaxonomyLevelById method
335335 */
336- public MetadataTaxonomyLevel patchMetadataTaxonomiesIdIdLevelsId (
336+ public MetadataTaxonomyLevel updateMetadataTaxonomyLevelById (
337337 String namespace ,
338338 String taxonomyKey ,
339339 long levelIndex ,
340- PatchMetadataTaxonomiesIdIdLevelsIdRequestBody requestBody ) {
341- return patchMetadataTaxonomiesIdIdLevelsId (
340+ UpdateMetadataTaxonomyLevelByIdRequestBody requestBody ) {
341+ return updateMetadataTaxonomyLevelById (
342342 namespace ,
343343 taxonomyKey ,
344344 levelIndex ,
345345 requestBody ,
346- new PatchMetadataTaxonomiesIdIdLevelsIdHeaders ());
346+ new UpdateMetadataTaxonomyLevelByIdHeaders ());
347347 }
348348
349349 /**
@@ -352,15 +352,15 @@ public MetadataTaxonomyLevel patchMetadataTaxonomiesIdIdLevelsId(
352352 * @param namespace The namespace of the metadata taxonomy. Example: "enterprise_123456"
353353 * @param taxonomyKey The key of the metadata taxonomy. Example: "geography"
354354 * @param levelIndex The index of the metadata taxonomy level. Example: 1
355- * @param requestBody Request body of patchMetadataTaxonomiesIdIdLevelsId method
356- * @param headers Headers of patchMetadataTaxonomiesIdIdLevelsId method
355+ * @param requestBody Request body of updateMetadataTaxonomyLevelById method
356+ * @param headers Headers of updateMetadataTaxonomyLevelById method
357357 */
358- public MetadataTaxonomyLevel patchMetadataTaxonomiesIdIdLevelsId (
358+ public MetadataTaxonomyLevel updateMetadataTaxonomyLevelById (
359359 String namespace ,
360360 String taxonomyKey ,
361361 long levelIndex ,
362- PatchMetadataTaxonomiesIdIdLevelsIdRequestBody requestBody ,
363- PatchMetadataTaxonomiesIdIdLevelsIdHeaders headers ) {
362+ UpdateMetadataTaxonomyLevelByIdRequestBody requestBody ,
363+ UpdateMetadataTaxonomyLevelByIdHeaders headers ) {
364364 Map <String , String > headersMap = prepareParams (mergeMaps (mapOf (), headers .getExtraHeaders ()));
365365 FetchResponse response =
366366 this .networkSession
@@ -837,14 +837,14 @@ public void deleteMetadataTaxonomyNode(
837837 * unless a `query` parameter is passed. With a `query` parameter specified, results are sorted in
838838 * order of relevance.
839839 *
840- * @param scope The scope of the metadata template . Example: "global "
840+ * @param namespace The namespace of the metadata taxonomy . Example: "enterprise_123456 "
841841 * @param templateKey The name of the metadata template. Example: "properties"
842842 * @param fieldKey The key of the metadata taxonomy field in the template. Example: "geography"
843843 */
844844 public MetadataTaxonomyNodes getMetadataTemplateFieldOptions (
845- GetMetadataTemplateFieldOptionsScope scope , String templateKey , String fieldKey ) {
845+ String namespace , String templateKey , String fieldKey ) {
846846 return getMetadataTemplateFieldOptions (
847- scope ,
847+ namespace ,
848848 templateKey ,
849849 fieldKey ,
850850 new GetMetadataTemplateFieldOptionsQueryParams (),
@@ -857,18 +857,22 @@ public MetadataTaxonomyNodes getMetadataTemplateFieldOptions(
857857 * unless a `query` parameter is passed. With a `query` parameter specified, results are sorted in
858858 * order of relevance.
859859 *
860- * @param scope The scope of the metadata template . Example: "global "
860+ * @param namespace The namespace of the metadata taxonomy . Example: "enterprise_123456 "
861861 * @param templateKey The name of the metadata template. Example: "properties"
862862 * @param fieldKey The key of the metadata taxonomy field in the template. Example: "geography"
863863 * @param queryParams Query parameters of getMetadataTemplateFieldOptions method
864864 */
865865 public MetadataTaxonomyNodes getMetadataTemplateFieldOptions (
866- GetMetadataTemplateFieldOptionsScope scope ,
866+ String namespace ,
867867 String templateKey ,
868868 String fieldKey ,
869869 GetMetadataTemplateFieldOptionsQueryParams queryParams ) {
870870 return getMetadataTemplateFieldOptions (
871- scope , templateKey , fieldKey , queryParams , new GetMetadataTemplateFieldOptionsHeaders ());
871+ namespace ,
872+ templateKey ,
873+ fieldKey ,
874+ queryParams ,
875+ new GetMetadataTemplateFieldOptionsHeaders ());
872876 }
873877
874878 /**
@@ -877,18 +881,22 @@ public MetadataTaxonomyNodes getMetadataTemplateFieldOptions(
877881 * unless a `query` parameter is passed. With a `query` parameter specified, results are sorted in
878882 * order of relevance.
879883 *
880- * @param scope The scope of the metadata template . Example: "global "
884+ * @param namespace The namespace of the metadata taxonomy . Example: "enterprise_123456 "
881885 * @param templateKey The name of the metadata template. Example: "properties"
882886 * @param fieldKey The key of the metadata taxonomy field in the template. Example: "geography"
883887 * @param headers Headers of getMetadataTemplateFieldOptions method
884888 */
885889 public MetadataTaxonomyNodes getMetadataTemplateFieldOptions (
886- GetMetadataTemplateFieldOptionsScope scope ,
890+ String namespace ,
887891 String templateKey ,
888892 String fieldKey ,
889893 GetMetadataTemplateFieldOptionsHeaders headers ) {
890894 return getMetadataTemplateFieldOptions (
891- scope , templateKey , fieldKey , new GetMetadataTemplateFieldOptionsQueryParams (), headers );
895+ namespace ,
896+ templateKey ,
897+ fieldKey ,
898+ new GetMetadataTemplateFieldOptionsQueryParams (),
899+ headers );
892900 }
893901
894902 /**
@@ -897,14 +905,14 @@ public MetadataTaxonomyNodes getMetadataTemplateFieldOptions(
897905 * unless a `query` parameter is passed. With a `query` parameter specified, results are sorted in
898906 * order of relevance.
899907 *
900- * @param scope The scope of the metadata template . Example: "global "
908+ * @param namespace The namespace of the metadata taxonomy . Example: "enterprise_123456 "
901909 * @param templateKey The name of the metadata template. Example: "properties"
902910 * @param fieldKey The key of the metadata taxonomy field in the template. Example: "geography"
903911 * @param queryParams Query parameters of getMetadataTemplateFieldOptions method
904912 * @param headers Headers of getMetadataTemplateFieldOptions method
905913 */
906914 public MetadataTaxonomyNodes getMetadataTemplateFieldOptions (
907- GetMetadataTemplateFieldOptionsScope scope ,
915+ String namespace ,
908916 String templateKey ,
909917 String fieldKey ,
910918 GetMetadataTemplateFieldOptionsQueryParams queryParams ,
@@ -934,7 +942,7 @@ public MetadataTaxonomyNodes getMetadataTemplateFieldOptions(
934942 "" ,
935943 this .networkSession .getBaseUrls ().getBaseUrl (),
936944 "/2.0/metadata_templates/" ,
937- convertToString (scope ),
945+ convertToString (namespace ),
938946 "/" ,
939947 convertToString (templateKey ),
940948 "/fields/" ,
0 commit comments