bump libre-graph-api-go

Signed-off-by: Christian Richter <c.richter@opencloud.eu>
This commit is contained in:
Christian Richter
2025-07-07 16:45:12 +02:00
parent 74ba68ffd1
commit 979b93806e
6 changed files with 34 additions and 4 deletions

View File

@@ -252,6 +252,13 @@ type ApiGetDriveRequest struct {
ctx context.Context
ApiService *DrivesApiService
driveId string
select_ *[]string
}
// Select properties to be returned. By default all properties are returned.
func (r ApiGetDriveRequest) Select_(select_ []string) ApiGetDriveRequest {
r.select_ = &select_
return r
}
func (r ApiGetDriveRequest) Execute() (*Drive, *http.Response, error) {
@@ -295,6 +302,9 @@ func (a *DrivesApiService) GetDriveExecute(r ApiGetDriveRequest) (*Drive, *http.
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
if r.select_ != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "$select", r.select_, "form", "csv")
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}

View File

@@ -153,6 +153,7 @@ type ApiListAllDrivesBetaRequest struct {
orderby *string
filter *string
expand *string
select_ *[]string
}
// The $orderby system query option allows clients to request resources in either ascending order using asc or descending order using desc.
@@ -173,6 +174,12 @@ func (r ApiListAllDrivesBetaRequest) Expand(expand string) ApiListAllDrivesBetaR
return r
}
// Select properties to be returned. By default all properties are returned.
func (r ApiListAllDrivesBetaRequest) Select_(select_ []string) ApiListAllDrivesBetaRequest {
r.select_ = &select_
return r
}
func (r ApiListAllDrivesBetaRequest) Execute() (*CollectionOfDrives1, *http.Response, error) {
return r.ApiService.ListAllDrivesBetaExecute(r)
}
@@ -220,6 +227,9 @@ func (a *DrivesGetDrivesApiService) ListAllDrivesBetaExecute(r ApiListAllDrivesB
if r.expand != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "$expand", r.expand, "form", "")
}
if r.select_ != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "$select", r.select_, "form", "csv")
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}

View File

@@ -153,6 +153,7 @@ type ApiListMyDrivesBetaRequest struct {
orderby *string
filter *string
expand *string
select_ *[]string
}
// The $orderby system query option allows clients to request resources in either ascending order using asc or descending order using desc.
@@ -173,6 +174,12 @@ func (r ApiListMyDrivesBetaRequest) Expand(expand string) ApiListMyDrivesBetaReq
return r
}
// Select properties to be returned. By default all properties are returned.
func (r ApiListMyDrivesBetaRequest) Select_(select_ []string) ApiListMyDrivesBetaRequest {
r.select_ = &select_
return r
}
func (r ApiListMyDrivesBetaRequest) Execute() (*CollectionOfDrives, *http.Response, error) {
return r.ApiService.ListMyDrivesBetaExecute(r)
}
@@ -220,6 +227,9 @@ func (a *MeDrivesApiService) ListMyDrivesBetaExecute(r ApiListMyDrivesBetaReques
if r.expand != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "$expand", r.expand, "form", "")
}
if r.select_ != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "$select", r.select_, "form", "csv")
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}