Skip to content

Commit ec208d7

Browse files
authored
Merge pull request #27 from microsoftgraph/v1.0/pipelinebuild/59788
Generated v1.0 models and request builders using Kiota
2 parents 6e604b6 + cff474b commit ec208d7

File tree

9,833 files changed

+112687
-240887
lines changed

Some content is hidden

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

9,833 files changed

+112687
-240887
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111

1212
### Changed
1313

14+
## [0.3.0] - 2021-11-23
15+
16+
### Changed
17+
18+
- Weekly generation
19+
- Fixes doc comments
20+
1421
## [0.2.1] - 2021-11-19
1522

1623
### Changed

admin/admin_request_builder.go

Lines changed: 10 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
i4a838ef194e4c99e9f2c63ba10dab9cb120a89367c1d4ab0daa63bb424e20d87 "github.com/microsoftgraph/msgraph-sdk-go/models/microsoft/graph"
88
)
99

10-
// Builds and executes requests for operations under \admin
10+
// AdminRequestBuilder builds and executes requests for operations under \admin
1111
type AdminRequestBuilder struct {
1212
// Path parameters for the request
1313
pathParameters map[string]string;
@@ -16,7 +16,7 @@ type AdminRequestBuilder struct {
1616
// Url template to use to build the URL for the current request builder
1717
urlTemplate string;
1818
}
19-
// Options for Get
19+
// AdminRequestBuilderGetOptions options for Get
2020
type AdminRequestBuilderGetOptions struct {
2121
// Request headers
2222
H map[string]string;
@@ -27,14 +27,14 @@ type AdminRequestBuilderGetOptions struct {
2727
// Response handler to use in place of the default response handling provided by the core service
2828
ResponseHandler ida96af0f171bb75f894a4013a6b3146a4397c58f11adb81a2b7cbea9314783a9.ResponseHandler;
2929
}
30-
// Get admin
30+
// AdminRequestBuilderGetQueryParameters get admin
3131
type AdminRequestBuilderGetQueryParameters struct {
3232
// Expand related entities
3333
Expand []string;
3434
// Select properties to be returned
3535
Select_escaped []string;
3636
}
37-
// Options for Patch
37+
// AdminRequestBuilderPatchOptions options for Patch
3838
type AdminRequestBuilderPatchOptions struct {
3939
//
4040
Body *i4a838ef194e4c99e9f2c63ba10dab9cb120a89367c1d4ab0daa63bb424e20d87.Admin;
@@ -45,10 +45,7 @@ type AdminRequestBuilderPatchOptions struct {
4545
// Response handler to use in place of the default response handling provided by the core service
4646
ResponseHandler ida96af0f171bb75f894a4013a6b3146a4397c58f11adb81a2b7cbea9314783a9.ResponseHandler;
4747
}
48-
// Instantiates a new AdminRequestBuilder and sets the default values.
49-
// Parameters:
50-
// - pathParameters : Path parameters for the request
51-
// - requestAdapter : The request adapter to use to execute the requests.
48+
// NewAdminRequestBuilderInternal instantiates a new AdminRequestBuilder and sets the default values.
5249
func NewAdminRequestBuilderInternal(pathParameters map[string]string, requestAdapter ida96af0f171bb75f894a4013a6b3146a4397c58f11adb81a2b7cbea9314783a9.RequestAdapter)(*AdminRequestBuilder) {
5350
m := &AdminRequestBuilder{
5451
}
@@ -61,18 +58,13 @@ func NewAdminRequestBuilderInternal(pathParameters map[string]string, requestAda
6158
m.requestAdapter = requestAdapter;
6259
return m
6360
}
64-
// Instantiates a new AdminRequestBuilder and sets the default values.
65-
// Parameters:
66-
// - rawUrl : The raw URL to use for the request builder.
67-
// - requestAdapter : The request adapter to use to execute the requests.
61+
// NewAdminRequestBuilder instantiates a new AdminRequestBuilder and sets the default values.
6862
func NewAdminRequestBuilder(rawUrl string, requestAdapter ida96af0f171bb75f894a4013a6b3146a4397c58f11adb81a2b7cbea9314783a9.RequestAdapter)(*AdminRequestBuilder) {
6963
urlParams := make(map[string]string)
7064
urlParams["request-raw-url"] = rawUrl
7165
return NewAdminRequestBuilderInternal(urlParams, requestAdapter)
7266
}
73-
// Get admin
74-
// Parameters:
75-
// - options : Options for the request
67+
// CreateGetRequestInformation get admin
7668
func (m *AdminRequestBuilder) CreateGetRequestInformation(options *AdminRequestBuilderGetOptions)(*ida96af0f171bb75f894a4013a6b3146a4397c58f11adb81a2b7cbea9314783a9.RequestInformation, error) {
7769
requestInfo := ida96af0f171bb75f894a4013a6b3146a4397c58f11adb81a2b7cbea9314783a9.NewRequestInformation()
7870
requestInfo.UrlTemplate = m.urlTemplate
@@ -92,9 +84,7 @@ func (m *AdminRequestBuilder) CreateGetRequestInformation(options *AdminRequestB
9284
}
9385
return requestInfo, nil
9486
}
95-
// Update admin
96-
// Parameters:
97-
// - options : Options for the request
87+
// CreatePatchRequestInformation update admin
9888
func (m *AdminRequestBuilder) CreatePatchRequestInformation(options *AdminRequestBuilderPatchOptions)(*ida96af0f171bb75f894a4013a6b3146a4397c58f11adb81a2b7cbea9314783a9.RequestInformation, error) {
9989
requestInfo := ida96af0f171bb75f894a4013a6b3146a4397c58f11adb81a2b7cbea9314783a9.NewRequestInformation()
10090
requestInfo.UrlTemplate = m.urlTemplate
@@ -112,9 +102,7 @@ func (m *AdminRequestBuilder) CreatePatchRequestInformation(options *AdminReques
112102
}
113103
return requestInfo, nil
114104
}
115-
// Get admin
116-
// Parameters:
117-
// - options : Options for the request
105+
// Get get admin
118106
func (m *AdminRequestBuilder) Get(options *AdminRequestBuilderGetOptions)(*i4a838ef194e4c99e9f2c63ba10dab9cb120a89367c1d4ab0daa63bb424e20d87.Admin, error) {
119107
requestInfo, err := m.CreateGetRequestInformation(options);
120108
if err != nil {
@@ -126,9 +114,7 @@ func (m *AdminRequestBuilder) Get(options *AdminRequestBuilderGetOptions)(*i4a83
126114
}
127115
return res.(*i4a838ef194e4c99e9f2c63ba10dab9cb120a89367c1d4ab0daa63bb424e20d87.Admin), nil
128116
}
129-
// Update admin
130-
// Parameters:
131-
// - options : Options for the request
117+
// Patch update admin
132118
func (m *AdminRequestBuilder) Patch(options *AdminRequestBuilderPatchOptions)(error) {
133119
requestInfo, err := m.CreatePatchRequestInformation(options);
134120
if err != nil {

admin/serviceannouncement/healthoverviews/health_overviews_request_builder.go

Lines changed: 10 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
i4a838ef194e4c99e9f2c63ba10dab9cb120a89367c1d4ab0daa63bb424e20d87 "github.com/microsoftgraph/msgraph-sdk-go/models/microsoft/graph"
77
)
88

9-
// Builds and executes requests for operations under \admin\serviceAnnouncement\healthOverviews
9+
// HealthOverviewsRequestBuilder builds and executes requests for operations under \admin\serviceAnnouncement\healthOverviews
1010
type HealthOverviewsRequestBuilder struct {
1111
// Path parameters for the request
1212
pathParameters map[string]string;
@@ -15,7 +15,7 @@ type HealthOverviewsRequestBuilder struct {
1515
// Url template to use to build the URL for the current request builder
1616
urlTemplate string;
1717
}
18-
// Options for Get
18+
// HealthOverviewsRequestBuilderGetOptions options for Get
1919
type HealthOverviewsRequestBuilderGetOptions struct {
2020
// Request headers
2121
H map[string]string;
@@ -26,7 +26,7 @@ type HealthOverviewsRequestBuilderGetOptions struct {
2626
// Response handler to use in place of the default response handling provided by the core service
2727
ResponseHandler ida96af0f171bb75f894a4013a6b3146a4397c58f11adb81a2b7cbea9314783a9.ResponseHandler;
2828
}
29-
// A collection of service health information for tenant. This property is a contained navigation property, it is nullable and readonly.
29+
// HealthOverviewsRequestBuilderGetQueryParameters a collection of service health information for tenant. This property is a contained navigation property, it is nullable and readonly.
3030
type HealthOverviewsRequestBuilderGetQueryParameters struct {
3131
// Include count of items
3232
Count *bool;
@@ -45,7 +45,7 @@ type HealthOverviewsRequestBuilderGetQueryParameters struct {
4545
// Show only the first n items
4646
Top *int32;
4747
}
48-
// Options for Post
48+
// HealthOverviewsRequestBuilderPostOptions options for Post
4949
type HealthOverviewsRequestBuilderPostOptions struct {
5050
//
5151
Body *i4a838ef194e4c99e9f2c63ba10dab9cb120a89367c1d4ab0daa63bb424e20d87.ServiceHealth;
@@ -56,10 +56,7 @@ type HealthOverviewsRequestBuilderPostOptions struct {
5656
// Response handler to use in place of the default response handling provided by the core service
5757
ResponseHandler ida96af0f171bb75f894a4013a6b3146a4397c58f11adb81a2b7cbea9314783a9.ResponseHandler;
5858
}
59-
// Instantiates a new HealthOverviewsRequestBuilder and sets the default values.
60-
// Parameters:
61-
// - pathParameters : Path parameters for the request
62-
// - requestAdapter : The request adapter to use to execute the requests.
59+
// NewHealthOverviewsRequestBuilderInternal instantiates a new HealthOverviewsRequestBuilder and sets the default values.
6360
func NewHealthOverviewsRequestBuilderInternal(pathParameters map[string]string, requestAdapter ida96af0f171bb75f894a4013a6b3146a4397c58f11adb81a2b7cbea9314783a9.RequestAdapter)(*HealthOverviewsRequestBuilder) {
6461
m := &HealthOverviewsRequestBuilder{
6562
}
@@ -72,18 +69,13 @@ func NewHealthOverviewsRequestBuilderInternal(pathParameters map[string]string,
7269
m.requestAdapter = requestAdapter;
7370
return m
7471
}
75-
// Instantiates a new HealthOverviewsRequestBuilder and sets the default values.
76-
// Parameters:
77-
// - rawUrl : The raw URL to use for the request builder.
78-
// - requestAdapter : The request adapter to use to execute the requests.
72+
// NewHealthOverviewsRequestBuilder instantiates a new HealthOverviewsRequestBuilder and sets the default values.
7973
func NewHealthOverviewsRequestBuilder(rawUrl string, requestAdapter ida96af0f171bb75f894a4013a6b3146a4397c58f11adb81a2b7cbea9314783a9.RequestAdapter)(*HealthOverviewsRequestBuilder) {
8074
urlParams := make(map[string]string)
8175
urlParams["request-raw-url"] = rawUrl
8276
return NewHealthOverviewsRequestBuilderInternal(urlParams, requestAdapter)
8377
}
84-
// A collection of service health information for tenant. This property is a contained navigation property, it is nullable and readonly.
85-
// Parameters:
86-
// - options : Options for the request
78+
// CreateGetRequestInformation a collection of service health information for tenant. This property is a contained navigation property, it is nullable and readonly.
8779
func (m *HealthOverviewsRequestBuilder) CreateGetRequestInformation(options *HealthOverviewsRequestBuilderGetOptions)(*ida96af0f171bb75f894a4013a6b3146a4397c58f11adb81a2b7cbea9314783a9.RequestInformation, error) {
8880
requestInfo := ida96af0f171bb75f894a4013a6b3146a4397c58f11adb81a2b7cbea9314783a9.NewRequestInformation()
8981
requestInfo.UrlTemplate = m.urlTemplate
@@ -103,9 +95,7 @@ func (m *HealthOverviewsRequestBuilder) CreateGetRequestInformation(options *Hea
10395
}
10496
return requestInfo, nil
10597
}
106-
// A collection of service health information for tenant. This property is a contained navigation property, it is nullable and readonly.
107-
// Parameters:
108-
// - options : Options for the request
98+
// CreatePostRequestInformation a collection of service health information for tenant. This property is a contained navigation property, it is nullable and readonly.
10999
func (m *HealthOverviewsRequestBuilder) CreatePostRequestInformation(options *HealthOverviewsRequestBuilderPostOptions)(*ida96af0f171bb75f894a4013a6b3146a4397c58f11adb81a2b7cbea9314783a9.RequestInformation, error) {
110100
requestInfo := ida96af0f171bb75f894a4013a6b3146a4397c58f11adb81a2b7cbea9314783a9.NewRequestInformation()
111101
requestInfo.UrlTemplate = m.urlTemplate
@@ -123,9 +113,7 @@ func (m *HealthOverviewsRequestBuilder) CreatePostRequestInformation(options *He
123113
}
124114
return requestInfo, nil
125115
}
126-
// A collection of service health information for tenant. This property is a contained navigation property, it is nullable and readonly.
127-
// Parameters:
128-
// - options : Options for the request
116+
// Get a collection of service health information for tenant. This property is a contained navigation property, it is nullable and readonly.
129117
func (m *HealthOverviewsRequestBuilder) Get(options *HealthOverviewsRequestBuilderGetOptions)(*HealthOverviewsResponse, error) {
130118
requestInfo, err := m.CreateGetRequestInformation(options);
131119
if err != nil {
@@ -137,9 +125,7 @@ func (m *HealthOverviewsRequestBuilder) Get(options *HealthOverviewsRequestBuild
137125
}
138126
return res.(*HealthOverviewsResponse), nil
139127
}
140-
// A collection of service health information for tenant. This property is a contained navigation property, it is nullable and readonly.
141-
// Parameters:
142-
// - options : Options for the request
128+
// Post a collection of service health information for tenant. This property is a contained navigation property, it is nullable and readonly.
143129
func (m *HealthOverviewsRequestBuilder) Post(options *HealthOverviewsRequestBuilderPostOptions)(*i4a838ef194e4c99e9f2c63ba10dab9cb120a89367c1d4ab0daa63bb424e20d87.ServiceHealth, error) {
144130
requestInfo, err := m.CreatePostRequestInformation(options);
145131
if err != nil {

admin/serviceannouncement/healthoverviews/health_overviews_response.go

Lines changed: 10 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
i4a838ef194e4c99e9f2c63ba10dab9cb120a89367c1d4ab0daa63bb424e20d87 "github.com/microsoftgraph/msgraph-sdk-go/models/microsoft/graph"
66
)
77

8-
//
8+
// HealthOverviewsResponse
99
type HealthOverviewsResponse struct {
1010
// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
1111
additionalData map[string]interface{};
@@ -14,38 +14,38 @@ type HealthOverviewsResponse struct {
1414
//
1515
value []i4a838ef194e4c99e9f2c63ba10dab9cb120a89367c1d4ab0daa63bb424e20d87.ServiceHealth;
1616
}
17-
// Instantiates a new healthOverviewsResponse and sets the default values.
17+
// NewHealthOverviewsResponse instantiates a new healthOverviewsResponse and sets the default values.
1818
func NewHealthOverviewsResponse()(*HealthOverviewsResponse) {
1919
m := &HealthOverviewsResponse{
2020
}
2121
m.SetAdditionalData(make(map[string]interface{}));
2222
return m
2323
}
24-
// Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
24+
// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
2525
func (m *HealthOverviewsResponse) GetAdditionalData()(map[string]interface{}) {
2626
if m == nil {
2727
return nil
2828
} else {
2929
return m.additionalData
3030
}
3131
}
32-
// Gets the nextLink property value.
32+
// GetNextLink gets the nextLink property value.
3333
func (m *HealthOverviewsResponse) GetNextLink()(*string) {
3434
if m == nil {
3535
return nil
3636
} else {
3737
return m.nextLink
3838
}
3939
}
40-
// Gets the value property value.
40+
// GetValue gets the value property value.
4141
func (m *HealthOverviewsResponse) GetValue()([]i4a838ef194e4c99e9f2c63ba10dab9cb120a89367c1d4ab0daa63bb424e20d87.ServiceHealth) {
4242
if m == nil {
4343
return nil
4444
} else {
4545
return m.value
4646
}
4747
}
48-
// The deserialization information for the current model
48+
// GetFieldDeserializers the deserialization information for the current model
4949
func (m *HealthOverviewsResponse) GetFieldDeserializers()(map[string]func(interface{}, i04eb5309aeaafadd28374d79c8471df9b267510b4dc2e3144c378c50f6fd7b55.ParseNode)(error)) {
5050
res := make(map[string]func(interface{}, i04eb5309aeaafadd28374d79c8471df9b267510b4dc2e3144c378c50f6fd7b55.ParseNode)(error))
5151
res["@odata.nextLink"] = func (o interface{}, n i04eb5309aeaafadd28374d79c8471df9b267510b4dc2e3144c378c50f6fd7b55.ParseNode) error {
@@ -77,9 +77,7 @@ func (m *HealthOverviewsResponse) GetFieldDeserializers()(map[string]func(interf
7777
func (m *HealthOverviewsResponse) IsNil()(bool) {
7878
return m == nil
7979
}
80-
// Serializes information the current object
81-
// Parameters:
82-
// - writer : Serialization writer to use to serialize this model
80+
// Serialize serializes information the current object
8381
func (m *HealthOverviewsResponse) Serialize(writer i04eb5309aeaafadd28374d79c8471df9b267510b4dc2e3144c378c50f6fd7b55.SerializationWriter)(error) {
8482
{
8583
err := writer.WriteStringValue("@odata.nextLink", m.GetNextLink())
@@ -106,21 +104,15 @@ func (m *HealthOverviewsResponse) Serialize(writer i04eb5309aeaafadd28374d79c847
106104
}
107105
return nil
108106
}
109-
// Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
110-
// Parameters:
111-
// - value : Value to set for the AdditionalData property.
107+
// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
112108
func (m *HealthOverviewsResponse) SetAdditionalData(value map[string]interface{})() {
113109
m.additionalData = value
114110
}
115-
// Sets the nextLink property value.
116-
// Parameters:
117-
// - value : Value to set for the nextLink property.
111+
// SetNextLink sets the nextLink property value.
118112
func (m *HealthOverviewsResponse) SetNextLink(value *string)() {
119113
m.nextLink = value
120114
}
121-
// Sets the value property value.
122-
// Parameters:
123-
// - value : Value to set for the value property.
115+
// SetValue sets the value property value.
124116
func (m *HealthOverviewsResponse) SetValue(value []i4a838ef194e4c99e9f2c63ba10dab9cb120a89367c1d4ab0daa63bb424e20d87.ServiceHealth)() {
125117
m.value = value
126118
}

0 commit comments

Comments
 (0)