Used expirationDateTime key for graph api (#9278)

This commit is contained in:
Prarup Gurung
2024-05-30 11:05:29 +02:00
committed by Ralf Haferkamp
parent a0a3447a00
commit 5327f90712
44 changed files with 1647 additions and 375 deletions
+8 -6
View File
@@ -40,8 +40,8 @@ func (r ApiGetOwnUserRequest) Execute() (*User, *http.Response, error) {
/*
GetOwnUser Get current user
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetOwnUserRequest
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetOwnUserRequest
*/
func (a *MeUserApiService) GetOwnUser(ctx context.Context) ApiGetOwnUserRequest {
return ApiGetOwnUserRequest{
@@ -51,7 +51,8 @@ func (a *MeUserApiService) GetOwnUser(ctx context.Context) ApiGetOwnUserRequest
}
// Execute executes the request
// @return User
//
// @return User
func (a *MeUserApiService) GetOwnUserExecute(r ApiGetOwnUserRequest) (*User, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
@@ -155,8 +156,8 @@ func (r ApiUpdateOwnUserRequest) Execute() (*User, *http.Response, error) {
/*
UpdateOwnUser Update the current user
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiUpdateOwnUserRequest
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiUpdateOwnUserRequest
*/
func (a *MeUserApiService) UpdateOwnUser(ctx context.Context) ApiUpdateOwnUserRequest {
return ApiUpdateOwnUserRequest{
@@ -166,7 +167,8 @@ func (a *MeUserApiService) UpdateOwnUser(ctx context.Context) ApiUpdateOwnUserRe
}
// Execute executes the request
// @return User
//
// @return User
func (a *MeUserApiService) UpdateOwnUserExecute(r ApiUpdateOwnUserRequest) (*User, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPatch