Skip to content

Commit

Permalink
Merge pull request #18 from microsoftgraph/beta/pipelinebuild/59788
Browse files Browse the repository at this point in the history
Generated beta models and request builders using Kiota
  • Loading branch information
baywet authored Nov 23, 2021
2 parents 5c64e80 + a3ac10a commit ec5397d
Show file tree
Hide file tree
Showing 16,580 changed files with 194,732 additions and 407,295 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.3.0] - 2021-11-23

### Changed

- Weekly generation
- Fixes doc comments

## [0.2.1] - 2021-11-19

### Changed
Expand Down
34 changes: 10 additions & 24 deletions accessreviewdecisions/access_review_decisions_request_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
i535684e11b5500196ecb4b5c6634e0651fe2c2f78b6cd0fbe097d3c9029ae7bc "github.com/microsoftgraph/msgraph-beta-sdk-go/models/microsoft/graph"
)

// Builds and executes requests for operations under \accessReviewDecisions
// AccessReviewDecisionsRequestBuilder builds and executes requests for operations under \accessReviewDecisions
type AccessReviewDecisionsRequestBuilder struct {
// Path parameters for the request
pathParameters map[string]string;
Expand All @@ -15,7 +15,7 @@ type AccessReviewDecisionsRequestBuilder struct {
// Url template to use to build the URL for the current request builder
urlTemplate string;
}
// Options for Get
// AccessReviewDecisionsRequestBuilderGetOptions options for Get
type AccessReviewDecisionsRequestBuilderGetOptions struct {
// Request headers
H map[string]string;
Expand All @@ -26,7 +26,7 @@ type AccessReviewDecisionsRequestBuilderGetOptions struct {
// Response handler to use in place of the default response handling provided by the core service
ResponseHandler ida96af0f171bb75f894a4013a6b3146a4397c58f11adb81a2b7cbea9314783a9.ResponseHandler;
}
// Get entities from accessReviewDecisions
// AccessReviewDecisionsRequestBuilderGetQueryParameters get entities from accessReviewDecisions
type AccessReviewDecisionsRequestBuilderGetQueryParameters struct {
// Include count of items
Count *bool;
Expand All @@ -45,7 +45,7 @@ type AccessReviewDecisionsRequestBuilderGetQueryParameters struct {
// Show only the first n items
Top *int32;
}
// Options for Post
// AccessReviewDecisionsRequestBuilderPostOptions options for Post
type AccessReviewDecisionsRequestBuilderPostOptions struct {
//
Body *i535684e11b5500196ecb4b5c6634e0651fe2c2f78b6cd0fbe097d3c9029ae7bc.AccessReviewDecision;
Expand All @@ -56,10 +56,7 @@ type AccessReviewDecisionsRequestBuilderPostOptions struct {
// Response handler to use in place of the default response handling provided by the core service
ResponseHandler ida96af0f171bb75f894a4013a6b3146a4397c58f11adb81a2b7cbea9314783a9.ResponseHandler;
}
// Instantiates a new AccessReviewDecisionsRequestBuilder and sets the default values.
// Parameters:
// - pathParameters : Path parameters for the request
// - requestAdapter : The request adapter to use to execute the requests.
// NewAccessReviewDecisionsRequestBuilderInternal instantiates a new AccessReviewDecisionsRequestBuilder and sets the default values.
func NewAccessReviewDecisionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter ida96af0f171bb75f894a4013a6b3146a4397c58f11adb81a2b7cbea9314783a9.RequestAdapter)(*AccessReviewDecisionsRequestBuilder) {
m := &AccessReviewDecisionsRequestBuilder{
}
Expand All @@ -72,18 +69,13 @@ func NewAccessReviewDecisionsRequestBuilderInternal(pathParameters map[string]st
m.requestAdapter = requestAdapter;
return m
}
// Instantiates a new AccessReviewDecisionsRequestBuilder and sets the default values.
// Parameters:
// - rawUrl : The raw URL to use for the request builder.
// - requestAdapter : The request adapter to use to execute the requests.
// NewAccessReviewDecisionsRequestBuilder instantiates a new AccessReviewDecisionsRequestBuilder and sets the default values.
func NewAccessReviewDecisionsRequestBuilder(rawUrl string, requestAdapter ida96af0f171bb75f894a4013a6b3146a4397c58f11adb81a2b7cbea9314783a9.RequestAdapter)(*AccessReviewDecisionsRequestBuilder) {
urlParams := make(map[string]string)
urlParams["request-raw-url"] = rawUrl
return NewAccessReviewDecisionsRequestBuilderInternal(urlParams, requestAdapter)
}
// Get entities from accessReviewDecisions
// Parameters:
// - options : Options for the request
// CreateGetRequestInformation get entities from accessReviewDecisions
func (m *AccessReviewDecisionsRequestBuilder) CreateGetRequestInformation(options *AccessReviewDecisionsRequestBuilderGetOptions)(*ida96af0f171bb75f894a4013a6b3146a4397c58f11adb81a2b7cbea9314783a9.RequestInformation, error) {
requestInfo := ida96af0f171bb75f894a4013a6b3146a4397c58f11adb81a2b7cbea9314783a9.NewRequestInformation()
requestInfo.UrlTemplate = m.urlTemplate
Expand All @@ -103,9 +95,7 @@ func (m *AccessReviewDecisionsRequestBuilder) CreateGetRequestInformation(option
}
return requestInfo, nil
}
// Add new entity to accessReviewDecisions
// Parameters:
// - options : Options for the request
// CreatePostRequestInformation add new entity to accessReviewDecisions
func (m *AccessReviewDecisionsRequestBuilder) CreatePostRequestInformation(options *AccessReviewDecisionsRequestBuilderPostOptions)(*ida96af0f171bb75f894a4013a6b3146a4397c58f11adb81a2b7cbea9314783a9.RequestInformation, error) {
requestInfo := ida96af0f171bb75f894a4013a6b3146a4397c58f11adb81a2b7cbea9314783a9.NewRequestInformation()
requestInfo.UrlTemplate = m.urlTemplate
Expand All @@ -123,9 +113,7 @@ func (m *AccessReviewDecisionsRequestBuilder) CreatePostRequestInformation(optio
}
return requestInfo, nil
}
// Get entities from accessReviewDecisions
// Parameters:
// - options : Options for the request
// Get get entities from accessReviewDecisions
func (m *AccessReviewDecisionsRequestBuilder) Get(options *AccessReviewDecisionsRequestBuilderGetOptions)(*AccessReviewDecisionsResponse, error) {
requestInfo, err := m.CreateGetRequestInformation(options);
if err != nil {
Expand All @@ -137,9 +125,7 @@ func (m *AccessReviewDecisionsRequestBuilder) Get(options *AccessReviewDecisions
}
return res.(*AccessReviewDecisionsResponse), nil
}
// Add new entity to accessReviewDecisions
// Parameters:
// - options : Options for the request
// Post add new entity to accessReviewDecisions
func (m *AccessReviewDecisionsRequestBuilder) Post(options *AccessReviewDecisionsRequestBuilderPostOptions)(*i535684e11b5500196ecb4b5c6634e0651fe2c2f78b6cd0fbe097d3c9029ae7bc.AccessReviewDecision, error) {
requestInfo, err := m.CreatePostRequestInformation(options);
if err != nil {
Expand Down
28 changes: 10 additions & 18 deletions accessreviewdecisions/access_review_decisions_response.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
i535684e11b5500196ecb4b5c6634e0651fe2c2f78b6cd0fbe097d3c9029ae7bc "github.com/microsoftgraph/msgraph-beta-sdk-go/models/microsoft/graph"
)

//
// AccessReviewDecisionsResponse
type AccessReviewDecisionsResponse struct {
// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
additionalData map[string]interface{};
Expand All @@ -14,38 +14,38 @@ type AccessReviewDecisionsResponse struct {
//
value []i535684e11b5500196ecb4b5c6634e0651fe2c2f78b6cd0fbe097d3c9029ae7bc.AccessReviewDecision;
}
// Instantiates a new accessReviewDecisionsResponse and sets the default values.
// NewAccessReviewDecisionsResponse instantiates a new accessReviewDecisionsResponse and sets the default values.
func NewAccessReviewDecisionsResponse()(*AccessReviewDecisionsResponse) {
m := &AccessReviewDecisionsResponse{
}
m.SetAdditionalData(make(map[string]interface{}));
return m
}
// Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
// 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.
func (m *AccessReviewDecisionsResponse) GetAdditionalData()(map[string]interface{}) {
if m == nil {
return nil
} else {
return m.additionalData
}
}
// Gets the nextLink property value.
// GetNextLink gets the nextLink property value.
func (m *AccessReviewDecisionsResponse) GetNextLink()(*string) {
if m == nil {
return nil
} else {
return m.nextLink
}
}
// Gets the value property value.
// GetValue gets the value property value.
func (m *AccessReviewDecisionsResponse) GetValue()([]i535684e11b5500196ecb4b5c6634e0651fe2c2f78b6cd0fbe097d3c9029ae7bc.AccessReviewDecision) {
if m == nil {
return nil
} else {
return m.value
}
}
// The deserialization information for the current model
// GetFieldDeserializers the deserialization information for the current model
func (m *AccessReviewDecisionsResponse) GetFieldDeserializers()(map[string]func(interface{}, i04eb5309aeaafadd28374d79c8471df9b267510b4dc2e3144c378c50f6fd7b55.ParseNode)(error)) {
res := make(map[string]func(interface{}, i04eb5309aeaafadd28374d79c8471df9b267510b4dc2e3144c378c50f6fd7b55.ParseNode)(error))
res["@odata.nextLink"] = func (o interface{}, n i04eb5309aeaafadd28374d79c8471df9b267510b4dc2e3144c378c50f6fd7b55.ParseNode) error {
Expand Down Expand Up @@ -77,9 +77,7 @@ func (m *AccessReviewDecisionsResponse) GetFieldDeserializers()(map[string]func(
func (m *AccessReviewDecisionsResponse) IsNil()(bool) {
return m == nil
}
// Serializes information the current object
// Parameters:
// - writer : Serialization writer to use to serialize this model
// Serialize serializes information the current object
func (m *AccessReviewDecisionsResponse) Serialize(writer i04eb5309aeaafadd28374d79c8471df9b267510b4dc2e3144c378c50f6fd7b55.SerializationWriter)(error) {
{
err := writer.WriteStringValue("@odata.nextLink", m.GetNextLink())
Expand All @@ -106,21 +104,15 @@ func (m *AccessReviewDecisionsResponse) Serialize(writer i04eb5309aeaafadd28374d
}
return nil
}
// Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
// Parameters:
// - value : Value to set for the AdditionalData property.
// 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.
func (m *AccessReviewDecisionsResponse) SetAdditionalData(value map[string]interface{})() {
m.additionalData = value
}
// Sets the nextLink property value.
// Parameters:
// - value : Value to set for the nextLink property.
// SetNextLink sets the nextLink property value.
func (m *AccessReviewDecisionsResponse) SetNextLink(value *string)() {
m.nextLink = value
}
// Sets the value property value.
// Parameters:
// - value : Value to set for the value property.
// SetValue sets the value property value.
func (m *AccessReviewDecisionsResponse) SetValue(value []i535684e11b5500196ecb4b5c6634e0651fe2c2f78b6cd0fbe097d3c9029ae7bc.AccessReviewDecision)() {
m.value = value
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
i535684e11b5500196ecb4b5c6634e0651fe2c2f78b6cd0fbe097d3c9029ae7bc "github.com/microsoftgraph/msgraph-beta-sdk-go/models/microsoft/graph"
)

// Builds and executes requests for operations under \accessReviewDecisions\{accessReviewDecision-id}
// AccessReviewDecisionRequestBuilder builds and executes requests for operations under \accessReviewDecisions\{accessReviewDecision-id}
type AccessReviewDecisionRequestBuilder struct {
// Path parameters for the request
pathParameters map[string]string;
Expand All @@ -15,7 +15,7 @@ type AccessReviewDecisionRequestBuilder struct {
// Url template to use to build the URL for the current request builder
urlTemplate string;
}
// Options for Delete
// AccessReviewDecisionRequestBuilderDeleteOptions options for Delete
type AccessReviewDecisionRequestBuilderDeleteOptions struct {
// Request headers
H map[string]string;
Expand All @@ -24,7 +24,7 @@ type AccessReviewDecisionRequestBuilderDeleteOptions struct {
// Response handler to use in place of the default response handling provided by the core service
ResponseHandler ida96af0f171bb75f894a4013a6b3146a4397c58f11adb81a2b7cbea9314783a9.ResponseHandler;
}
// Options for Get
// AccessReviewDecisionRequestBuilderGetOptions options for Get
type AccessReviewDecisionRequestBuilderGetOptions struct {
// Request headers
H map[string]string;
Expand All @@ -35,14 +35,14 @@ type AccessReviewDecisionRequestBuilderGetOptions struct {
// Response handler to use in place of the default response handling provided by the core service
ResponseHandler ida96af0f171bb75f894a4013a6b3146a4397c58f11adb81a2b7cbea9314783a9.ResponseHandler;
}
// Get entity from accessReviewDecisions by key
// AccessReviewDecisionRequestBuilderGetQueryParameters get entity from accessReviewDecisions by key
type AccessReviewDecisionRequestBuilderGetQueryParameters struct {
// Expand related entities
Expand []string;
// Select properties to be returned
Select_escaped []string;
}
// Options for Patch
// AccessReviewDecisionRequestBuilderPatchOptions options for Patch
type AccessReviewDecisionRequestBuilderPatchOptions struct {
//
Body *i535684e11b5500196ecb4b5c6634e0651fe2c2f78b6cd0fbe097d3c9029ae7bc.AccessReviewDecision;
Expand All @@ -53,10 +53,7 @@ type AccessReviewDecisionRequestBuilderPatchOptions struct {
// Response handler to use in place of the default response handling provided by the core service
ResponseHandler ida96af0f171bb75f894a4013a6b3146a4397c58f11adb81a2b7cbea9314783a9.ResponseHandler;
}
// Instantiates a new AccessReviewDecisionRequestBuilder and sets the default values.
// Parameters:
// - pathParameters : Path parameters for the request
// - requestAdapter : The request adapter to use to execute the requests.
// NewAccessReviewDecisionRequestBuilderInternal instantiates a new AccessReviewDecisionRequestBuilder and sets the default values.
func NewAccessReviewDecisionRequestBuilderInternal(pathParameters map[string]string, requestAdapter ida96af0f171bb75f894a4013a6b3146a4397c58f11adb81a2b7cbea9314783a9.RequestAdapter)(*AccessReviewDecisionRequestBuilder) {
m := &AccessReviewDecisionRequestBuilder{
}
Expand All @@ -69,18 +66,13 @@ func NewAccessReviewDecisionRequestBuilderInternal(pathParameters map[string]str
m.requestAdapter = requestAdapter;
return m
}
// Instantiates a new AccessReviewDecisionRequestBuilder and sets the default values.
// Parameters:
// - rawUrl : The raw URL to use for the request builder.
// - requestAdapter : The request adapter to use to execute the requests.
// NewAccessReviewDecisionRequestBuilder instantiates a new AccessReviewDecisionRequestBuilder and sets the default values.
func NewAccessReviewDecisionRequestBuilder(rawUrl string, requestAdapter ida96af0f171bb75f894a4013a6b3146a4397c58f11adb81a2b7cbea9314783a9.RequestAdapter)(*AccessReviewDecisionRequestBuilder) {
urlParams := make(map[string]string)
urlParams["request-raw-url"] = rawUrl
return NewAccessReviewDecisionRequestBuilderInternal(urlParams, requestAdapter)
}
// Delete entity from accessReviewDecisions
// Parameters:
// - options : Options for the request
// CreateDeleteRequestInformation delete entity from accessReviewDecisions
func (m *AccessReviewDecisionRequestBuilder) CreateDeleteRequestInformation(options *AccessReviewDecisionRequestBuilderDeleteOptions)(*ida96af0f171bb75f894a4013a6b3146a4397c58f11adb81a2b7cbea9314783a9.RequestInformation, error) {
requestInfo := ida96af0f171bb75f894a4013a6b3146a4397c58f11adb81a2b7cbea9314783a9.NewRequestInformation()
requestInfo.UrlTemplate = m.urlTemplate
Expand All @@ -97,9 +89,7 @@ func (m *AccessReviewDecisionRequestBuilder) CreateDeleteRequestInformation(opti
}
return requestInfo, nil
}
// Get entity from accessReviewDecisions by key
// Parameters:
// - options : Options for the request
// CreateGetRequestInformation get entity from accessReviewDecisions by key
func (m *AccessReviewDecisionRequestBuilder) CreateGetRequestInformation(options *AccessReviewDecisionRequestBuilderGetOptions)(*ida96af0f171bb75f894a4013a6b3146a4397c58f11adb81a2b7cbea9314783a9.RequestInformation, error) {
requestInfo := ida96af0f171bb75f894a4013a6b3146a4397c58f11adb81a2b7cbea9314783a9.NewRequestInformation()
requestInfo.UrlTemplate = m.urlTemplate
Expand All @@ -119,9 +109,7 @@ func (m *AccessReviewDecisionRequestBuilder) CreateGetRequestInformation(options
}
return requestInfo, nil
}
// Update entity in accessReviewDecisions
// Parameters:
// - options : Options for the request
// CreatePatchRequestInformation update entity in accessReviewDecisions
func (m *AccessReviewDecisionRequestBuilder) CreatePatchRequestInformation(options *AccessReviewDecisionRequestBuilderPatchOptions)(*ida96af0f171bb75f894a4013a6b3146a4397c58f11adb81a2b7cbea9314783a9.RequestInformation, error) {
requestInfo := ida96af0f171bb75f894a4013a6b3146a4397c58f11adb81a2b7cbea9314783a9.NewRequestInformation()
requestInfo.UrlTemplate = m.urlTemplate
Expand All @@ -139,9 +127,7 @@ func (m *AccessReviewDecisionRequestBuilder) CreatePatchRequestInformation(optio
}
return requestInfo, nil
}
// Delete entity from accessReviewDecisions
// Parameters:
// - options : Options for the request
// Delete delete entity from accessReviewDecisions
func (m *AccessReviewDecisionRequestBuilder) Delete(options *AccessReviewDecisionRequestBuilderDeleteOptions)(error) {
requestInfo, err := m.CreateDeleteRequestInformation(options);
if err != nil {
Expand All @@ -153,9 +139,7 @@ func (m *AccessReviewDecisionRequestBuilder) Delete(options *AccessReviewDecisio
}
return nil
}
// Get entity from accessReviewDecisions by key
// Parameters:
// - options : Options for the request
// Get get entity from accessReviewDecisions by key
func (m *AccessReviewDecisionRequestBuilder) Get(options *AccessReviewDecisionRequestBuilderGetOptions)(*i535684e11b5500196ecb4b5c6634e0651fe2c2f78b6cd0fbe097d3c9029ae7bc.AccessReviewDecision, error) {
requestInfo, err := m.CreateGetRequestInformation(options);
if err != nil {
Expand All @@ -167,9 +151,7 @@ func (m *AccessReviewDecisionRequestBuilder) Get(options *AccessReviewDecisionRe
}
return res.(*i535684e11b5500196ecb4b5c6634e0651fe2c2f78b6cd0fbe097d3c9029ae7bc.AccessReviewDecision), nil
}
// Update entity in accessReviewDecisions
// Parameters:
// - options : Options for the request
// Patch update entity in accessReviewDecisions
func (m *AccessReviewDecisionRequestBuilder) Patch(options *AccessReviewDecisionRequestBuilderPatchOptions)(error) {
requestInfo, err := m.CreatePatchRequestInformation(options);
if err != nil {
Expand Down
Loading

0 comments on commit ec5397d

Please sign in to comment.