Skip to content

Commit 96ac533

Browse files
Microsoft Graph DevX Toolingbaywet
Microsoft Graph DevX Tooling
authored andcommitted
feat(generation): update request builders and models
Update generated files with build 171412
1 parent 8ca1fb4 commit 96ac533

File tree

112 files changed

+2720
-423
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

112 files changed

+2720
-423
lines changed

applications/delta_request_builder.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
type DeltaRequestBuilder struct {
1111
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
1212
}
13-
// DeltaRequestBuilderGetQueryParameters get newly created, updated, or deleted applications without performing a full read of the entire resource collection. For details, see Using delta query.
13+
// DeltaRequestBuilderGetQueryParameters get newly created, updated, or deleted applications without performing a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details.
1414
type DeltaRequestBuilderGetQueryParameters struct {
1515
// Include count of items
1616
Count *bool `uriparametername:"%24count"`
@@ -51,7 +51,7 @@ func NewDeltaRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb
5151
urlParams["request-raw-url"] = rawUrl
5252
return NewDeltaRequestBuilderInternal(urlParams, requestAdapter)
5353
}
54-
// Get get newly created, updated, or deleted applications without performing a full read of the entire resource collection. For details, see Using delta query.
54+
// Get get newly created, updated, or deleted applications without performing a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details.
5555
// Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead.
5656
// returns a DeltaResponseable when successful
5757
// returns a ODataError error when the service returns a 4XX or 5XX status code
@@ -75,7 +75,7 @@ func (m *DeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *Del
7575
}
7676
return res.(DeltaResponseable), nil
7777
}
78-
// GetAsDeltaGetResponse get newly created, updated, or deleted applications without performing a full read of the entire resource collection. For details, see Using delta query.
78+
// GetAsDeltaGetResponse get newly created, updated, or deleted applications without performing a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details.
7979
// returns a DeltaGetResponseable when successful
8080
// returns a ODataError error when the service returns a 4XX or 5XX status code
8181
// [Find more info here]
@@ -98,7 +98,7 @@ func (m *DeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, request
9898
}
9999
return res.(DeltaGetResponseable), nil
100100
}
101-
// ToGetRequestInformation get newly created, updated, or deleted applications without performing a full read of the entire resource collection. For details, see Using delta query.
101+
// ToGetRequestInformation get newly created, updated, or deleted applications without performing a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details.
102102
// returns a *RequestInformation when successful
103103
func (m *DeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) {
104104
requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters)

applicationtemplates/item_instantiate_post_request_body.go

+37
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,30 @@ func (m *ItemInstantiatePostRequestBody) GetFieldDeserializers()(map[string]func
6666
}
6767
return nil
6868
}
69+
res["serviceManagementReference"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error {
70+
val, err := n.GetStringValue()
71+
if err != nil {
72+
return err
73+
}
74+
if val != nil {
75+
m.SetServiceManagementReference(val)
76+
}
77+
return nil
78+
}
6979
return res
7080
}
81+
// GetServiceManagementReference gets the serviceManagementReference property value. The serviceManagementReference property
82+
// returns a *string when successful
83+
func (m *ItemInstantiatePostRequestBody) GetServiceManagementReference()(*string) {
84+
val, err := m.GetBackingStore().Get("serviceManagementReference")
85+
if err != nil {
86+
panic(err)
87+
}
88+
if val != nil {
89+
return val.(*string)
90+
}
91+
return nil
92+
}
7193
// Serialize serializes information the current object
7294
func (m *ItemInstantiatePostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
7395
{
@@ -76,6 +98,12 @@ func (m *ItemInstantiatePostRequestBody) Serialize(writer i878a80d2330e89d268963
7698
return err
7799
}
78100
}
101+
{
102+
err := writer.WriteStringValue("serviceManagementReference", m.GetServiceManagementReference())
103+
if err != nil {
104+
return err
105+
}
106+
}
79107
{
80108
err := writer.WriteAdditionalData(m.GetAdditionalData())
81109
if err != nil {
@@ -102,12 +130,21 @@ func (m *ItemInstantiatePostRequestBody) SetDisplayName(value *string)() {
102130
panic(err)
103131
}
104132
}
133+
// SetServiceManagementReference sets the serviceManagementReference property value. The serviceManagementReference property
134+
func (m *ItemInstantiatePostRequestBody) SetServiceManagementReference(value *string)() {
135+
err := m.GetBackingStore().Set("serviceManagementReference", value)
136+
if err != nil {
137+
panic(err)
138+
}
139+
}
105140
type ItemInstantiatePostRequestBodyable interface {
106141
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
107142
ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel
108143
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
109144
GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)
110145
GetDisplayName()(*string)
146+
GetServiceManagementReference()(*string)
111147
SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)()
112148
SetDisplayName(value *string)()
149+
SetServiceManagementReference(value *string)()
113150
}

