msgraph

package
v0.20241128.1112539 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2024 License: MPL-2.0 Imports: 5 Imported by: 4,796

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiVersion

type ApiVersion string
const (
	VersionOnePointZero ApiVersion = "v1.0"
	VersionBeta         ApiVersion = "beta"
)

type Client

type Client struct {
	*client.Client

	// EnableRetries allows reattempting failed requests to work around eventual consistency issues
	// Note that 429 responses are always handled by the base client regardless of this setting
	EnableRetries bool
	// contains filtered or unexported fields
}

func NewClient added in v0.20240815.1003113

func NewClient(api environments.Api, serviceName string, apiVersion ApiVersion) (*Client, error)

func NewMsGraphClient deprecated

func NewMsGraphClient(api environments.Api, serviceName string, apiVersion ApiVersion) (*Client, error)

Deprecated: use NewClient instead

func (*Client) NewRequest

func (c *Client) NewRequest(ctx context.Context, input client.RequestOptions) (*client.Request, error)

Jump to

Keyboard shortcuts

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