Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .codegen.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{ "engineHash": "c370934", "specHash": "a4bdc72", "version": "5.2.0" }
{ "engineHash": "c370934", "specHash": "f3c7c76", "version": "5.2.0" }
4 changes: 2 additions & 2 deletions docs/sdkgen/metadatataxonomies.md
Original file line number Diff line number Diff line change
Expand Up @@ -492,8 +492,8 @@ See the endpoint docs at

### Arguments

- scope `GetMetadataTemplateFieldOptionsScope`
- The scope of the metadata template. Example: "global"
- namespace `String`
- The namespace of the metadata taxonomy. Example: "enterprise_123456"
- templateKey `String`
- The name of the metadata template. Example: "properties"
- fieldKey `String`
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -837,14 +837,14 @@ public void deleteMetadataTaxonomyNode(
* unless a `query` parameter is passed. With a `query` parameter specified, results are sorted in
* order of relevance.
*
* @param scope The scope of the metadata template. Example: "global"
* @param namespace The namespace of the metadata taxonomy. Example: "enterprise_123456"
* @param templateKey The name of the metadata template. Example: "properties"
* @param fieldKey The key of the metadata taxonomy field in the template. Example: "geography"
*/
public MetadataTaxonomyNodes getMetadataTemplateFieldOptions(
GetMetadataTemplateFieldOptionsScope scope, String templateKey, String fieldKey) {
String namespace, String templateKey, String fieldKey) {
return getMetadataTemplateFieldOptions(
scope,
namespace,
templateKey,
fieldKey,
new GetMetadataTemplateFieldOptionsQueryParams(),
Expand All @@ -857,18 +857,22 @@ public MetadataTaxonomyNodes getMetadataTemplateFieldOptions(
* unless a `query` parameter is passed. With a `query` parameter specified, results are sorted in
* order of relevance.
*
* @param scope The scope of the metadata template. Example: "global"
* @param namespace The namespace of the metadata taxonomy. Example: "enterprise_123456"
* @param templateKey The name of the metadata template. Example: "properties"
* @param fieldKey The key of the metadata taxonomy field in the template. Example: "geography"
* @param queryParams Query parameters of getMetadataTemplateFieldOptions method
*/
public MetadataTaxonomyNodes getMetadataTemplateFieldOptions(
GetMetadataTemplateFieldOptionsScope scope,
String namespace,
String templateKey,
String fieldKey,
GetMetadataTemplateFieldOptionsQueryParams queryParams) {
return getMetadataTemplateFieldOptions(
scope, templateKey, fieldKey, queryParams, new GetMetadataTemplateFieldOptionsHeaders());
namespace,
templateKey,
fieldKey,
queryParams,
new GetMetadataTemplateFieldOptionsHeaders());
}

/**
Expand All @@ -877,18 +881,22 @@ public MetadataTaxonomyNodes getMetadataTemplateFieldOptions(
* unless a `query` parameter is passed. With a `query` parameter specified, results are sorted in
* order of relevance.
*
* @param scope The scope of the metadata template. Example: "global"
* @param namespace The namespace of the metadata taxonomy. Example: "enterprise_123456"
* @param templateKey The name of the metadata template. Example: "properties"
* @param fieldKey The key of the metadata taxonomy field in the template. Example: "geography"
* @param headers Headers of getMetadataTemplateFieldOptions method
*/
public MetadataTaxonomyNodes getMetadataTemplateFieldOptions(
GetMetadataTemplateFieldOptionsScope scope,
String namespace,
String templateKey,
String fieldKey,
GetMetadataTemplateFieldOptionsHeaders headers) {
return getMetadataTemplateFieldOptions(
scope, templateKey, fieldKey, new GetMetadataTemplateFieldOptionsQueryParams(), headers);
namespace,
templateKey,
fieldKey,
new GetMetadataTemplateFieldOptionsQueryParams(),
headers);
}

/**
Expand All @@ -897,14 +905,14 @@ public MetadataTaxonomyNodes getMetadataTemplateFieldOptions(
* unless a `query` parameter is passed. With a `query` parameter specified, results are sorted in
* order of relevance.
*
* @param scope The scope of the metadata template. Example: "global"
* @param namespace The namespace of the metadata taxonomy. Example: "enterprise_123456"
* @param templateKey The name of the metadata template. Example: "properties"
* @param fieldKey The key of the metadata taxonomy field in the template. Example: "geography"
* @param queryParams Query parameters of getMetadataTemplateFieldOptions method
* @param headers Headers of getMetadataTemplateFieldOptions method
*/
public MetadataTaxonomyNodes getMetadataTemplateFieldOptions(
GetMetadataTemplateFieldOptionsScope scope,
String namespace,
String templateKey,
String fieldKey,
GetMetadataTemplateFieldOptionsQueryParams queryParams,
Expand Down Expand Up @@ -934,7 +942,7 @@ public MetadataTaxonomyNodes getMetadataTemplateFieldOptions(
"",
this.networkSession.getBaseUrls().getBaseUrl(),
"/2.0/metadata_templates/",
convertToString(scope),
convertToString(namespace),
"/",
convertToString(templateKey),
"/fields/",
Expand Down
Loading