Skip to content

Commit e85d132

Browse files
committed
Generated golang 2018-08-28 for Tag.
1 parent 9f79f9a commit e85d132

77 files changed

Lines changed: 1094 additions & 514 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2026-07-08 Version: v2.1.3
2+
- Generated golang 2018-08-28 for Tag.
3+
14
2025-09-10 Version: v2.1.2
25
- Generated golang 2018-08-28 for Tag.
36

client/attach_policy_response_model.go

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,5 +59,10 @@ func (s *AttachPolicyResponse) SetBody(v *AttachPolicyResponseBody) *AttachPolic
5959
}
6060

6161
func (s *AttachPolicyResponse) Validate() error {
62-
return dara.Validate(s)
62+
if s.Body != nil {
63+
if err := s.Body.Validate(); err != nil {
64+
return err
65+
}
66+
}
67+
return nil
6368
}

client/check_created_by_enabled_request_model.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ type iCheckCreatedByEnabledRequest interface {
2424
type CheckCreatedByEnabledRequest struct {
2525
OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
2626
OwnerId *int64 `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
27+
// The ID of the region where the instance resides.
28+
//
29+
// Set the value to cn-shanghai.
30+
//
2731
// This parameter is required.
2832
//
2933
// example:

client/check_created_by_enabled_response_body_model.go

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,21 @@ type iCheckCreatedByEnabledResponseBody interface {
1616
}
1717

1818
type CheckCreatedByEnabledResponseBody struct {
19+
// Indicates whether the createdby tag is enabled. Valid values:
20+
//
21+
// - true
22+
//
23+
// - false
24+
//
1925
// example:
2026
//
2127
// false
2228
OpenStatus *bool `json:"OpenStatus,omitempty" xml:"OpenStatus,omitempty"`
29+
// The request ID.
30+
//
2331
// example:
2432
//
25-
// 682DD9E1-F530-5D14-A839-A6787FA82B74
33+
// 682DD9E1-F530-5D14-A839-A6787FA8****
2634
RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
2735
}
2836

client/check_created_by_enabled_response_model.go

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,5 +59,10 @@ func (s *CheckCreatedByEnabledResponse) SetBody(v *CheckCreatedByEnabledResponse
5959
}
6060

6161
func (s *CheckCreatedByEnabledResponse) Validate() error {
62-
return dara.Validate(s)
62+
if s.Body != nil {
63+
if err := s.Body.Validate(); err != nil {
64+
return err
65+
}
66+
}
67+
return nil
6368
}

0 commit comments

Comments
 (0)