applicationtemplates/item_instantiate_request_builder.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ func NewItemInstantiateRequestBuilder(rawUrl string, requestAdapter i2ae4187f7da
3131
urlParams["request-raw-url"] = rawUrl
3232
return NewItemInstantiateRequestBuilderInternal(urlParams, requestAdapter)
3333
}
34-
// Post add an instance of an application from the Microsoft Entra application gallery into your directory. The application template with ID 8adf8e6e-67b2-4cf2-a259-e3dc5476c621 can be used to add a non-gallery app that you can configure different single-sign on (SSO) modes like SAML SSO and password-based SSO.
34+
// Post add an instance of an application from the Microsoft Entra application gallery into your directory. For non-gallery apps, use an application template with one of the following IDs to configure different single sign-on (SSO) modes like SAML SSO and password-based SSO.
3535
// returns a ApplicationServicePrincipalable when successful
3636
// returns a ODataError error when the service returns a 4XX or 5XX status code
3737
// [Find more info here]
@@ -54,7 +54,7 @@ func (m *ItemInstantiateRequestBuilder) Post(ctx context.Context, body ItemInsta
5454
}
5555
return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ApplicationServicePrincipalable), nil
5656
}
57-
// ToPostRequestInformation add an instance of an application from the Microsoft Entra application gallery into your directory. The application template with ID 8adf8e6e-67b2-4cf2-a259-e3dc5476c621 can be used to add a non-gallery app that you can configure different single-sign on (SSO) modes like SAML SSO and password-based SSO.
57+
// ToPostRequestInformation add an instance of an application from the Microsoft Entra application gallery into your directory. For non-gallery apps, use an application template with one of the following IDs to configure different single sign-on (SSO) modes like SAML SSO and password-based SSO.
5858
// returns a *RequestInformation when successful
5959
func (m *ItemInstantiateRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemInstantiatePostRequestBodyable, requestConfiguration *ItemInstantiateRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) {
6060
requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters)

chats/item_members_conversation_member_item_request_builder.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ type ItemMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration s
1818
// Request options
1919
Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption
2020
}
21-
// ItemMembersConversationMemberItemRequestBuilderGetQueryParameters retrieve a conversationMember from a chat.
21+
// ItemMembersConversationMemberItemRequestBuilderGetQueryParameters retrieve a conversationMember from a chat or channel.
2222
type ItemMembersConversationMemberItemRequestBuilderGetQueryParameters struct {
2323
// Expand related entities
2424
Expand []string `uriparametername:"%24expand"`
@@ -73,12 +73,12 @@ func (m *ItemMembersConversationMemberItemRequestBuilder) Delete(ctx context.Con
7373
}
7474
return nil
7575
}
76-
// Get retrieve a conversationMember from a chat.
76+
// Get retrieve a conversationMember from a chat or channel.
7777
// returns a ConversationMemberable when successful
7878
// returns a ODataError error when the service returns a 4XX or 5XX status code
7979
// [Find more info here]
8080
//
81-
// [Find more info here]: https://learn.microsoft.com/graph/api/chat-get-members?view=graph-rest-1.0
81+
// [Find more info here]: https://learn.microsoft.com/graph/api/conversationmember-get?view=graph-rest-1.0
8282
func (m *ItemMembersConversationMemberItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMembersConversationMemberItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ConversationMemberable, error) {
8383
requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration);
8484
if err != nil {
@@ -127,7 +127,7 @@ func (m *ItemMembersConversationMemberItemRequestBuilder) ToDeleteRequestInforma
127127
requestInfo.Headers.TryAdd("Accept", "application/json")
128128
return requestInfo, nil
129129
}
130-
// ToGetRequestInformation retrieve a conversationMember from a chat.
130+
// ToGetRequestInformation retrieve a conversationMember from a chat or channel.
131131
// returns a *RequestInformation when successful
132132
func (m *ItemMembersConversationMemberItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMembersConversationMemberItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) {
133133
requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters)

