Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update generated SDKs #380

Merged
merged 1 commit into from
Nov 18, 2024
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ public static IEnumerable<object[]> GetData()
ApiRoot
.WithProjectKeyValue("test_projectKey")
.Get()
.WithSource("source")
.WithSource(commercetools.Sdk.HistoryApi.Models.ChangeHistories.ISource.FindEnum("source"))
.Build(),
"Get",
"/test_projectKey?source=source",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ public static IEnumerable<object[]> GetData()
.WithResourceTypeValue("test_resourceType")
.WithIDValue("test_ID")
.Get()
.WithSource("source")
.WithSource(commercetools.Sdk.HistoryApi.Models.ChangeHistories.ISource.FindEnum("source"))
.Build(),
"Get",
"/test_projectKey/test_resourceType/test_ID?source=source",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ public static IEnumerable<object[]> GetData()
.WithProjectKeyValue("test_projectKey")
.WithResourceTypeValue("test_resourceType")
.Get()
.WithSource("source")
.WithSource(commercetools.Sdk.HistoryApi.Models.ChangeHistories.ISource.FindEnum("source"))
.Build(),
"Get",
"/test_projectKey/test_resourceType?source=source",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -184,9 +184,9 @@ public ByProjectKeyGet WithResourceKey(string resourceKey)
return this.AddQueryParam("resourceKey", resourceKey);
}

public ByProjectKeyGet WithSource(string source)
public ByProjectKeyGet WithSource(ISource source)
{
return this.AddQueryParam("source", source);
return this.AddQueryParam("source", source.JsonName);
}

public ByProjectKeyGet WithChanges(string changes)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
return this.GetQueryParam("businessUnit");
}

public List<string> GetType()

Check warning on line 83 in commercetools.Sdk/commercetools.Sdk.HistoryApi/Generated/Client/RequestBuilders/ResourceType/ByProjectKeyByResourceTypeByIDGet.cs

View workflow job for this annotation

GitHub Actions / License update

'ByProjectKeyByResourceTypeByIDGet.GetType()' hides inherited member 'object.GetType()'. Use the new keyword if hiding was intended.
{
return this.GetQueryParam("type");
}
Expand Down Expand Up @@ -160,9 +160,9 @@
return this.AddQueryParam("type", type);
}

public ByProjectKeyByResourceTypeByIDGet WithSource(string source)
public ByProjectKeyByResourceTypeByIDGet WithSource(ISource source)
{
return this.AddQueryParam("source", source);
return this.AddQueryParam("source", source.JsonName);
}

public ByProjectKeyByResourceTypeByIDGet WithChanges(string changes)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
return this.GetQueryParam("businessUnit");
}

public List<string> GetType()

Check warning on line 80 in commercetools.Sdk/commercetools.Sdk.HistoryApi/Generated/Client/RequestBuilders/ResourceType/ByProjectKeyByResourceTypeGet.cs

View workflow job for this annotation

GitHub Actions / License update

'ByProjectKeyByResourceTypeGet.GetType()' hides inherited member 'object.GetType()'. Use the new keyword if hiding was intended.
{
return this.GetQueryParam("type");
}
Expand Down Expand Up @@ -167,9 +167,9 @@
return this.AddQueryParam("resourceKey", resourceKey);
}

public ByProjectKeyByResourceTypeGet WithSource(string source)
public ByProjectKeyByResourceTypeGet WithSource(ISource source)
{
return this.AddQueryParam("source", source);
return this.AddQueryParam("source", source.JsonName);
}

public ByProjectKeyByResourceTypeGet WithChanges(string changes)
Expand Down
1 change: 1 addition & 0 deletions references.txt
Original file line number Diff line number Diff line change
Expand Up @@ -296,3 +296,4 @@ d410bad973f2fe90ea8239c4cb586fe0cfc13856
605a1ff5cf861ca0d8e2711ca79374804f180b50
f254d17f05343dcc4299fc53ff9b335b5ef63d69
6892be230f1ad73f1150dd544c9fa7fee0e6b123
6a8624fb41168a6a78ac836b7208c2790a686608
Loading