betasdk

package
v0.0.0-...-880cb89 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 11, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BetaClient

type BetaClient struct {
	// contains filtered or unexported fields
}

BetaClient the main entry point of the SDK, exposes the configuration and the fluent API. Minimal Beta Connector: Details on how the Code was generated is within `kioter-lock.json`.

Beta files use an adapter that allows for ASync() request. This feature is disabled within the nested directories. Generic Kiota adapters do not support.

Supported betasdk models are located within the models subdirectory Supported Call source are located within the sites subdirectory Specifics on `betaClient.SitesById(siteID).Pages` are located: sites/site_item_request_builder.go

Changes to Sites Directory: Access files send requests with an adapter's with ASync() support. This feature is not enabled in v1.0. Manually changed in remaining files. Additionally, only calls that begin as client.SitesBy(siteID).Pages() have an endpoint.

The use case specific to Pages(). All other requests should be routed to the /internal/connector/graph.Servicer Specifics on `betaClient.SitesById(siteID).Pages` are located: sites/site_item_request_builder.go

Required model files are identified as `modelFiles` in kiota-lock.json. Directory -> betasdk/models Required access files are identified as `sitesFiles` in kiota-lock.json. Directory -> betasdk/sites

BetaClient minimal msgraph-beta-sdk-go for connecting to msgraph-beta-sdk-go for retrieving `SharePoint.Pages`. Code is generated from kiota.dev. requestAdapter is registered with the following the serializers: -- "Microsoft.Kiota.Serialization.Json.JsonParseNodeFactory", -- "Microsoft.Kiota.Serialization.Text.TextParseNodeFactory", -- "Microsoft.Kiota.Serialization.Form.FormParseNodeFactory"

func NewBetaClient

func NewBetaClient(requestAdapter abstractions.RequestAdapter) *BetaClient

NewBetaClient instantiates a new BetaClient and sets the default values. func NewBetaClient(requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*BetaClient) {

func (*BetaClient) Adapter

func (m *BetaClient) Adapter() abstractions.RequestAdapter

Adapter() helper method to export Adapter for iterating

func (*BetaClient) SitesById

SitesById provides operations to manage the collection of site entities.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL