Skip to content

Commit

Permalink
Generated beta models and request builders (#307)
Browse files Browse the repository at this point in the history
* Update generated files with build 119869

* Update changelog

---------

Co-authored-by: Microsoft Graph DevX Tooling <[email protected]>
Co-authored-by: rkodev <[email protected]>
  • Loading branch information
3 people authored Jul 12, 2023
1 parent 61350e3 commit 0740567
Show file tree
Hide file tree
Showing 3,470 changed files with 21,427 additions and 4,000 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed


## [0.74.0]- 2023-07-05

### Added

- Weekly generation.

## [0.73.0]- 2023-07-05

### Added
Expand Down
4 changes: 4 additions & 0 deletions admin/admin_request_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,10 @@ func (m *AdminRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6
}
return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Adminable), nil
}
// People provides operations to manage the people property of the microsoft.graph.admin entity.
func (m *AdminRequestBuilder) People()(*PeopleRequestBuilder) {
return NewPeopleRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter)
}
// ReportSettings provides operations to manage the reportSettings property of the microsoft.graph.admin entity.
func (m *AdminRequestBuilder) ReportSettings()(*ReportSettingsRequestBuilder) {
return NewReportSettingsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter)
Expand Down
16 changes: 11 additions & 5 deletions admin/apps_and_services_request_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ type AppsAndServicesRequestBuilderDeleteRequestConfiguration struct {
// Request options
Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption
}
// AppsAndServicesRequestBuilderGetQueryParameters get appsAndServices from admin
// AppsAndServicesRequestBuilderGetQueryParameters read the properties and relationships of a adminAppsAndServices object.
type AppsAndServicesRequestBuilderGetQueryParameters struct {
// Expand related entities
Expand []string `uriparametername:"%24expand"`
Expand Down Expand Up @@ -70,7 +70,10 @@ func (m *AppsAndServicesRequestBuilder) Delete(ctx context.Context, requestConfi
}
return nil
}
// Get get appsAndServices from admin
// Get read the properties and relationships of a adminAppsAndServices object.
// [Find more info here]
//
// [Find more info here]: https://docs.microsoft.com/graph/api/adminappsandservices-get?view=graph-rest-1.0
func (m *AppsAndServicesRequestBuilder) Get(ctx context.Context, requestConfiguration *AppsAndServicesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AdminAppsAndServicesable, error) {
requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration);
if err != nil {
Expand All @@ -89,7 +92,10 @@ func (m *AppsAndServicesRequestBuilder) Get(ctx context.Context, requestConfigur
}
return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AdminAppsAndServicesable), nil
}
// Patch update the navigation property appsAndServices in admin
// Patch update the properties of a adminAppsAndServices object.
// [Find more info here]
//
// [Find more info here]: https://docs.microsoft.com/graph/api/adminappsandservices-update?view=graph-rest-1.0
func (m *AppsAndServicesRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AdminAppsAndServicesable, requestConfiguration *AppsAndServicesRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AdminAppsAndServicesable, error) {
requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration);
if err != nil {
Expand Down Expand Up @@ -120,7 +126,7 @@ func (m *AppsAndServicesRequestBuilder) ToDeleteRequestInformation(ctx context.C
}
return requestInfo, nil
}
// ToGetRequestInformation get appsAndServices from admin
// ToGetRequestInformation read the properties and relationships of a adminAppsAndServices object.
func (m *AppsAndServicesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AppsAndServicesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) {
requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation()
requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate
Expand All @@ -136,7 +142,7 @@ func (m *AppsAndServicesRequestBuilder) ToGetRequestInformation(ctx context.Cont
}
return requestInfo, nil
}
// ToPatchRequestInformation update the navigation property appsAndServices in admin
// ToPatchRequestInformation update the properties of a adminAppsAndServices object.
func (m *AppsAndServicesRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AdminAppsAndServicesable, requestConfiguration *AppsAndServicesRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) {
requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation()
requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate
Expand Down
16 changes: 11 additions & 5 deletions admin/dynamics_request_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ type DynamicsRequestBuilderDeleteRequestConfiguration struct {
// Request options
Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption
}
// DynamicsRequestBuilderGetQueryParameters get dynamics from admin
// DynamicsRequestBuilderGetQueryParameters read the properties and relationships of a adminDynamics object.
type DynamicsRequestBuilderGetQueryParameters struct {
// Expand related entities
Expand []string `uriparametername:"%24expand"`
Expand Down Expand Up @@ -70,7 +70,10 @@ func (m *DynamicsRequestBuilder) Delete(ctx context.Context, requestConfiguratio
}
return nil
}
// Get get dynamics from admin
// Get read the properties and relationships of a adminDynamics object.
// [Find more info here]
//
// [Find more info here]: https://docs.microsoft.com/graph/api/admindynamics-get?view=graph-rest-1.0
func (m *DynamicsRequestBuilder) Get(ctx context.Context, requestConfiguration *DynamicsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AdminDynamicsable, error) {
requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration);
if err != nil {
Expand All @@ -89,7 +92,10 @@ func (m *DynamicsRequestBuilder) Get(ctx context.Context, requestConfiguration *
}
return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AdminDynamicsable), nil
}
// Patch update the navigation property dynamics in admin
// Patch update the properties of a adminDynamics object.
// [Find more info here]
//
// [Find more info here]: https://docs.microsoft.com/graph/api/admindynamics-update?view=graph-rest-1.0
func (m *DynamicsRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AdminDynamicsable, requestConfiguration *DynamicsRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AdminDynamicsable, error) {
requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration);
if err != nil {
Expand Down Expand Up @@ -120,7 +126,7 @@ func (m *DynamicsRequestBuilder) ToDeleteRequestInformation(ctx context.Context,
}
return requestInfo, nil
}
// ToGetRequestInformation get dynamics from admin
// ToGetRequestInformation read the properties and relationships of a adminDynamics object.
func (m *DynamicsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DynamicsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) {
requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation()
requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate
Expand All @@ -136,7 +142,7 @@ func (m *DynamicsRequestBuilder) ToGetRequestInformation(ctx context.Context, re
}
return requestInfo, nil
}
// ToPatchRequestInformation update the navigation property dynamics in admin
// ToPatchRequestInformation update the properties of a adminDynamics object.
func (m *DynamicsRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AdminDynamicsable, requestConfiguration *DynamicsRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) {
requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation()
requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate
Expand Down
16 changes: 11 additions & 5 deletions admin/forms_request_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ type FormsRequestBuilderDeleteRequestConfiguration struct {
// Request options
Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption
}
// FormsRequestBuilderGetQueryParameters get forms from admin
// FormsRequestBuilderGetQueryParameters read the properties and relationships of a adminForms object.
type FormsRequestBuilderGetQueryParameters struct {
// Expand related entities
Expand []string `uriparametername:"%24expand"`
Expand Down Expand Up @@ -70,7 +70,10 @@ func (m *FormsRequestBuilder) Delete(ctx context.Context, requestConfiguration *
}
return nil
}
// Get get forms from admin
// Get read the properties and relationships of a adminForms object.
// [Find more info here]
//
// [Find more info here]: https://docs.microsoft.com/graph/api/adminforms-get?view=graph-rest-1.0
func (m *FormsRequestBuilder) Get(ctx context.Context, requestConfiguration *FormsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AdminFormsable, error) {
requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration);
if err != nil {
Expand All @@ -89,7 +92,10 @@ func (m *FormsRequestBuilder) Get(ctx context.Context, requestConfiguration *For
}
return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AdminFormsable), nil
}
// Patch update the navigation property forms in admin
// Patch update the properties of a adminForms object.
// [Find more info here]
//
// [Find more info here]: https://docs.microsoft.com/graph/api/adminforms-update?view=graph-rest-1.0
func (m *FormsRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AdminFormsable, requestConfiguration *FormsRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AdminFormsable, error) {
requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration);
if err != nil {
Expand Down Expand Up @@ -120,7 +126,7 @@ func (m *FormsRequestBuilder) ToDeleteRequestInformation(ctx context.Context, re
}
return requestInfo, nil
}
// ToGetRequestInformation get forms from admin
// ToGetRequestInformation read the properties and relationships of a adminForms object.
func (m *FormsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FormsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) {
requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation()
requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate
Expand All @@ -136,7 +142,7 @@ func (m *FormsRequestBuilder) ToGetRequestInformation(ctx context.Context, reque
}
return requestInfo, nil
}
// ToPatchRequestInformation update the navigation property forms in admin
// ToPatchRequestInformation update the properties of a adminForms object.
func (m *FormsRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AdminFormsable, requestConfiguration *FormsRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) {
requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation()
requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate
Expand Down
Loading

0 comments on commit 0740567

Please sign in to comment.