communications/calls_item_answer_request_builder.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ func NewCallsItemAnswerRequestBuilder(rawUrl string, requestAdapter i2ae4187f7da
3030
urlParams["request-raw-url"] = rawUrl
3131
return NewCallsItemAnswerRequestBuilderInternal(urlParams, requestAdapter)
3232
}
33-
// Post enable a bot to answer an incoming call. The incoming call request can be an invitation from a participant in a group call or a peer-to-peer call. If an invitation to a group call is received, the notification will contain the chatInfo and meetingInfo parameters. The bot is expected to answer, reject, or redirect the call before the call times out. The current timeout value is 15 seconds for regular scenarios, and 5 seconds for policy-based recording scenarios. This API supports the following PSTN scenarios:
33+
// Post enable a bot to answer an incoming call. The incoming call request can be an invitation from a participant in a group call or a peer-to-peer call. If an invitation to a group call is received, the notification contains the chatInfo and meetingInfo parameters. The bot is expected to answer, reject, or redirect the call before the call times out. The current timeout value is 15 seconds for regular scenarios and 5 seconds for policy-based recording scenarios. This API supports the following PSTN scenarios:
3434
// returns a ODataError error when the service returns a 4XX or 5XX status code
3535
// [Find more info here]
3636
//
@@ -49,7 +49,7 @@ func (m *CallsItemAnswerRequestBuilder) Post(ctx context.Context, body CallsItem
4949
}
5050
return nil
5151
}
52-
// ToPostRequestInformation enable a bot to answer an incoming call. The incoming call request can be an invitation from a participant in a group call or a peer-to-peer call. If an invitation to a group call is received, the notification will contain the chatInfo and meetingInfo parameters. The bot is expected to answer, reject, or redirect the call before the call times out. The current timeout value is 15 seconds for regular scenarios, and 5 seconds for policy-based recording scenarios. This API supports the following PSTN scenarios:
52+
// ToPostRequestInformation enable a bot to answer an incoming call. The incoming call request can be an invitation from a participant in a group call or a peer-to-peer call. If an invitation to a group call is received, the notification contains the chatInfo and meetingInfo parameters. The bot is expected to answer, reject, or redirect the call before the call times out. The current timeout value is 15 seconds for regular scenarios and 5 seconds for policy-based recording scenarios. This API supports the following PSTN scenarios:
5353
// returns a *RequestInformation when successful
5454
func (m *CallsItemAnswerRequestBuilder) ToPostRequestInformation(ctx context.Context, body CallsItemAnswerPostRequestBodyable, requestConfiguration *CallsItemAnswerRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) {
5555
requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters)

