Skip to content

Commit

Permalink
Merge pull request #9 from Ali-YousefiTelori/develop
Browse files Browse the repository at this point in the history
update client
  • Loading branch information
Ali-YousefiTelori authored Oct 3, 2023
2 parents 1aff167 + c71a738 commit 378bc1e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1281,21 +1281,21 @@ public virtual async System.Threading.Tasks.Task<CreateOrderResponseContractMess

/// <returns>Success</returns>
/// <exception cref="ApiException">A server side error occurred.</exception>
public virtual System.Threading.Tasks.Task<MessageContract> OpenPortalAsync(long? id)
public virtual System.Threading.Tasks.Task<MessageContract> OpenPortalAsync(string portalKey)
{
return OpenPortalAsync(id, System.Threading.CancellationToken.None);
return OpenPortalAsync(portalKey, System.Threading.CancellationToken.None);
}

/// <param name="cancellationToken">A cancellation token that can be used by other objects or threads to receive notice of cancellation.</param>
/// <returns>Success</returns>
/// <exception cref="ApiException">A server side error occurred.</exception>
public virtual async System.Threading.Tasks.Task<MessageContract> OpenPortalAsync(long? id, System.Threading.CancellationToken cancellationToken)
public virtual async System.Threading.Tasks.Task<MessageContract> OpenPortalAsync(string portalKey, System.Threading.CancellationToken cancellationToken)
{
var urlBuilder_ = new System.Text.StringBuilder();
urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/api/OrderPortal/OpenPortal?");
if (id != null)
if (portalKey != null)
{
urlBuilder_.Append(System.Uri.EscapeDataString("id") + "=").Append(System.Uri.EscapeDataString(ConvertToString(id, System.Globalization.CultureInfo.InvariantCulture))).Append("&");
urlBuilder_.Append(System.Uri.EscapeDataString("portalKey") + "=").Append(System.Uri.EscapeDataString(ConvertToString(portalKey, System.Globalization.CultureInfo.InvariantCulture))).Append("&");
}
urlBuilder_.Length--;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -680,11 +680,10 @@
"operationId": "OpenPortal",
"parameters": [
{
"name": "id",
"name": "portalKey",
"in": "query",
"schema": {
"type": "integer",
"format": "int64"
"type": "string"
}
}
],
Expand Down

0 comments on commit 378bc1e

Please sign in to comment.