Skip to content

Commit

Permalink
Merge pull request #145 from microsoftgraph/v1.0/pipelinebuild/73348
Browse files Browse the repository at this point in the history
Generated v1.0 models and request builders using Kiota
  • Loading branch information
andrueastman authored Apr 28, 2022
2 parents 08755ac + 8fd3b13 commit 0b6b364
Show file tree
Hide file tree
Showing 31 changed files with 952 additions and 112 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.21.0] - 2022-04-28

### Changed

- Weekly generation

## [0.20.0] - 2022-04-19

### Changed
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: "", //v1 doesn't include the service version in the telemetry header
GraphServiceLibraryVersion: "0.20.0",
GraphServiceLibraryVersion: "0.21.0",
}

// GetDefaultClientOptions returns the default client options used by the GraphRequestAdapterBase and the middleware.
Expand Down Expand Up @@ -72,3 +72,4 @@ func NewGraphRequestAdapterWithParseNodeFactoryAndSerializationWriterFactoryAndH

return result, nil
}

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 deviceManagement singleton.
// Provides operations to manage the drive singleton.
type ActionState int

const (
Expand Down
2 changes: 1 addition & 1 deletion models/agreement_acceptance_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 collection of agreement entities.
// Provides operations to manage the collection of agreementAcceptance entities.
type AgreementAcceptanceState 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
6 changes: 3 additions & 3 deletions models/call.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ type Call struct {
callbackUri *string
// A unique identifier for all the participant calls in a conference or a unique identifier for two participant calls in a P2P call. This needs to be copied over from Microsoft.Graph.Call.CallChainId.
callChainId *string
// The callOptions property
// Contains the optional features for the call.
callOptions CallOptionsable
// The routing information on how the call was retargeted. Read-only.
callRoutes []CallRouteable
Expand Down Expand Up @@ -89,7 +89,7 @@ func (m *Call) GetCallChainId()(*string) {
return m.callChainId
}
}
// GetCallOptions gets the callOptions property value. The callOptions property
// GetCallOptions gets the callOptions property value. Contains the optional features for the call.
func (m *Call) GetCallOptions()(CallOptionsable) {
if m == nil {
return nil
Expand Down Expand Up @@ -694,7 +694,7 @@ func (m *Call) SetCallChainId(value *string)() {
m.callChainId = value
}
}
// SetCallOptions sets the callOptions property value. The callOptions property
// SetCallOptions sets the callOptions property value. Contains the optional features for the call.
func (m *Call) SetCallOptions(value CallOptionsable)() {
if m != nil {
m.callOptions = value
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 deviceManagement singleton.
// Provides operations to manage the drive singleton.
type ComplianceState 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 deviceManagement singleton.
// Provides operations to manage the drive singleton.
type DeviceEnrollmentType 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 deviceManagement singleton.
// Provides operations to manage the drive 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 deviceManagement singleton.
// Provides operations to manage the drive 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 deviceManagement singleton.
// Provides operations to manage the drive singleton.
type DeviceRegistrationState int

const (
Expand Down
6 changes: 3 additions & 3 deletions models/directory_audit.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ type DirectoryAudit struct {
initiatedBy AuditActivityInitiatorable
// Indicates information on which service initiated the activity (For example: Self-service Password Management, Core Directory, B2C, Invited Users, Microsoft Identity Manager, Privileged Identity Management.
loggedByService *string
// The operationType property
// Indicates the type of operation that was performed. The possible values include but are not limited to the following: Add, Assign, Update, Unassign, and Delete.
operationType *string
// Indicates the result of the activity. Possible values are: success, failure, timeout, unknownFutureValue.
result *OperationResult
Expand Down Expand Up @@ -221,7 +221,7 @@ func (m *DirectoryAudit) GetLoggedByService()(*string) {
return m.loggedByService
}
}
// GetOperationType gets the operationType property value. The operationType property
// GetOperationType gets the operationType property value. Indicates the type of operation that was performed. The possible values include but are not limited to the following: Add, Assign, Update, Unassign, and Delete.
func (m *DirectoryAudit) GetOperationType()(*string) {
if m == nil {
return nil
Expand Down Expand Up @@ -378,7 +378,7 @@ func (m *DirectoryAudit) SetLoggedByService(value *string)() {
m.loggedByService = value
}
}
// SetOperationType sets the operationType property value. The operationType property
// SetOperationType sets the operationType property value. Indicates the type of operation that was performed. The possible values include but are not limited to the following: Add, Assign, Update, Unassign, and Delete.
func (m *DirectoryAudit) SetOperationType(value *string)() {
if m != nil {
m.operationType = value
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 deviceManagement singleton.
// Provides operations to manage the drive 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 deviceManagement singleton.
// Provides operations to manage the drive singleton.
type ManagedDevicePartnerReportedHealthState int

const (
Expand Down
2 changes: 1 addition & 1 deletion models/management_agent_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 deviceManagement singleton.
// Provides operations to manage the drive singleton.
type ManagementAgentType int

const (
Expand Down
Loading

0 comments on commit 0b6b364

Please sign in to comment.