-
Notifications
You must be signed in to change notification settings - Fork 23
[DAS 358] - Added XadsMeta properties to Upload function #209
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
base: development
Are you sure you want to change the base?
Changes from all commits
2cb5d28
854c882
3c70e62
16813da
972f0ac
b883e21
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -80,8 +80,23 @@ public OssClient(SDKManager.SDKManager sdkManager = default, IAuthenticationProv | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| /// An access token obtained by a call to GetThreeLeggedTokenAsync() or GetTwoLeggedTokenAsync(). | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| /// (optional) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| /// </param> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| /// <param name="xAdsMetaContentType"> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ///The Content-Type value for the uploaded object to record within OSS. (optional) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| /// </param> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| /// <param name="xAdsMetaContentDisposition"> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ///The Content-Disposition value for the uploaded object to record within OSS. (optional) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| /// </param> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| /// <param name="xAdsMetaContentEncoding"> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ///The Content-Encoding value for the uploaded object to record within OSS. (optional) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| /// </param> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| /// <param name="xAdsMetaCacheControl"> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ///The Cache-Control value for the uploaded object to record within OSS. (optional) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ///The Cache-Control value for the uploaded object to record within OSS. (optional) | |
| /// The Cache-Control value for the uploaded object to record within OSS. (optional) |
Copilot
AI
Sep 22, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
XML documentation comments are missing proper spacing. Each comment should start with '/// ' (three slashes followed by a space) instead of '///'.
| ///The Content-Type value for the uploaded object to record within OSS. (optional) | |
| /// </param> | |
| /// <param name="xAdsMetaContentDisposition"> | |
| ///The Content-Disposition value for the uploaded object to record within OSS. (optional) | |
| /// </param> | |
| /// <param name="xAdsMetaContentEncoding"> | |
| ///The Content-Encoding value for the uploaded object to record within OSS. (optional) | |
| /// </param> | |
| /// <param name="xAdsMetaCacheControl"> | |
| ///The Cache-Control value for the uploaded object to record within OSS. (optional) | |
| /// </param> | |
| /// <param name="xAdsUserDefinedMetadata"> | |
| ///Custom metadata to be stored with the object, which can be retrieved later on download or when retrieving object details. Must be a JSON object that is less than 100 bytes. (optional) | |
| /// The Content-Type value for the uploaded object to record within OSS. (optional) | |
| /// </param> | |
| /// <param name="xAdsMetaContentDisposition"> | |
| /// The Content-Disposition value for the uploaded object to record within OSS. (optional) | |
| /// </param> | |
| /// <param name="xAdsMetaContentEncoding"> | |
| /// The Content-Encoding value for the uploaded object to record within OSS. (optional) | |
| /// </param> | |
| /// <param name="xAdsMetaCacheControl"> | |
| /// The Cache-Control value for the uploaded object to record within OSS. (optional) | |
| /// </param> | |
| /// <param name="xAdsUserDefinedMetadata"> | |
| /// Custom metadata to be stored with the object, which can be retrieved later on download or when retrieving object details. Must be a JSON object that is less than 100 bytes. (optional) |
Copilot
AI
Sep 22, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing space after comma between xAdsMetaContentType and xAdsMetaContentDisposition parameters. This should be consistent with the spacing used for other parameters.
| var response = await this.oSSFileTransfer.Upload(bucketKey, objectKey, sourceToUpload, accessToken, cancellationToken, requestIdPrefix, progress, xAdsMetaContentType,xAdsMetaContentDisposition, xAdsMetaContentEncoding, xAdsMetaCacheControl, xAdsUserDefinedMetadata); | |
| var response = await this.oSSFileTransfer.Upload(bucketKey, objectKey, sourceToUpload, accessToken, cancellationToken, requestIdPrefix, progress, xAdsMetaContentType, xAdsMetaContentDisposition, xAdsMetaContentEncoding, xAdsMetaCacheControl, xAdsUserDefinedMetadata); |
Copilot
AI
Sep 22, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
XML documentation comments are missing proper spacing. Each comment should start with '/// ' (three slashes followed by a space) instead of '///'.
| ///The Content-Type value for the uploaded object to record within OSS. (optional) | |
| /// The Content-Type value for the uploaded object to record within OSS. (optional) |
Copilot
AI
Sep 22, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
XML documentation comments are missing proper spacing. Each comment should start with '/// ' (three slashes followed by a space) instead of '///'.
| ///The Cache-Control value for the uploaded object to record within OSS. (optional) | |
| /// The Cache-Control value for the uploaded object to record within OSS. (optional) |
Copilot
AI
Sep 22, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
XML documentation comments are missing proper spacing. Each comment should start with '/// ' (three slashes followed by a space) instead of '///'.
| ///The Content-Type value for the uploaded object to record within OSS. (optional) | |
| /// </param> | |
| /// <param name="xAdsMetaContentDisposition"> | |
| ///The Content-Disposition value for the uploaded object to record within OSS. (optional) | |
| /// </param> | |
| /// <param name="xAdsMetaContentEncoding"> | |
| ///The Content-Encoding value for the uploaded object to record within OSS. (optional) | |
| /// </param> | |
| /// <param name="xAdsMetaCacheControl"> | |
| ///The Cache-Control value for the uploaded object to record within OSS. (optional) | |
| /// </param> | |
| /// <param name="xAdsUserDefinedMetadata"> | |
| ///Custom metadata to be stored with the object, which can be retrieved later on download or when retrieving object details. Must be a JSON object that is less than 100 bytes. (optional) | |
| /// The Content-Type value for the uploaded object to record within OSS. (optional) | |
| /// </param> | |
| /// <param name="xAdsMetaContentDisposition"> | |
| /// The Content-Disposition value for the uploaded object to record within OSS. (optional) | |
| /// </param> | |
| /// <param name="xAdsMetaContentEncoding"> | |
| /// The Content-Encoding value for the uploaded object to record within OSS. (optional) | |
| /// </param> | |
| /// <param name="xAdsMetaCacheControl"> | |
| /// The Cache-Control value for the uploaded object to record within OSS. (optional) | |
| /// </param> | |
| /// <param name="xAdsUserDefinedMetadata"> | |
| /// Custom metadata to be stored with the object, which can be retrieved later on download or when retrieving object details. Must be a JSON object that is less than 100 bytes. (optional) |
Copilot
AI
Sep 22, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
XML documentation comments are missing proper spacing. Each comment should start with '/// ' (three slashes followed by a space) instead of '///'.
| ///The Content-Type value for the uploaded object to record within OSS. (optional) | |
| /// </param> | |
| /// <param name="xAdsMetaContentDisposition"> | |
| ///The Content-Disposition value for the uploaded object to record within OSS. (optional) | |
| /// </param> | |
| /// <param name="xAdsMetaContentEncoding"> | |
| ///The Content-Encoding value for the uploaded object to record within OSS. (optional) | |
| /// </param> | |
| /// <param name="xAdsMetaCacheControl"> | |
| ///The Cache-Control value for the uploaded object to record within OSS. (optional) | |
| /// </param> | |
| /// <param name="xAdsUserDefinedMetadata"> | |
| ///Custom metadata to be stored with the object, which can be retrieved later on download or when retrieving object details. Must be a JSON object that is less than 100 bytes. (optional) | |
| /// The Content-Type value for the uploaded object to record within OSS. (optional) | |
| /// </param> | |
| /// <param name="xAdsMetaContentDisposition"> | |
| /// The Content-Disposition value for the uploaded object to record within OSS. (optional) | |
| /// </param> | |
| /// <param name="xAdsMetaContentEncoding"> | |
| /// The Content-Encoding value for the uploaded object to record within OSS. (optional) | |
| /// </param> | |
| /// <param name="xAdsMetaCacheControl"> | |
| /// The Cache-Control value for the uploaded object to record within OSS. (optional) | |
| /// </param> | |
| /// <param name="xAdsUserDefinedMetadata"> | |
| /// Custom metadata to be stored with the object, which can be retrieved later on download or when retrieving object details. Must be a JSON object that is less than 100 bytes. (optional) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
XML documentation comments are missing proper spacing. Each comment should start with '/// ' (three slashes followed by a space) instead of '///'.