enhancement: add sharedWithMe graph beta endpoint (#7633)

This commit is contained in:
Florian Schade
2023-11-08 20:02:58 +01:00
committed by GitHub
parent d928044073
commit 643158b67b
45 changed files with 6268 additions and 163 deletions
+11 -11
View File
@@ -67,7 +67,7 @@ func (a *EducationSchoolApiService) AddClassToSchoolExecute(r ApiAddClassToSchoo
return nil, &GenericOpenAPIError{error: err.Error()}
}
localVarPath := localBasePath + "/education/schools/{school-id}/classes/$ref"
localVarPath := localBasePath + "/v1.0/education/schools/{school-id}/classes/$ref"
localVarPath = strings.Replace(localVarPath, "{"+"school-id"+"}", url.PathEscape(parameterValueToString(r.schoolId, "schoolId")), -1)
localVarHeaderParams := make(map[string]string)
@@ -177,7 +177,7 @@ func (a *EducationSchoolApiService) AddUserToSchoolExecute(r ApiAddUserToSchoolR
return nil, &GenericOpenAPIError{error: err.Error()}
}
localVarPath := localBasePath + "/education/schools/{school-id}/users/$ref"
localVarPath := localBasePath + "/v1.0/education/schools/{school-id}/users/$ref"
localVarPath = strings.Replace(localVarPath, "{"+"school-id"+"}", url.PathEscape(parameterValueToString(r.schoolId, "schoolId")), -1)
localVarHeaderParams := make(map[string]string)
@@ -286,7 +286,7 @@ func (a *EducationSchoolApiService) CreateSchoolExecute(r ApiCreateSchoolRequest
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
localVarPath := localBasePath + "/education/schools"
localVarPath := localBasePath + "/v1.0/education/schools"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
@@ -400,7 +400,7 @@ func (a *EducationSchoolApiService) DeleteClassFromSchoolExecute(r ApiDeleteClas
return nil, &GenericOpenAPIError{error: err.Error()}
}
localVarPath := localBasePath + "/education/schools/{school-id}/classes/{class-id}/$ref"
localVarPath := localBasePath + "/v1.0/education/schools/{school-id}/classes/{class-id}/$ref"
localVarPath = strings.Replace(localVarPath, "{"+"school-id"+"}", url.PathEscape(parameterValueToString(r.schoolId, "schoolId")), -1)
localVarPath = strings.Replace(localVarPath, "{"+"class-id"+"}", url.PathEscape(parameterValueToString(r.classId, "classId")), -1)
@@ -501,7 +501,7 @@ func (a *EducationSchoolApiService) DeleteSchoolExecute(r ApiDeleteSchoolRequest
return nil, &GenericOpenAPIError{error: err.Error()}
}
localVarPath := localBasePath + "/education/schools/{school-id}"
localVarPath := localBasePath + "/v1.0/education/schools/{school-id}"
localVarPath = strings.Replace(localVarPath, "{"+"school-id"+"}", url.PathEscape(parameterValueToString(r.schoolId, "schoolId")), -1)
localVarHeaderParams := make(map[string]string)
@@ -602,7 +602,7 @@ func (a *EducationSchoolApiService) DeleteUserFromSchoolExecute(r ApiDeleteUserF
return nil, &GenericOpenAPIError{error: err.Error()}
}
localVarPath := localBasePath + "/education/schools/{school-id}/users/{user-id}/$ref"
localVarPath := localBasePath + "/v1.0/education/schools/{school-id}/users/{user-id}/$ref"
localVarPath = strings.Replace(localVarPath, "{"+"school-id"+"}", url.PathEscape(parameterValueToString(r.schoolId, "schoolId")), -1)
localVarPath = strings.Replace(localVarPath, "{"+"user-id"+"}", url.PathEscape(parameterValueToString(r.userId, "userId")), -1)
@@ -703,7 +703,7 @@ func (a *EducationSchoolApiService) GetSchoolExecute(r ApiGetSchoolRequest) (*Ed
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
localVarPath := localBasePath + "/education/schools/{school-id}"
localVarPath := localBasePath + "/v1.0/education/schools/{school-id}"
localVarPath = strings.Replace(localVarPath, "{"+"school-id"+"}", url.PathEscape(parameterValueToString(r.schoolId, "schoolId")), -1)
localVarHeaderParams := make(map[string]string)
@@ -812,7 +812,7 @@ func (a *EducationSchoolApiService) ListSchoolClassesExecute(r ApiListSchoolClas
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
localVarPath := localBasePath + "/education/schools/{school-id}/classes"
localVarPath := localBasePath + "/v1.0/education/schools/{school-id}/classes"
localVarPath = strings.Replace(localVarPath, "{"+"school-id"+"}", url.PathEscape(parameterValueToString(r.schoolId, "schoolId")), -1)
localVarHeaderParams := make(map[string]string)
@@ -921,7 +921,7 @@ func (a *EducationSchoolApiService) ListSchoolUsersExecute(r ApiListSchoolUsersR
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
localVarPath := localBasePath + "/education/schools/{school-id}/users"
localVarPath := localBasePath + "/v1.0/education/schools/{school-id}/users"
localVarPath = strings.Replace(localVarPath, "{"+"school-id"+"}", url.PathEscape(parameterValueToString(r.schoolId, "schoolId")), -1)
localVarHeaderParams := make(map[string]string)
@@ -1027,7 +1027,7 @@ func (a *EducationSchoolApiService) ListSchoolsExecute(r ApiListSchoolsRequest)
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
localVarPath := localBasePath + "/education/schools"
localVarPath := localBasePath + "/v1.0/education/schools"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
@@ -1142,7 +1142,7 @@ func (a *EducationSchoolApiService) UpdateSchoolExecute(r ApiUpdateSchoolRequest
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
localVarPath := localBasePath + "/education/schools/{school-id}"
localVarPath := localBasePath + "/v1.0/education/schools/{school-id}"
localVarPath = strings.Replace(localVarPath, "{"+"school-id"+"}", url.PathEscape(parameterValueToString(r.schoolId, "schoolId")), -1)
localVarHeaderParams := make(map[string]string)