Skip to content

Commit

Permalink
[FIX] GO code documentation maintenance
Browse files Browse the repository at this point in the history
  • Loading branch information
LuisZanella authored Oct 2, 2024
1 parent 88f7d1f commit 6173a76
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import (
"context"
abstractions "github.com/microsoft/kiota-abstractions-go"
msgraphsdk "github.com/microsoftgraph/msgraph-sdk-go"
"github.com/microsoft/kiota-abstractions-go/serialization"
graphusers "github.com/microsoftgraph/msgraph-sdk-go/users"
graphmodels "github.com/microsoftgraph/msgraph-sdk-go/models"
//other-imports
Expand All @@ -27,8 +28,8 @@ requestBody := graphusers.NewItemFindMeetingTimesPostRequestBody()


attendeeBase := graphmodels.NewAttendeeBase()
type := graphmodels.REQUIRED_ATTENDEETYPE
attendeeBase.SetType(&type)
attendeeType := graphmodels.REQUIRED_ATTENDEETYPE
attendeeBase.SetType(&attendeeType)
emailAddress := graphmodels.NewEmailAddress()
name := "Alex Wilbur"
emailAddress.SetName(&name)
Expand Down Expand Up @@ -84,7 +85,7 @@ timeConstraint.SetTimeSlots(timeSlots)
requestBody.SetTimeConstraint(timeConstraint)
isOrganizerOptional := false
requestBody.SetIsOrganizerOptional(&isOrganizerOptional)
meetingDuration , err := abstractions.ParseISODuration("PT1H")
meetingDuration , err := serialization.ParseISODuration("PT1H")
requestBody.SetMeetingDuration(&meetingDuration)
returnSuggestionReasons := true
requestBody.SetReturnSuggestionReasons(&returnSuggestionReasons)
Expand All @@ -95,4 +96,4 @@ requestBody.SetMinimumAttendeePercentage(&minimumAttendeePercentage)
findMeetingTimes, err := graphClient.Me().FindMeetingTimes().Post(context.Background(), requestBody, configuration)


```
```

0 comments on commit 6173a76

Please sign in to comment.