Skip to content

Commit 5de4fff

Browse files
authored
Merge pull request #246 from microsoftgraph/v1.0/pipelinebuild/83539
Generated v1.0 models and request builders using Kiota
2 parents e0a754d + 11285f4 commit 5de4fff

File tree

333 files changed

+408
-373
lines changed

Some content is hidden

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

333 files changed

+408
-373
lines changed

CHANGELOG.md

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

1212
### Changed
1313

14+
## [0.35.0] - 2022-08-23
15+
16+
### Changed
17+
18+
- Weekly generation
19+
1420
## [0.34.0] - 2022-08-17
1521

1622
### Changed

graph_request_adapter.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010

1111
var clientOptions = core.GraphClientOptions{
1212
GraphServiceVersion: "", //v1 doesn't include the service version in the telemetry header
13-
GraphServiceLibraryVersion: "0.34.0",
13+
GraphServiceLibraryVersion: "0.35.0",
1414
}
1515

1616
// GetDefaultClientOptions returns the default client options used by the GraphRequestAdapterBase and the middleware.
@@ -82,3 +82,4 @@ func NewGraphRequestAdapterWithParseNodeFactoryAndSerializationWriterFactoryAndH
8282

8383

8484

85+

models/access_package.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization"
66
)
77

8-
// AccessPackage provides operations to manage the collection of agreementAcceptance entities.
8+
// AccessPackage provides operations to manage the collection of agreement entities.
99
type AccessPackage struct {
1010
Entity
1111
// The assignmentPolicies property

models/access_package_assignment_policy.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ import (
55
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization"
66
)
77

8-
// AccessPackageAssignmentPolicy provides operations to manage the collection of agreementAcceptance entities.
8+
// AccessPackageAssignmentPolicy provides operations to manage the collection of agreement entities.
99
type AccessPackageAssignmentPolicy struct {
1010
Entity
1111
// Access package containing this policy. Read-only.
1212
accessPackage AccessPackageable
1313
// Principals that can be assigned the access package through this policy. The possible values are: notSpecified, specificDirectoryUsers, specificConnectedOrganizationUsers, specificDirectoryServicePrincipals, allMemberUsers, allDirectoryUsers, allDirectoryServicePrincipals, allConfiguredConnectedOrganizationUsers, allExternalUsers, unknownFutureValue.
1414
allowedTargetScope *AllowedTargetScope
15-
// The automaticRequestSettings property
15+
// This property is only present for an auto assignment policy; if absent, this is a request-based policy.
1616
automaticRequestSettings AccessPackageAutomaticRequestSettingsable
1717
// Catalog of the access package containing this policy. Read-only.
1818
catalog AccessPackageCatalogable
@@ -56,7 +56,7 @@ func (m *AccessPackageAssignmentPolicy) GetAccessPackage()(AccessPackageable) {
5656
func (m *AccessPackageAssignmentPolicy) GetAllowedTargetScope()(*AllowedTargetScope) {
5757
return m.allowedTargetScope
5858
}
59-
// GetAutomaticRequestSettings gets the automaticRequestSettings property value. The automaticRequestSettings property
59+
// GetAutomaticRequestSettings gets the automaticRequestSettings property value. This property is only present for an auto assignment policy; if absent, this is a request-based policy.
6060
func (m *AccessPackageAssignmentPolicy) GetAutomaticRequestSettings()(AccessPackageAutomaticRequestSettingsable) {
6161
return m.automaticRequestSettings
6262
}
@@ -338,7 +338,7 @@ func (m *AccessPackageAssignmentPolicy) SetAccessPackage(value AccessPackageable
338338
func (m *AccessPackageAssignmentPolicy) SetAllowedTargetScope(value *AllowedTargetScope)() {
339339
m.allowedTargetScope = value
340340
}
341-
// SetAutomaticRequestSettings sets the automaticRequestSettings property value. The automaticRequestSettings property
341+
// SetAutomaticRequestSettings sets the automaticRequestSettings property value. This property is only present for an auto assignment policy; if absent, this is a request-based policy.
342342
func (m *AccessPackageAssignmentPolicy) SetAutomaticRequestSettings(value AccessPackageAutomaticRequestSettingsable)() {
343343
m.automaticRequestSettings = value
344344
}

models/access_package_assignment_request.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization"
66
)
77

8-
// AccessPackageAssignmentRequest
8+
// AccessPackageAssignmentRequest provides operations to manage the collection of agreement entities.
99
type AccessPackageAssignmentRequest struct {
1010
Entity
1111
// The access package associated with the accessPackageAssignmentRequest. An access package defines the collections of resource roles and the policies for how one or more users can get access to those resources. Read-only. Nullable. Supports $expand.
@@ -27,7 +27,7 @@ type AccessPackageAssignmentRequest struct {
2727
// More information on the request processing status. Read-only.
2828
status *string
2929
}
30-
// NewAccessPackageAssignmentRequest instantiates a new AccessPackageAssignmentRequest and sets the default values.
30+
// NewAccessPackageAssignmentRequest instantiates a new accessPackageAssignmentRequest and sets the default values.
3131
func NewAccessPackageAssignmentRequest()(*AccessPackageAssignmentRequest) {
3232
m := &AccessPackageAssignmentRequest{
3333
Entity: *NewEntity(),

models/access_package_automatic_request_settings.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ type AccessPackageAutomaticRequestSettings struct {
1414
odataType *string
1515
// The removeAccessWhenTargetLeavesAllowedTargets property
1616
removeAccessWhenTargetLeavesAllowedTargets *bool
17-
// The requestAccessForAllowedTargets property
17+
// If set to true, automatic assignments will be created for targets in the allowed target scope.
1818
requestAccessForAllowedTargets *bool
1919
}
2020
// NewAccessPackageAutomaticRequestSettings instantiates a new accessPackageAutomaticRequestSettings and sets the default values.
@@ -91,7 +91,7 @@ func (m *AccessPackageAutomaticRequestSettings) GetOdataType()(*string) {
9191
func (m *AccessPackageAutomaticRequestSettings) GetRemoveAccessWhenTargetLeavesAllowedTargets()(*bool) {
9292
return m.removeAccessWhenTargetLeavesAllowedTargets
9393
}
94-
// GetRequestAccessForAllowedTargets gets the requestAccessForAllowedTargets property value. The requestAccessForAllowedTargets property
94+
// GetRequestAccessForAllowedTargets gets the requestAccessForAllowedTargets property value. If set to true, automatic assignments will be created for targets in the allowed target scope.
9595
func (m *AccessPackageAutomaticRequestSettings) GetRequestAccessForAllowedTargets()(*bool) {
9696
return m.requestAccessForAllowedTargets
9797
}
@@ -145,7 +145,7 @@ func (m *AccessPackageAutomaticRequestSettings) SetOdataType(value *string)() {
145145
func (m *AccessPackageAutomaticRequestSettings) SetRemoveAccessWhenTargetLeavesAllowedTargets(value *bool)() {
146146
m.removeAccessWhenTargetLeavesAllowedTargets = value
147147
}
148-
// SetRequestAccessForAllowedTargets sets the requestAccessForAllowedTargets property value. The requestAccessForAllowedTargets property
148+
// SetRequestAccessForAllowedTargets sets the requestAccessForAllowedTargets property value. If set to true, automatic assignments will be created for targets in the allowed target scope.
149149
func (m *AccessPackageAutomaticRequestSettings) SetRequestAccessForAllowedTargets(value *bool)() {
150150
m.requestAccessForAllowedTargets = value
151151
}

models/access_package_catalog.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ type AccessPackageCatalog struct {
2525
// Has the value published if the access packages are available for management. The possible values are: unpublished, published, unknownFutureValue.
2626
state *AccessPackageCatalogState
2727
}
28-
// NewAccessPackageCatalog instantiates a new AccessPackageCatalog and sets the default values.
28+
// NewAccessPackageCatalog instantiates a new accessPackageCatalog and sets the default values.
2929
func NewAccessPackageCatalog()(*AccessPackageCatalog) {
3030
m := &AccessPackageCatalog{
3131
Entity: *NewEntity(),

models/access_review_expiration_behavior.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package models
22
import (
33
"errors"
44
)
5-
// Provides operations to manage the collection of agreementAcceptance entities.
5+
// Provides operations to manage the collection of agreement entities.
66
type AccessReviewExpirationBehavior int
77

88
const (

models/access_review_history_instance.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization"
66
)
77

8-
// AccessReviewHistoryInstance provides operations to manage the collection of agreementAcceptance entities.
8+
// AccessReviewHistoryInstance provides operations to manage the collection of agreement entities.
99
type AccessReviewHistoryInstance struct {
1010
Entity
1111
// Uri which can be used to retrieve review history data. This URI will be active for 24 hours after being generated. Required.

models/access_review_history_status.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package models
22
import (
33
"errors"
44
)
5-
// Provides operations to manage the collection of agreementAcceptance entities.
5+
// Provides operations to manage the collection of agreement entities.
66
type AccessReviewHistoryStatus int
77

88
const (

models/access_review_instance_decision_item.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization"
66
)
77

8-
// AccessReviewInstanceDecisionItem provides operations to manage the collection of agreementAcceptance entities.
8+
// AccessReviewInstanceDecisionItem provides operations to manage the collection of agreement entities.
99
type AccessReviewInstanceDecisionItem struct {
1010
Entity
1111
// The identifier of the accessReviewInstance parent. Supports $select. Read-only.

models/access_review_reviewer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization"
66
)
77

8-
// AccessReviewReviewer provides operations to manage the collection of agreementAcceptance entities.
8+
// AccessReviewReviewer provides operations to manage the collection of agreement entities.
99
type AccessReviewReviewer struct {
1010
Entity
1111
// The date when the reviewer was added for the access review.

models/access_review_stage.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization"
66
)
77

8-
// AccessReviewStage provides operations to manage the collection of agreementAcceptance entities.
8+
// AccessReviewStage provides operations to manage the collection of agreement entities.
99
type AccessReviewStage struct {
1010
Entity
1111
// Each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed.

models/activity_history_item.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization"
66
)
77

8-
// ActivityHistoryItem provides operations to manage the collection of agreementAcceptance entities.
8+
// ActivityHistoryItem provides operations to manage the collection of agreement entities.
99
type ActivityHistoryItem struct {
1010
Entity
1111
// Optional. The duration of active user engagement. if not supplied, this is calculated from the startedDateTime and lastActiveDateTime.

models/advanced_config_state.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package models
22
import (
33
"errors"
44
)
5-
// Provides operations to manage the collection of agreementAcceptance entities.
5+
// Provides operations to manage the authenticationMethodsPolicy singleton.
66
type AdvancedConfigState int
77

88
const (

models/agreement_acceptance.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization"
66
)
77

8-
// AgreementAcceptance provides operations to manage the collection of agreement entities.
8+
// AgreementAcceptance provides operations to manage the collection of agreementAcceptance entities.
99
type AgreementAcceptance struct {
1010
Entity
1111
// The identifier of the agreement file accepted by the user.

models/agreement_acceptance_state.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package models
22
import (
33
"errors"
44
)
5-
// Provides operations to manage the collection of agreement entities.
5+
// Provides operations to manage the collection of agreementAcceptance entities.
66
type AgreementAcceptanceState int
77

88
const (

models/alert.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization"
66
)
77

8-
// Alert
8+
// Alert provides operations to manage the collection of agreement entities.
99
type Alert struct {
1010
Entity
1111
// Name or alias of the activity group (attacker) this alert is attributed to.
@@ -87,7 +87,7 @@ type Alert struct {
8787
// Threat intelligence pertaining to one or more vulnerabilities related to this alert.
8888
vulnerabilityStates []VulnerabilityStateable
8989
}
90-
// NewAlert instantiates a new Alert and sets the default values.
90+
// NewAlert instantiates a new alert and sets the default values.
9191
func NewAlert()(*Alert) {
9292
m := &Alert{
9393
Entity: *NewEntity(),

models/allow_invites_from.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package models
22
import (
33
"errors"
44
)
5-
// Provides operations to manage the collection of agreementAcceptance entities.
5+
// Provides operations to manage the collection of application entities.
66
type AllowInvitesFrom int
77

88
const (

models/allowed_target_scope.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package models
22
import (
33
"errors"
44
)
5-
// Provides operations to manage the collection of agreementAcceptance entities.
5+
// Provides operations to manage the collection of agreement entities.
66
type AllowedTargetScope int
77

88
const (

models/answer_input_type.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package models
22
import (
33
"errors"
44
)
5-
// Provides operations to manage the collection of agreementAcceptance entities.
5+
// Provides operations to manage the collection of agreement entities.
66
type AnswerInputType int
77

88
const (

models/app_consent_request.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization"
55
)
66

7-
// AppConsentRequest provides operations to manage the collection of agreementAcceptance entities.
7+
// AppConsentRequest provides operations to manage the collection of agreement entities.
88
type AppConsentRequest struct {
99
Entity
1010
// The display name of the app for which consent is requested. Required. Supports $filter (eq only) and $orderby.

models/app_role_assignment.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization"
66
)
77

8-
// AppRoleAssignment
8+
// AppRoleAssignment provides operations to manage the collection of agreement entities.
99
type AppRoleAssignment struct {
1010
DirectoryObject
1111
// The identifier (id) for the app role which is assigned to the principal. This app role must be exposed in the appRoles property on the resource application's service principal (resourceId). If the resource application has not declared any app roles, a default app role ID of 00000000-0000-0000-0000-000000000000 can be specified to signal that the principal is assigned to the resource app without any specific app roles. Required on create.
@@ -23,7 +23,7 @@ type AppRoleAssignment struct {
2323
// The unique identifier (id) for the resource service principal for which the assignment is made. Required on create. Supports $filter (eq only).
2424
resourceId *string
2525
}
26-
// NewAppRoleAssignment instantiates a new AppRoleAssignment and sets the default values.
26+
// NewAppRoleAssignment instantiates a new appRoleAssignment and sets the default values.
2727
func NewAppRoleAssignment()(*AppRoleAssignment) {
2828
m := &AppRoleAssignment{
2929
DirectoryObject: *NewDirectoryObject(),

models/application.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization"
66
)
77

8-
// Application
8+
// Application provides operations to manage the collection of application entities.
99
type Application struct {
1010
DirectoryObject
1111
// Defines custom behavior that a consuming service can use to call an app in specific contexts. For example, applications that can render file streams may set the addIns property for its 'FileHandler' functionality. This will let services like Office 365 call the application in the context of a document the user is working on.
@@ -89,7 +89,7 @@ type Application struct {
8989
// Specifies settings for a web application.
9090
web WebApplicationable
9191
}
92-
// NewApplication instantiates a new Application and sets the default values.
92+
// NewApplication instantiates a new application and sets the default values.
9393
func NewApplication()(*Application) {
9494
m := &Application{
9595
DirectoryObject: *NewDirectoryObject(),

models/application_template.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization"
55
)
66

7-
// ApplicationTemplate
7+
// ApplicationTemplate provides operations to manage the collection of applicationTemplate entities.
88
type ApplicationTemplate struct {
99
Entity
1010
// The list of categories for the application. Supported values can be: Collaboration, Business Management, Consumer, Content management, CRM, Data services, Developer services, E-commerce, Education, ERP, Finance, Health, Human resources, IT infrastructure, Mail, Management, Marketing, Media, Productivity, Project management, Telecommunications, Tools, Travel, and Web design & hosting.
@@ -24,7 +24,7 @@ type ApplicationTemplate struct {
2424
// The list of single sign-on modes supported by this application. The supported values are oidc, password, saml, and notSupported.
2525
supportedSingleSignOnModes []string
2626
}
27-
// NewApplicationTemplate instantiates a new ApplicationTemplate and sets the default values.
27+
// NewApplicationTemplate instantiates a new applicationTemplate and sets the default values.
2828
func NewApplicationTemplate()(*ApplicationTemplate) {
2929
m := &ApplicationTemplate{
3030
Entity: *NewEntity(),

models/application_type.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package models
22
import (
33
"errors"
44
)
5-
// Provides operations to manage the collection of agreementAcceptance entities.
5+
// Provides operations to manage the collection of agreement entities.
66
type ApplicationType int
77

88
const (

models/attachment_base.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization"
66
)
77

8-
// AttachmentBase provides operations to manage the collection of agreementAcceptance entities.
8+
// AttachmentBase provides operations to manage the collection of agreement entities.
99
type AttachmentBase struct {
1010
Entity
1111
// The contentType property

models/attachment_session.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization"
66
)
77

8-
// AttachmentSession provides operations to manage the collection of agreementAcceptance entities.
8+
// AttachmentSession provides operations to manage the collection of agreement entities.
99
type AttachmentSession struct {
1010
Entity
1111
// The content property

models/attendance_record.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization"
55
)
66

7-
// AttendanceRecord provides operations to manage the collection of agreementAcceptance entities.
7+
// AttendanceRecord provides operations to manage the collection of agreement entities.
88
type AttendanceRecord struct {
99
Entity
1010
// List of time periods between joining and leaving a meeting.

models/attendee_type.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package models
22
import (
33
"errors"
44
)
5-
// Provides operations to manage the collection of agreementAcceptance entities.
5+
// Provides operations to manage the collection of agreement entities.
66
type AttendeeType int
77

88
const (

models/attestation_level.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package models
22
import (
33
"errors"
44
)
5-
// Provides operations to manage the collection of agreementAcceptance entities.
5+
// Provides operations to manage the collection of agreement entities.
66
type AttestationLevel int
77

88
const (

0 commit comments

Comments
 (0)