This commit is contained in:
2023-10-25 17:37:18 +03:00
parent b666789c7d
commit 4120cd2b1a
639 changed files with 2010 additions and 3224 deletions

View File

@@ -6,7 +6,7 @@ import (
"net/http"
)
// Request struct for search
// SearchRequest struct for search
type SearchRequest struct {
// ID of the account to search for the Disk
// Required: false
@@ -20,7 +20,7 @@ type SearchRequest struct {
ShowAll bool `url:"show_all,omitempty" json:"show_all,omitempty"`
}
// Search search disks
// Search searches disks
func (d Disks) Search(ctx context.Context, req SearchRequest) (ListSearchDisks, error) {
url := "/cloudapi/disks/search"