communications/calls_request_builder.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ func (m *CallsRequestBuilder) Get(ctx context.Context, requestConfiguration *Cal
101101
func (m *CallsRequestBuilder) LogTeleconferenceDeviceQuality()(*CallsLogTeleconferenceDeviceQualityRequestBuilder) {
102102
return NewCallsLogTeleconferenceDeviceQualityRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter)
103103
}
104-
// Post create call enables your bot to create a new outgoing peer-to-peer or group call, or join an existing meeting. You will need to register the calling bot and go through the list of permissions needed as mentioned below. This API supports the following PSTN scenarios:
104+
// Post create call enables your bot to create a new outgoing peer-to-peer or group call, or join an existing meeting. You need to register the calling bot and go through the list of permissions needed. This API supports the following PSTN scenarios:
105105
// returns a Callable when successful
106106
// returns a ODataError error when the service returns a 4XX or 5XX status code
107107
// [Find more info here]
@@ -138,7 +138,7 @@ func (m *CallsRequestBuilder) ToGetRequestInformation(ctx context.Context, reque
138138
requestInfo.Headers.TryAdd("Accept", "application/json")
139139
return requestInfo, nil
140140
}
141-
// ToPostRequestInformation create call enables your bot to create a new outgoing peer-to-peer or group call, or join an existing meeting. You will need to register the calling bot and go through the list of permissions needed as mentioned below. This API supports the following PSTN scenarios:
141+
// ToPostRequestInformation create call enables your bot to create a new outgoing peer-to-peer or group call, or join an existing meeting. You need to register the calling bot and go through the list of permissions needed. This API supports the following PSTN scenarios:
142142
// returns a *RequestInformation when successful
143143
func (m *CallsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Callable, requestConfiguration *CallsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) {
144144
requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters)

contacts/delta_request_builder.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
type DeltaRequestBuilder struct {
1111
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
1212
}
13-
// DeltaRequestBuilderGetQueryParameters get newly created, updated, or deleted organizational contacts without having to perform a full read of the entire collection. See change tracking for details.
13+
// DeltaRequestBuilderGetQueryParameters get newly created, updated, or deleted organizational contacts without having to perform a full read of the entire collection. For more information, see Use delta query to track changes in Microsoft Graph data for details.
1414
type DeltaRequestBuilderGetQueryParameters struct {
1515
// Include count of items
1616
Count *bool `uriparametername:"%24count"`
@@ -51,7 +51,7 @@ func NewDeltaRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb
5151
urlParams["request-raw-url"] = rawUrl
5252
return NewDeltaRequestBuilderInternal(urlParams, requestAdapter)
5353
}
54-
// Get get newly created, updated, or deleted organizational contacts without having to perform a full read of the entire collection. See change tracking for details.
54+
// Get get newly created, updated, or deleted organizational contacts without having to perform a full read of the entire collection. For more information, see Use delta query to track changes in Microsoft Graph data for details.
5555
// Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead.
5656
// returns a DeltaResponseable when successful
5757
// returns a ODataError error when the service returns a 4XX or 5XX status code
@@ -75,7 +75,7 @@ func (m *DeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *Del
7575
}
7676
return res.(DeltaResponseable), nil
7777
}
78-
// GetAsDeltaGetResponse get newly created, updated, or deleted organizational contacts without having to perform a full read of the entire collection. See change tracking for details.
78+
// GetAsDeltaGetResponse get newly created, updated, or deleted organizational contacts without having to perform a full read of the entire collection. For more information, see Use delta query to track changes in Microsoft Graph data for details.
7979
// returns a DeltaGetResponseable when successful
8080
// returns a ODataError error when the service returns a 4XX or 5XX status code
8181
// [Find more info here]
@@ -98,7 +98,7 @@ func (m *DeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, request
9898
}
9999
return res.(DeltaGetResponseable), nil
100100
}
101-
// ToGetRequestInformation get newly created, updated, or deleted organizational contacts without having to perform a full read of the entire collection. See change tracking for details.
101+
// ToGetRequestInformation get newly created, updated, or deleted organizational contacts without having to perform a full read of the entire collection. For more information, see Use delta query to track changes in Microsoft Graph data for details.
102102
// returns a *RequestInformation when successful
103103
func (m *DeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) {
104104
requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters)

0 commit comments

Comments
 (0)