Skip to content

Commit

Permalink
update golang sdk to v1.1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
tianxuan-cl committed Apr 19, 2022
1 parent c61d615 commit b33b0fd
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 3 deletions.
3 changes: 3 additions & 0 deletions ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
2022-04-19 Version: v1.1.9
- Update apis

2022-04-17 Version: v1.1.8
- Update apis

Expand Down
18 changes: 15 additions & 3 deletions client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -9682,8 +9682,9 @@ type CreateFileRequest struct {
Location *string `json:"location,omitempty" xml:"location,omitempty"`
Meta *string `json:"meta,omitempty" xml:"meta,omitempty"`
// Name
Name *string `json:"name,omitempty" xml:"name,omitempty" require:"true" maxLength:"1024" minLength:"1"`
ParallelUpload *bool `json:"parallel_upload,omitempty" xml:"parallel_upload,omitempty"`
Name *string `json:"name,omitempty" xml:"name,omitempty" require:"true" maxLength:"1024" minLength:"1"`
NeedMergePeriodRevision *bool `json:"need_merge_period_revision,omitempty" xml:"need_merge_period_revision,omitempty"`
ParallelUpload *bool `json:"parallel_upload,omitempty" xml:"parallel_upload,omitempty"`
// parent_file_id
ParentFileId *string `json:"parent_file_id,omitempty" xml:"parent_file_id,omitempty" require:"true" maxLength:"50" minLength:"4" pattern:"[a-z0-9]{1,50}"`
ParentFileIdPath *string `json:"parent_file_id_path,omitempty" xml:"parent_file_id_path,omitempty"`
Expand Down Expand Up @@ -9850,6 +9851,11 @@ func (s *CreateFileRequest) SetName(v string) *CreateFileRequest {
return s
}

func (s *CreateFileRequest) SetNeedMergePeriodRevision(v bool) *CreateFileRequest {
s.NeedMergePeriodRevision = &v
return s
}

func (s *CreateFileRequest) SetParallelUpload(v bool) *CreateFileRequest {
s.ParallelUpload = &v
return s
Expand Down Expand Up @@ -24174,7 +24180,8 @@ type UCCreateFileRequest struct {
Location *string `json:"location,omitempty" xml:"location,omitempty"`
Meta *string `json:"meta,omitempty" xml:"meta,omitempty"`
// Name
Name *string `json:"name,omitempty" xml:"name,omitempty" require:"true" maxLength:"1024" minLength:"1"`
Name *string `json:"name,omitempty" xml:"name,omitempty" require:"true" maxLength:"1024" minLength:"1"`
NeedMergePeriodRevision *bool `json:"need_merge_period_revision,omitempty" xml:"need_merge_period_revision,omitempty"`
// overwrite
Overwrite *bool `json:"overwrite,omitempty" xml:"overwrite,omitempty"`
ParallelUpload *bool `json:"parallel_upload,omitempty" xml:"parallel_upload,omitempty"`
Expand Down Expand Up @@ -24367,6 +24374,11 @@ func (s *UCCreateFileRequest) SetName(v string) *UCCreateFileRequest {
return s
}

func (s *UCCreateFileRequest) SetNeedMergePeriodRevision(v bool) *UCCreateFileRequest {
s.NeedMergePeriodRevision = &v
return s
}

func (s *UCCreateFileRequest) SetOverwrite(v bool) *UCCreateFileRequest {
s.Overwrite = &v
return s
Expand Down

0 comments on commit b33b0fd

Please sign in to comment.