Skip to content

容器镜像服务,参照企业版API,修个人版API返回Body类型为json #15

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
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
148 changes: 74 additions & 74 deletions cr-20160607/core/Client.cs

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions cr-20160607/core/Models/BaseModel.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
using Tea;

namespace AlibabaCloud.SDK.Cr20160607.Models
{
public abstract class BaseModel : TeaModel
{
[NameInMap("body")]
[Validation(Required = true)]
public virtual string Body { get; set; }
}
}
2 changes: 1 addition & 1 deletion cr-20160607/core/Models/CancelRepoBuildResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

namespace AlibabaCloud.SDK.Cr20160607.Models
{
public class CancelRepoBuildResponse : TeaModel {
public class CancelRepoBuildResponse : BaseModel {
[NameInMap("headers")]
[Validation(Required=true)]
public Dictionary<string, string> Headers { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion cr-20160607/core/Models/CreateNamespaceResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace AlibabaCloud.SDK.Cr20160607.Models
{
public class CreateNamespaceResponse : TeaModel {
public class CreateNamespaceResponse : BaseModel {
[NameInMap("headers")]
[Validation(Required=true)]
public Dictionary<string, string> Headers { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion cr-20160607/core/Models/CreateRepoBuildRuleResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace AlibabaCloud.SDK.Cr20160607.Models
{
public class CreateRepoBuildRuleResponse : TeaModel {
public class CreateRepoBuildRuleResponse : BaseModel {
[NameInMap("headers")]
[Validation(Required=true)]
public Dictionary<string, string> Headers { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion cr-20160607/core/Models/CreateRepoResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace AlibabaCloud.SDK.Cr20160607.Models
{
public class CreateRepoResponse : TeaModel {
public class CreateRepoResponse : BaseModel {
[NameInMap("headers")]
[Validation(Required=true)]
public Dictionary<string, string> Headers { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion cr-20160607/core/Models/CreateRepoWebhookResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace AlibabaCloud.SDK.Cr20160607.Models
{
public class CreateRepoWebhookResponse : TeaModel {
public class CreateRepoWebhookResponse : BaseModel {
[NameInMap("headers")]
[Validation(Required=true)]
public Dictionary<string, string> Headers { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion cr-20160607/core/Models/CreateUserInfoResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace AlibabaCloud.SDK.Cr20160607.Models
{
public class CreateUserInfoResponse : TeaModel {
public class CreateUserInfoResponse : BaseModel {
[NameInMap("headers")]
[Validation(Required=true)]
public Dictionary<string, string> Headers { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion cr-20160607/core/Models/DeleteImageResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace AlibabaCloud.SDK.Cr20160607.Models
{
public class DeleteImageResponse : TeaModel {
public class DeleteImageResponse : BaseModel {
[NameInMap("headers")]
[Validation(Required=true)]
public Dictionary<string, string> Headers { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion cr-20160607/core/Models/DeleteNamespaceResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace AlibabaCloud.SDK.Cr20160607.Models
{
public class DeleteNamespaceResponse : TeaModel {
public class DeleteNamespaceResponse : BaseModel {
[NameInMap("headers")]
[Validation(Required=true)]
public Dictionary<string, string> Headers { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion cr-20160607/core/Models/DeleteRepoBuildRuleResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace AlibabaCloud.SDK.Cr20160607.Models
{
public class DeleteRepoBuildRuleResponse : TeaModel {
public class DeleteRepoBuildRuleResponse : BaseModel {
[NameInMap("headers")]
[Validation(Required=true)]
public Dictionary<string, string> Headers { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion cr-20160607/core/Models/DeleteRepoResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace AlibabaCloud.SDK.Cr20160607.Models
{
public class DeleteRepoResponse : TeaModel {
public class DeleteRepoResponse : BaseModel {
[NameInMap("headers")]
[Validation(Required=true)]
public Dictionary<string, string> Headers { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion cr-20160607/core/Models/DeleteRepoWebhookResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace AlibabaCloud.SDK.Cr20160607.Models
{
public class DeleteRepoWebhookResponse : TeaModel {
public class DeleteRepoWebhookResponse : BaseModel {
[NameInMap("headers")]
[Validation(Required=true)]
public Dictionary<string, string> Headers { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion cr-20160607/core/Models/GetAuthorizationTokenResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace AlibabaCloud.SDK.Cr20160607.Models
{
public class GetAuthorizationTokenResponse : TeaModel {
public class GetAuthorizationTokenResponse : BaseModel {
[NameInMap("headers")]
[Validation(Required=true)]
public Dictionary<string, string> Headers { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion cr-20160607/core/Models/GetImageLayerResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace AlibabaCloud.SDK.Cr20160607.Models
{
public class GetImageLayerResponse : TeaModel {
public class GetImageLayerResponse : BaseModel {
[NameInMap("headers")]
[Validation(Required=true)]
public Dictionary<string, string> Headers { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion cr-20160607/core/Models/GetImageManifestRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace AlibabaCloud.SDK.Cr20160607.Models
{
public class GetImageManifestRequest : TeaModel {
public class GetImageManifestRequest : BaseModel {
[NameInMap("SchemaVersion")]
[Validation(Required=false)]
public int? SchemaVersion { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion cr-20160607/core/Models/GetImageManifestResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace AlibabaCloud.SDK.Cr20160607.Models
{
public class GetImageManifestResponse : TeaModel {
public class GetImageManifestResponse : BaseModel {
[NameInMap("headers")]
[Validation(Required=true)]
public Dictionary<string, string> Headers { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion cr-20160607/core/Models/GetNamespaceListRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace AlibabaCloud.SDK.Cr20160607.Models
{
public class GetNamespaceListRequest : TeaModel {
public class GetNamespaceListRequest : BaseModel {
[NameInMap("Authorize")]
[Validation(Required=false)]
public string Authorize { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion cr-20160607/core/Models/GetNamespaceListResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace AlibabaCloud.SDK.Cr20160607.Models
{
public class GetNamespaceListResponse : TeaModel {
public class GetNamespaceListResponse : BaseModel {
[NameInMap("headers")]
[Validation(Required=true)]
public Dictionary<string, string> Headers { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion cr-20160607/core/Models/GetNamespaceResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace AlibabaCloud.SDK.Cr20160607.Models
{
public class GetNamespaceResponse : TeaModel {
public class GetNamespaceResponse : BaseModel {
[NameInMap("headers")]
[Validation(Required=true)]
public Dictionary<string, string> Headers { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion cr-20160607/core/Models/GetRegionListResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace AlibabaCloud.SDK.Cr20160607.Models
{
public class GetRegionListResponse : TeaModel {
public class GetRegionListResponse : BaseModel {
[NameInMap("headers")]
[Validation(Required=true)]
public Dictionary<string, string> Headers { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion cr-20160607/core/Models/GetRegionRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace AlibabaCloud.SDK.Cr20160607.Models
{
public class GetRegionRequest : TeaModel {
public class GetRegionRequest : BaseModel {
[NameInMap("Domain")]
[Validation(Required=false)]
public string Domain { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion cr-20160607/core/Models/GetRegionResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace AlibabaCloud.SDK.Cr20160607.Models
{
public class GetRegionResponse : TeaModel {
public class GetRegionResponse : BaseModel {
[NameInMap("headers")]
[Validation(Required=true)]
public Dictionary<string, string> Headers { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion cr-20160607/core/Models/GetRepoBuildListRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace AlibabaCloud.SDK.Cr20160607.Models
{
public class GetRepoBuildListRequest : TeaModel {
public class GetRepoBuildListRequest : BaseModel {
[NameInMap("Page")]
[Validation(Required=false)]
public int? Page { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion cr-20160607/core/Models/GetRepoBuildListResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace AlibabaCloud.SDK.Cr20160607.Models
{
public class GetRepoBuildListResponse : TeaModel {
public class GetRepoBuildListResponse : BaseModel {
[NameInMap("headers")]
[Validation(Required=true)]
public Dictionary<string, string> Headers { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion cr-20160607/core/Models/GetRepoBuildRuleListResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace AlibabaCloud.SDK.Cr20160607.Models
{
public class GetRepoBuildRuleListResponse : TeaModel {
public class GetRepoBuildRuleListResponse : BaseModel {
[NameInMap("headers")]
[Validation(Required=true)]
public Dictionary<string, string> Headers { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion cr-20160607/core/Models/GetRepoBuildStatusResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace AlibabaCloud.SDK.Cr20160607.Models
{
public class GetRepoBuildStatusResponse : TeaModel {
public class GetRepoBuildStatusResponse : BaseModel {
[NameInMap("headers")]
[Validation(Required=true)]
public Dictionary<string, string> Headers { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion cr-20160607/core/Models/GetRepoListByNamespaceRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace AlibabaCloud.SDK.Cr20160607.Models
{
public class GetRepoListByNamespaceRequest : TeaModel {
public class GetRepoListByNamespaceRequest : BaseModel {
[NameInMap("Page")]
[Validation(Required=false)]
public int? Page { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion cr-20160607/core/Models/GetRepoListByNamespaceResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace AlibabaCloud.SDK.Cr20160607.Models
{
public class GetRepoListByNamespaceResponse : TeaModel {
public class GetRepoListByNamespaceResponse : BaseModel {
[NameInMap("headers")]
[Validation(Required=true)]
public Dictionary<string, string> Headers { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion cr-20160607/core/Models/GetRepoListRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace AlibabaCloud.SDK.Cr20160607.Models
{
public class GetRepoListRequest : TeaModel {
public class GetRepoListRequest : BaseModel {
[NameInMap("Page")]
[Validation(Required=false)]
public int? Page { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion cr-20160607/core/Models/GetRepoListResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace AlibabaCloud.SDK.Cr20160607.Models
{
public class GetRepoListResponse : TeaModel {
public class GetRepoListResponse : BaseModel {
[NameInMap("headers")]
[Validation(Required=true)]
public Dictionary<string, string> Headers { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion cr-20160607/core/Models/GetRepoResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace AlibabaCloud.SDK.Cr20160607.Models
{
public class GetRepoResponse : TeaModel {
public class GetRepoResponse : BaseModel {
[NameInMap("headers")]
[Validation(Required=true)]
public Dictionary<string, string> Headers { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion cr-20160607/core/Models/GetRepoTagResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace AlibabaCloud.SDK.Cr20160607.Models
{
public class GetRepoTagResponse : TeaModel {
public class GetRepoTagResponse : BaseModel {
[NameInMap("headers")]
[Validation(Required=true)]
public Dictionary<string, string> Headers { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion cr-20160607/core/Models/GetRepoTagResponseBody.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace AlibabaCloud.SDK.Cr20160607.Models
{
public class GetRepoTagResponseBody : TeaModel {
public class GetRepoTagResponseBody : BaseModel {
[NameInMap("digest")]
[Validation(Required=false)]
public string Digest { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion cr-20160607/core/Models/GetRepoTagScanListRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace AlibabaCloud.SDK.Cr20160607.Models
{
public class GetRepoTagScanListRequest : TeaModel {
public class GetRepoTagScanListRequest : BaseModel {
[NameInMap("Page")]
[Validation(Required=false)]
public int? Page { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion cr-20160607/core/Models/GetRepoTagScanListResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace AlibabaCloud.SDK.Cr20160607.Models
{
public class GetRepoTagScanListResponse : TeaModel {
public class GetRepoTagScanListResponse : BaseModel {
[NameInMap("headers")]
[Validation(Required=true)]
public Dictionary<string, string> Headers { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion cr-20160607/core/Models/GetRepoTagScanStatusResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace AlibabaCloud.SDK.Cr20160607.Models
{
public class GetRepoTagScanStatusResponse : TeaModel {
public class GetRepoTagScanStatusResponse : BaseModel {
[NameInMap("headers")]
[Validation(Required=true)]
public Dictionary<string, string> Headers { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion cr-20160607/core/Models/GetRepoTagScanSummaryResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace AlibabaCloud.SDK.Cr20160607.Models
{
public class GetRepoTagScanSummaryResponse : TeaModel {
public class GetRepoTagScanSummaryResponse : BaseModel {
[NameInMap("headers")]
[Validation(Required=true)]
public Dictionary<string, string> Headers { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion cr-20160607/core/Models/GetRepoTagsRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace AlibabaCloud.SDK.Cr20160607.Models
{
public class GetRepoTagsRequest : TeaModel {
public class GetRepoTagsRequest : BaseModel {
[NameInMap("Page")]
[Validation(Required=false)]
public int? Page { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion cr-20160607/core/Models/GetRepoTagsResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace AlibabaCloud.SDK.Cr20160607.Models
{
public class GetRepoTagsResponse : TeaModel {
public class GetRepoTagsResponse : BaseModel {
[NameInMap("headers")]
[Validation(Required=true)]
public Dictionary<string, string> Headers { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion cr-20160607/core/Models/GetRepoWebhookResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace AlibabaCloud.SDK.Cr20160607.Models
{
public class GetRepoWebhookResponse : TeaModel {
public class GetRepoWebhookResponse : BaseModel {
[NameInMap("headers")]
[Validation(Required=true)]
public Dictionary<string, string> Headers { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion cr-20160607/core/Models/GetResourceQuotaResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace AlibabaCloud.SDK.Cr20160607.Models
{
public class GetResourceQuotaResponse : TeaModel {
public class GetResourceQuotaResponse : BaseModel {
[NameInMap("headers")]
[Validation(Required=true)]
public Dictionary<string, string> Headers { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion cr-20160607/core/Models/StartImageScanResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace AlibabaCloud.SDK.Cr20160607.Models
{
public class StartImageScanResponse : TeaModel {
public class StartImageScanResponse : BaseModel {
[NameInMap("headers")]
[Validation(Required=true)]
public Dictionary<string, string> Headers { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion cr-20160607/core/Models/StartRepoBuildByRuleResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace AlibabaCloud.SDK.Cr20160607.Models
{
public class StartRepoBuildByRuleResponse : TeaModel {
public class StartRepoBuildByRuleResponse : BaseModel {
[NameInMap("headers")]
[Validation(Required=true)]
public Dictionary<string, string> Headers { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion cr-20160607/core/Models/UpdateNamespaceResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace AlibabaCloud.SDK.Cr20160607.Models
{
public class UpdateNamespaceResponse : TeaModel {
public class UpdateNamespaceResponse : BaseModel {
[NameInMap("headers")]
[Validation(Required=true)]
public Dictionary<string, string> Headers { get; set; }
Expand Down
Loading