Skip to content

Commit

Permalink
Merge pull request #131 from microsoftgraph/v1.0/pipelinebuild/72769
Browse files Browse the repository at this point in the history
Generated v1.0 models and request builders using Kiota
  • Loading branch information
baywet authored Apr 14, 2022
2 parents 8bfa602 + 161c3c2 commit a383cdd
Show file tree
Hide file tree
Showing 9,024 changed files with 91,492 additions and 91,485 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed

## [0.19.0] - 2022-04-14

### Changed

- Fixed an issue where query parameters would be missing special characters. #130

## [0.18.0] - 2022-04-12

### Added
Expand Down
28 changes: 14 additions & 14 deletions admin/admin_request_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,46 +10,46 @@ import (
// AdminRequestBuilder provides operations to manage the admin singleton.
type AdminRequestBuilder struct {
// Path parameters for the request
pathParameters map[string]string;
pathParameters map[string]string
// The request adapter to use to execute the requests.
requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter;
requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter
// Url template to use to build the URL for the current request builder
urlTemplate string;
urlTemplate string
}
// AdminRequestBuilderGetOptions options for Get
type AdminRequestBuilderGetOptions struct {
// Request headers
Headers map[string]string;
Headers map[string]string
// Request options
Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption;
Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption
// Request query parameters
QueryParameters *AdminRequestBuilderGetQueryParameters;
QueryParameters *AdminRequestBuilderGetQueryParameters
// Response handler to use in place of the default response handling provided by the core service
ResponseHandler i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ResponseHandler;
ResponseHandler i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ResponseHandler
}
// AdminRequestBuilderGetQueryParameters get admin
type AdminRequestBuilderGetQueryParameters struct {
// Expand related entities
Expand []string;
Expand []string `uriparametername:"%24expand"`
// Select properties to be returned
Select []string;
Select []string `uriparametername:"%24select"`
}
// AdminRequestBuilderPatchOptions options for Patch
type AdminRequestBuilderPatchOptions struct {
//
Body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Adminable;
Body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Adminable
// Request headers
Headers map[string]string;
Headers map[string]string
// Request options
Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption;
Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption
// Response handler to use in place of the default response handling provided by the core service
ResponseHandler i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ResponseHandler;
ResponseHandler i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ResponseHandler
}
// NewAdminRequestBuilderInternal instantiates a new AdminRequestBuilder and sets the default values.
func NewAdminRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AdminRequestBuilder) {
m := &AdminRequestBuilder{
}
m.urlTemplate = "{+baseurl}/admin{?select,expand}";
m.urlTemplate = "{+baseurl}/admin{?%24select,%24expand}";
urlTplParams := make(map[string]string)
for idx, item := range pathParameters {
urlTplParams[idx] = item
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,20 @@ import (
// CountRequestBuilder provides operations to count the resources in the collection.
type CountRequestBuilder struct {
// Path parameters for the request
pathParameters map[string]string;
pathParameters map[string]string
// The request adapter to use to execute the requests.
requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter;
requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter
// Url template to use to build the URL for the current request builder
urlTemplate string;
urlTemplate string
}
// CountRequestBuilderGetOptions options for Get
type CountRequestBuilderGetOptions struct {
// Request headers
Headers map[string]string;
Headers map[string]string
// Request options
Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption;
Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption
// Response handler to use in place of the default response handling provided by the core service
ResponseHandler i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ResponseHandler;
ResponseHandler i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ResponseHandler
}
// NewCountRequestBuilderInternal instantiates a new CountRequestBuilder and sets the default values.
func NewCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CountRequestBuilder) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,58 +10,58 @@ import (
// HealthOverviewsRequestBuilder provides operations to manage the healthOverviews property of the microsoft.graph.serviceAnnouncement entity.
type HealthOverviewsRequestBuilder struct {
// Path parameters for the request
pathParameters map[string]string;
pathParameters map[string]string
// The request adapter to use to execute the requests.
requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter;
requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter
// Url template to use to build the URL for the current request builder
urlTemplate string;
urlTemplate string
}
// HealthOverviewsRequestBuilderGetOptions options for Get
type HealthOverviewsRequestBuilderGetOptions struct {
// Request headers
Headers map[string]string;
Headers map[string]string
// Request options
Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption;
Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption
// Request query parameters
QueryParameters *HealthOverviewsRequestBuilderGetQueryParameters;
QueryParameters *HealthOverviewsRequestBuilderGetQueryParameters
// Response handler to use in place of the default response handling provided by the core service
ResponseHandler i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ResponseHandler;
ResponseHandler i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ResponseHandler
}
// HealthOverviewsRequestBuilderGetQueryParameters a collection of service health information for tenant. This property is a contained navigation property, it is nullable and readonly.
type HealthOverviewsRequestBuilderGetQueryParameters struct {
// Include count of items
Count *bool;
Count *bool `uriparametername:"%24count"`
// Expand related entities
Expand []string;
Expand []string `uriparametername:"%24expand"`
// Filter items by property values
Filter *string;
Filter *string `uriparametername:"%24filter"`
// Order items by property values
Orderby []string;
Orderby []string `uriparametername:"%24orderby"`
// Search items by search phrases
Search *string;
Search *string `uriparametername:"%24search"`
// Select properties to be returned
Select []string;
Select []string `uriparametername:"%24select"`
// Skip the first n items
Skip *int32;
Skip *int32 `uriparametername:"%24skip"`
// Show only the first n items
Top *int32;
Top *int32 `uriparametername:"%24top"`
}
// HealthOverviewsRequestBuilderPostOptions options for Post
type HealthOverviewsRequestBuilderPostOptions struct {
//
Body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ServiceHealthable;
Body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ServiceHealthable
// Request headers
Headers map[string]string;
Headers map[string]string
// Request options
Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption;
Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption
// Response handler to use in place of the default response handling provided by the core service
ResponseHandler i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ResponseHandler;
ResponseHandler i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ResponseHandler
}
// NewHealthOverviewsRequestBuilderInternal instantiates a new HealthOverviewsRequestBuilder and sets the default values.
func NewHealthOverviewsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*HealthOverviewsRequestBuilder) {
m := &HealthOverviewsRequestBuilder{
}
m.urlTemplate = "{+baseurl}/admin/serviceAnnouncement/healthOverviews{?top,skip,search,filter,count,orderby,select,expand}";
m.urlTemplate = "{+baseurl}/admin/serviceAnnouncement/healthOverviews{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
urlTplParams := make(map[string]string)
for idx, item := range pathParameters {
urlTplParams[idx] = item
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,26 +8,26 @@ import (
// CountRequestBuilder provides operations to count the resources in the collection.
type CountRequestBuilder struct {
// Path parameters for the request
pathParameters map[string]string;
pathParameters map[string]string
// The request adapter to use to execute the requests.
requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter;
requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter
// Url template to use to build the URL for the current request builder
urlTemplate string;
urlTemplate string
}
// CountRequestBuilderGetOptions options for Get
type CountRequestBuilderGetOptions struct {
// Request headers
Headers map[string]string;
Headers map[string]string
// Request options
Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption;
Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption
// Response handler to use in place of the default response handling provided by the core service
ResponseHandler i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ResponseHandler;
ResponseHandler i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ResponseHandler
}
// NewCountRequestBuilderInternal instantiates a new CountRequestBuilder and sets the default values.
func NewCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CountRequestBuilder) {
m := &CountRequestBuilder{
}
m.urlTemplate = "{+baseurl}/admin/serviceAnnouncement/healthOverviews/{serviceHealth_id}/issues/$count";
m.urlTemplate = "{+baseurl}/admin/serviceAnnouncement/healthOverviews/{serviceHealth%2Did}/issues/$count";
urlTplParams := make(map[string]string)
for idx, item := range pathParameters {
urlTplParams[idx] = item
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,58 +10,58 @@ import (
// IssuesRequestBuilder provides operations to manage the issues property of the microsoft.graph.serviceHealth entity.
type IssuesRequestBuilder struct {
// Path parameters for the request
pathParameters map[string]string;
pathParameters map[string]string
// The request adapter to use to execute the requests.
requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter;
requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter
// Url template to use to build the URL for the current request builder
urlTemplate string;
urlTemplate string
}
// IssuesRequestBuilderGetOptions options for Get
type IssuesRequestBuilderGetOptions struct {
// Request headers
Headers map[string]string;
Headers map[string]string
// Request options
Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption;
Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption
// Request query parameters
QueryParameters *IssuesRequestBuilderGetQueryParameters;
QueryParameters *IssuesRequestBuilderGetQueryParameters
// Response handler to use in place of the default response handling provided by the core service
ResponseHandler i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ResponseHandler;
ResponseHandler i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ResponseHandler
}
// IssuesRequestBuilderGetQueryParameters a collection of issues that happened on the service, with detailed information for each issue.
type IssuesRequestBuilderGetQueryParameters struct {
// Include count of items
Count *bool;
Count *bool `uriparametername:"%24count"`
// Expand related entities
Expand []string;
Expand []string `uriparametername:"%24expand"`
// Filter items by property values
Filter *string;
Filter *string `uriparametername:"%24filter"`
// Order items by property values
Orderby []string;
Orderby []string `uriparametername:"%24orderby"`
// Search items by search phrases
Search *string;
Search *string `uriparametername:"%24search"`
// Select properties to be returned
Select []string;
Select []string `uriparametername:"%24select"`
// Skip the first n items
Skip *int32;
Skip *int32 `uriparametername:"%24skip"`
// Show only the first n items
Top *int32;
Top *int32 `uriparametername:"%24top"`
}
// IssuesRequestBuilderPostOptions options for Post
type IssuesRequestBuilderPostOptions struct {
//
Body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ServiceHealthIssueable;
Body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ServiceHealthIssueable
// Request headers
Headers map[string]string;
Headers map[string]string
// Request options
Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption;
Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption
// Response handler to use in place of the default response handling provided by the core service
ResponseHandler i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ResponseHandler;
ResponseHandler i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ResponseHandler
}
// NewIssuesRequestBuilderInternal instantiates a new IssuesRequestBuilder and sets the default values.
func NewIssuesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*IssuesRequestBuilder) {
m := &IssuesRequestBuilder{
}
m.urlTemplate = "{+baseurl}/admin/serviceAnnouncement/healthOverviews/{serviceHealth_id}/issues{?top,skip,search,filter,count,orderby,select,expand}";
m.urlTemplate = "{+baseurl}/admin/serviceAnnouncement/healthOverviews/{serviceHealth%2Did}/issues{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
urlTplParams := make(map[string]string)
for idx, item := range pathParameters {
urlTplParams[idx] = item
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,26 @@ import (
// IncidentReportRequestBuilder provides operations to call the incidentReport method.
type IncidentReportRequestBuilder struct {
// Path parameters for the request
pathParameters map[string]string;
pathParameters map[string]string
// The request adapter to use to execute the requests.
requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter;
requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter
// Url template to use to build the URL for the current request builder
urlTemplate string;
urlTemplate string
}
// IncidentReportRequestBuilderGetOptions options for Get
type IncidentReportRequestBuilderGetOptions struct {
// Request headers
Headers map[string]string;
Headers map[string]string
// Request options
Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption;
Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption
// Response handler to use in place of the default response handling provided by the core service
ResponseHandler i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ResponseHandler;
ResponseHandler i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ResponseHandler
}
// NewIncidentReportRequestBuilderInternal instantiates a new IncidentReportRequestBuilder and sets the default values.
func NewIncidentReportRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*IncidentReportRequestBuilder) {
m := &IncidentReportRequestBuilder{
}
m.urlTemplate = "{+baseurl}/admin/serviceAnnouncement/healthOverviews/{serviceHealth_id}/issues/{serviceHealthIssue_id}/microsoft.graph.incidentReport()";
m.urlTemplate = "{+baseurl}/admin/serviceAnnouncement/healthOverviews/{serviceHealth%2Did}/issues/{serviceHealthIssue%2Did}/microsoft.graph.incidentReport()";
urlTplParams := make(map[string]string)
for idx, item := range pathParameters {
urlTplParams[idx] = item
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import (
// IncidentReportResponse provides operations to call the incidentReport method.
type IncidentReportResponse struct {
// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
additionalData map[string]interface{};
additionalData map[string]interface{}
// The value property
value []byte;
value []byte
}
// NewIncidentReportResponse instantiates a new incidentReportResponse and sets the default values.
func NewIncidentReportResponse()(*IncidentReportResponse) {
Expand Down
Loading

0 comments on commit a383cdd

Please sign in to comment.