Skip to content

Commit

Permalink
Update API GetClusterAuditProject: update response param.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Aug 6, 2024
1 parent 7b67e05 commit d78fdae
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2024-08-06 Version: v5.7.2
- Update API GetClusterAuditProject: update response param.


2024-08-02 Version: v5.7.1
- Update API DeleteAlertContact: update param contact_ids.
- Update API DeleteAlertContact: update response param.
Expand Down
6 changes: 6 additions & 0 deletions client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -19599,6 +19599,7 @@ func (s *GetClusterAddonInstanceResponse) SetBody(v *GetClusterAddonInstanceResp
}

type GetClusterAuditProjectResponseBody struct {
AuditEnabled *bool `json:"audit_enabled,omitempty" xml:"audit_enabled,omitempty"`
// example:
//
// k8s-log-cad1230511cbb4db4a488e58518******
Expand All @@ -19613,6 +19614,11 @@ func (s GetClusterAuditProjectResponseBody) GoString() string {
return s.String()
}

func (s *GetClusterAuditProjectResponseBody) SetAuditEnabled(v bool) *GetClusterAuditProjectResponseBody {
s.AuditEnabled = &v
return s
}

func (s *GetClusterAuditProjectResponseBody) SetSlsProjectName(v string) *GetClusterAuditProjectResponseBody {
s.SlsProjectName = &v
return s
Expand Down

0 comments on commit d78fdae

Please sign in to comment.