Skip to content

Commit

Permalink
Merge pull request #79 from microsoftgraph/beta/pipelinebuild/72769
Browse files Browse the repository at this point in the history
Generated beta models and request builders using Kiota
  • Loading branch information
baywet authored Apr 14, 2022
2 parents ec22a92 + e1b0264 commit 662638d
Show file tree
Hide file tree
Showing 57 changed files with 69 additions and 62 deletions.
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.20.0] - 2022-04-14

### Changed

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

## [0.19.0] - 2022-04-12

### Added
Expand Down
3 changes: 2 additions & 1 deletion graph_request_adapter.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (

var clientOptions = core.GraphClientOptions{
GraphServiceVersion: "beta",
GraphServiceLibraryVersion: "0.19.0",
GraphServiceLibraryVersion: "0.20.0",
}

// GetDefaultClientOptions returns the default client options used by the GraphRequestAdapterBase and the middleware.
Expand Down Expand Up @@ -93,5 +93,6 @@ func NewGraphRequestAdapterWithParseNodeFactoryAndSerializationWriterFactoryAndH






6 changes: 3 additions & 3 deletions groups/item/team/team_request_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ type TeamRequestBuilderGetOptions struct {
// Response handler to use in place of the default response handling provided by the core service
ResponseHandler i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ResponseHandler
}
// TeamRequestBuilderGetQueryParameters get team from groups
// TeamRequestBuilderGetQueryParameters the team associated with this group.
type TeamRequestBuilderGetQueryParameters struct {
// Expand related entities
Expand []string `uriparametername:"%24expand"`
Expand Down Expand Up @@ -142,7 +142,7 @@ func (m *TeamRequestBuilder) CreateDeleteRequestInformation(options *TeamRequest
}
return requestInfo, nil
}
// CreateGetRequestInformation get team from groups
// CreateGetRequestInformation the team associated with this group.
func (m *TeamRequestBuilder) CreateGetRequestInformation(options *TeamRequestBuilderGetOptions)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) {
requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation()
requestInfo.UrlTemplate = m.urlTemplate
Expand Down Expand Up @@ -196,7 +196,7 @@ func (m *TeamRequestBuilder) Delete(options *TeamRequestBuilderDeleteOptions)(er
}
return nil
}
// Get get team from groups
// Get the team associated with this group.
func (m *TeamRequestBuilder) Get(options *TeamRequestBuilderGetOptions)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Teamable, error) {
requestInfo, err := m.CreateGetRequestInformation(options);
if err != nil {
Expand Down
6 changes: 3 additions & 3 deletions models/access_review_history_definition.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ type AccessReviewHistoryDefinition struct {
reviewHistoryPeriodEndDateTime *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time
// A timestamp. Reviews starting on or before this date will be included in the fetched history data. Only required if scheduleSettings is not defined.
reviewHistoryPeriodStartDateTime *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time
// The settings for a recurring access review history definition series. Only required if reviewHistoryPeriodStartDateTime or reviewHistoryPeriodEndDateTime are not defined.
// The settings for a recurring access review history definition series. Only required if reviewHistoryPeriodStartDateTime or reviewHistoryPeriodEndDateTime are not defined. Not supported yet.
scheduleSettings AccessReviewHistoryScheduleSettingsable
// Used to scope what reviews are included in the fetched history data. Fetches reviews whose scope matches with this provided scope. Required.
scopes []AccessReviewScopeable
Expand Down Expand Up @@ -253,7 +253,7 @@ func (m *AccessReviewHistoryDefinition) GetReviewHistoryPeriodStartDateTime()(*i
return m.reviewHistoryPeriodStartDateTime
}
}
// GetScheduleSettings gets the scheduleSettings property value. The settings for a recurring access review history definition series. Only required if reviewHistoryPeriodStartDateTime or reviewHistoryPeriodEndDateTime are not defined.
// GetScheduleSettings gets the scheduleSettings property value. The settings for a recurring access review history definition series. Only required if reviewHistoryPeriodStartDateTime or reviewHistoryPeriodEndDateTime are not defined. Not supported yet.
func (m *AccessReviewHistoryDefinition) GetScheduleSettings()(AccessReviewHistoryScheduleSettingsable) {
if m == nil {
return nil
Expand Down Expand Up @@ -420,7 +420,7 @@ func (m *AccessReviewHistoryDefinition) SetReviewHistoryPeriodStartDateTime(valu
m.reviewHistoryPeriodStartDateTime = value
}
}
// SetScheduleSettings sets the scheduleSettings property value. The settings for a recurring access review history definition series. Only required if reviewHistoryPeriodStartDateTime or reviewHistoryPeriodEndDateTime are not defined.
// SetScheduleSettings sets the scheduleSettings property value. The settings for a recurring access review history definition series. Only required if reviewHistoryPeriodStartDateTime or reviewHistoryPeriodEndDateTime are not defined. Not supported yet.
func (m *AccessReviewHistoryDefinition) SetScheduleSettings(value AccessReviewHistoryScheduleSettingsable)() {
if m != nil {
m.scheduleSettings = value
Expand Down
2 changes: 1 addition & 1 deletion models/action_state.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import (
"strings"
"errors"
)
// Provides operations to manage the compliance singleton.
// Provides operations to manage the deviceManagement singleton.
type ActionState int

const (
Expand Down
2 changes: 1 addition & 1 deletion models/activity_type.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import (
"strings"
"errors"
)
// Provides operations to manage the collection of riskDetection entities.
// Provides operations to manage the identityProtectionRoot singleton.
type ActivityType int

const (
Expand Down
2 changes: 1 addition & 1 deletion models/app_log_upload_state.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import (
"strings"
"errors"
)
// Provides operations to manage the compliance singleton.
// Provides operations to manage the deviceManagement singleton.
type AppLogUploadState int

const (
Expand Down
2 changes: 1 addition & 1 deletion models/application_mode.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import (
"strings"
"errors"
)
// Provides operations to manage the compliance singleton.
// Provides operations to manage the dataClassificationService singleton.
type ApplicationMode int

const (
Expand Down
2 changes: 1 addition & 1 deletion models/authentication_method_state.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import (
"strings"
"errors"
)
// Provides operations to manage the authenticationMethodsPolicy singleton.
// Provides operations to manage the collection of authenticationMethodConfiguration entities.
type AuthenticationMethodState int

const (
Expand Down
2 changes: 1 addition & 1 deletion models/chassis_type.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import (
"strings"
"errors"
)
// Provides operations to manage the compliance singleton.
// Provides operations to manage the deviceManagement singleton.
type ChassisType int

const (
Expand Down
2 changes: 1 addition & 1 deletion models/cloud_pc_operating_system.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import (
"strings"
"errors"
)
// Provides operations to manage the compliance singleton.
// Provides operations to manage the deviceManagement singleton.
type CloudPcOperatingSystem int

const (
Expand Down
2 changes: 1 addition & 1 deletion models/cloud_pc_service_plan_type.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import (
"strings"
"errors"
)
// Provides operations to manage the compliance singleton.
// Provides operations to manage the deviceManagement singleton.
type CloudPcServicePlanType int

const (
Expand Down
2 changes: 1 addition & 1 deletion models/cloud_pc_status.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import (
"strings"
"errors"
)
// Provides operations to manage the compliance singleton.
// Provides operations to manage the deviceManagement singleton.
type CloudPcStatus int

const (
Expand Down
2 changes: 1 addition & 1 deletion models/cloud_pc_user_account_type.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import (
"strings"
"errors"
)
// Provides operations to manage the compliance singleton.
// Provides operations to manage the deviceManagement singleton.
type CloudPcUserAccountType int

const (
Expand Down
2 changes: 1 addition & 1 deletion models/compliance_state.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import (
"strings"
"errors"
)
// Provides operations to manage the compliance singleton.
// Provides operations to manage the deviceManagement singleton.
type ComplianceState int

const (
Expand Down
2 changes: 1 addition & 1 deletion models/compliance_status.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import (
"strings"
"errors"
)
// Provides operations to manage the compliance singleton.
// Provides operations to manage the deviceAppManagement singleton.
type ComplianceStatus int

const (
Expand Down
2 changes: 1 addition & 1 deletion models/configuration_manager_client_state.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import (
"strings"
"errors"
)
// Provides operations to manage the compliance singleton.
// Provides operations to manage the deviceManagement singleton.
type ConfigurationManagerClientState int

const (
Expand Down
2 changes: 1 addition & 1 deletion models/device_and_app_management_assignment_filter_type.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import (
"strings"
"errors"
)
// Provides operations to manage the compliance singleton.
// Provides operations to manage the deviceAppManagement singleton.
type DeviceAndAppManagementAssignmentFilterType int

const (
Expand Down
2 changes: 1 addition & 1 deletion models/device_and_app_management_assignment_source.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import (
"strings"
"errors"
)
// Provides operations to manage the compliance singleton.
// Provides operations to manage the deviceAppManagement singleton.
type DeviceAndAppManagementAssignmentSource int

const (
Expand Down
2 changes: 1 addition & 1 deletion models/device_enrollment_configuration_type.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import (
"strings"
"errors"
)
// Provides operations to manage the compliance singleton.
// Provides operations to manage the deviceManagement singleton.
type DeviceEnrollmentConfigurationType int

const (
Expand Down
2 changes: 1 addition & 1 deletion models/device_enrollment_type.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import (
"strings"
"errors"
)
// Provides operations to manage the compliance singleton.
// Provides operations to manage the deviceManagement singleton.
type DeviceEnrollmentType int

const (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import (
"strings"
"errors"
)
// Provides operations to manage the compliance singleton.
// Provides operations to manage the deviceManagement singleton.
type DeviceGuardLocalSystemAuthorityCredentialGuardState int

const (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import (
"strings"
"errors"
)
// Provides operations to manage the compliance singleton.
// Provides operations to manage the deviceManagement singleton.
type DeviceGuardVirtualizationBasedSecurityHardwareRequirementState int

const (
Expand Down
2 changes: 1 addition & 1 deletion models/device_guard_virtualization_based_security_state.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import (
"strings"
"errors"
)
// Provides operations to manage the compliance singleton.
// Provides operations to manage the deviceManagement singleton.
type DeviceGuardVirtualizationBasedSecurityState int

const (
Expand Down
2 changes: 1 addition & 1 deletion models/device_management_exchange_access_state.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import (
"strings"
"errors"
)
// Provides operations to manage the compliance singleton.
// Provides operations to manage the deviceManagement singleton.
type DeviceManagementExchangeAccessState int

const (
Expand Down
2 changes: 1 addition & 1 deletion models/device_management_exchange_access_state_reason.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import (
"strings"
"errors"
)
// Provides operations to manage the compliance singleton.
// Provides operations to manage the deviceManagement singleton.
type DeviceManagementExchangeAccessStateReason int

const (
Expand Down
2 changes: 1 addition & 1 deletion models/device_registration_state.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import (
"strings"
"errors"
)
// Provides operations to manage the compliance singleton.
// Provides operations to manage the deviceManagement singleton.
type DeviceRegistrationState int

const (
Expand Down
2 changes: 1 addition & 1 deletion models/device_type.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import (
"strings"
"errors"
)
// Provides operations to manage the compliance singleton.
// Provides operations to manage the deviceManagement singleton.
type DeviceType int

const (
Expand Down
2 changes: 1 addition & 1 deletion models/expiration_pattern_type.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import (
"strings"
"errors"
)
// Provides operations to manage the roleManagement singleton.
// Provides operations to manage the identityGovernance singleton.
type ExpirationPatternType int

const (
Expand Down
6 changes: 3 additions & 3 deletions models/group.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ type Group struct {
settings []DirectorySettingable
// The list of SharePoint sites in this group. Access the default site with /sites/root.
sites []Siteable
// The team property
// The team associated with this group.
team Teamable
// Specifies a Microsoft 365 group's color theme. Possible values are Teal, Purple, Green, Blue, Pink, Orange or Red. Returned by default.
theme *string
Expand Down Expand Up @@ -1609,7 +1609,7 @@ func (m *Group) GetSites()([]Siteable) {
return m.sites
}
}
// GetTeam gets the team property value. The team property
// GetTeam gets the team property value. The team associated with this group.
func (m *Group) GetTeam()(Teamable) {
if m == nil {
return nil
Expand Down Expand Up @@ -2656,7 +2656,7 @@ func (m *Group) SetSites(value []Siteable)() {
m.sites = value
}
}
// SetTeam sets the team property value. The team property
// SetTeam sets the team property value. The team associated with this group.
func (m *Group) SetTeam(value Teamable)() {
if m != nil {
m.team = value
Expand Down
2 changes: 1 addition & 1 deletion models/join_type.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import (
"strings"
"errors"
)
// Provides operations to manage the compliance singleton.
// Provides operations to manage the deviceManagement singleton.
type JoinType int

const (
Expand Down
2 changes: 1 addition & 1 deletion models/lost_mode_state.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import (
"strings"
"errors"
)
// Provides operations to manage the compliance singleton.
// Provides operations to manage the deviceManagement singleton.
type LostModeState int

const (
Expand Down
2 changes: 1 addition & 1 deletion models/managed_app_flagged_reason.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import (
"strings"
"errors"
)
// Provides operations to manage the compliance singleton.
// Provides operations to manage the deviceAppManagement singleton.
type ManagedAppFlaggedReason int

const (
Expand Down
2 changes: 1 addition & 1 deletion models/managed_device_architecture.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import (
"strings"
"errors"
)
// Provides operations to manage the compliance singleton.
// Provides operations to manage the deviceManagement singleton.
type ManagedDeviceArchitecture int

const (
Expand Down
2 changes: 1 addition & 1 deletion models/managed_device_management_features.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import (
"strings"
"errors"
)
// Provides operations to manage the compliance singleton.
// Provides operations to manage the deviceManagement singleton.
type ManagedDeviceManagementFeatures int

const (
Expand Down
2 changes: 1 addition & 1 deletion models/managed_device_owner_type.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import (
"strings"
"errors"
)
// Provides operations to manage the compliance singleton.
// Provides operations to manage the deviceManagement singleton.
type ManagedDeviceOwnerType int

const (
Expand Down
2 changes: 1 addition & 1 deletion models/managed_device_partner_reported_health_state.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import (
"strings"
"errors"
)
// Provides operations to manage the compliance singleton.
// Provides operations to manage the deviceManagement singleton.
type ManagedDevicePartnerReportedHealthState int

const (
Expand Down
Loading

0 comments on commit 662638d

Please sign in to comment.