onenotenotebooksectiongroupsectionpage

package
v0.20241128.1084944 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: 9 Imported by: 1

README

github.com/hashicorp/go-azure-sdk/microsoft-graph/users/stable/onenotenotebooksectiongroupsectionpage Documentation

The onenotenotebooksectiongroupsectionpage SDK allows for interaction with Microsoft Graph users (API Version stable).

This readme covers example usages, but further information on using this SDK can be found in the project root.

Import Path

import "github.com/hashicorp/go-azure-sdk/microsoft-graph/users/stable/onenotenotebooksectiongroupsectionpage"

Client Initialization

client := onenotenotebooksectiongroupsectionpage.NewOnenoteNotebookSectionGroupSectionPageClientWithBaseURI("https://graph.microsoft.com")
client.Client.Authorizer = authorizer

Example Usage: OnenoteNotebookSectionGroupSectionPageClient.CopyOnenoteNotebookSectionGroupSectionPageToSection

ctx := context.TODO()
id := onenotenotebooksectiongroupsectionpage.NewUserIdOnenoteNotebookIdSectionGroupIdSectionIdPageID("userId", "notebookId", "sectionGroupId", "onenoteSectionId", "onenotePageId")

payload := onenotenotebooksectiongroupsectionpage.CopyOnenoteNotebookSectionGroupSectionPageToSectionRequest{
	// ...
}


read, err := client.CopyOnenoteNotebookSectionGroupSectionPageToSection(ctx, id, payload, onenotenotebooksectiongroupsectionpage.DefaultCopyOnenoteNotebookSectionGroupSectionPageToSectionOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: OnenoteNotebookSectionGroupSectionPageClient.CreateOnenoteNotebookSectionGroupSectionPage

ctx := context.TODO()
id := onenotenotebooksectiongroupsectionpage.NewUserIdOnenoteNotebookIdSectionGroupIdSectionID("userId", "notebookId", "sectionGroupId", "onenoteSectionId")

payload := onenotenotebooksectiongroupsectionpage.OnenotePage{
	// ...
}


read, err := client.CreateOnenoteNotebookSectionGroupSectionPage(ctx, id, payload, onenotenotebooksectiongroupsectionpage.DefaultCreateOnenoteNotebookSectionGroupSectionPageOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: OnenoteNotebookSectionGroupSectionPageClient.CreateOnenoteNotebookSectionGroupSectionPageOnenotePatchContent

ctx := context.TODO()
id := onenotenotebooksectiongroupsectionpage.NewUserIdOnenoteNotebookIdSectionGroupIdSectionIdPageID("userId", "notebookId", "sectionGroupId", "onenoteSectionId", "onenotePageId")

payload := onenotenotebooksectiongroupsectionpage.CreateOnenoteNotebookSectionGroupSectionPageOnenotePatchContentRequest{
	// ...
}


read, err := client.CreateOnenoteNotebookSectionGroupSectionPageOnenotePatchContent(ctx, id, payload, onenotenotebooksectiongroupsectionpage.DefaultCreateOnenoteNotebookSectionGroupSectionPageOnenotePatchContentOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: OnenoteNotebookSectionGroupSectionPageClient.DeleteOnenoteNotebookSectionGroupSectionPage

ctx := context.TODO()
id := onenotenotebooksectiongroupsectionpage.NewUserIdOnenoteNotebookIdSectionGroupIdSectionIdPageID("userId", "notebookId", "sectionGroupId", "onenoteSectionId", "onenotePageId")

read, err := client.DeleteOnenoteNotebookSectionGroupSectionPage(ctx, id, onenotenotebooksectiongroupsectionpage.DefaultDeleteOnenoteNotebookSectionGroupSectionPageOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: OnenoteNotebookSectionGroupSectionPageClient.GetOnenoteNotebookSectionGroupSectionPage

ctx := context.TODO()
id := onenotenotebooksectiongroupsectionpage.NewUserIdOnenoteNotebookIdSectionGroupIdSectionIdPageID("userId", "notebookId", "sectionGroupId", "onenoteSectionId", "onenotePageId")

read, err := client.GetOnenoteNotebookSectionGroupSectionPage(ctx, id, onenotenotebooksectiongroupsectionpage.DefaultGetOnenoteNotebookSectionGroupSectionPageOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: OnenoteNotebookSectionGroupSectionPageClient.GetOnenoteNotebookSectionGroupSectionPagesCount

ctx := context.TODO()
id := onenotenotebooksectiongroupsectionpage.NewUserIdOnenoteNotebookIdSectionGroupIdSectionID("userId", "notebookId", "sectionGroupId", "onenoteSectionId")

read, err := client.GetOnenoteNotebookSectionGroupSectionPagesCount(ctx, id, onenotenotebooksectiongroupsectionpage.DefaultGetOnenoteNotebookSectionGroupSectionPagesCountOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: OnenoteNotebookSectionGroupSectionPageClient.ListOnenoteNotebookSectionGroupSectionPages

ctx := context.TODO()
id := onenotenotebooksectiongroupsectionpage.NewUserIdOnenoteNotebookIdSectionGroupIdSectionID("userId", "notebookId", "sectionGroupId", "onenoteSectionId")

// alternatively `client.ListOnenoteNotebookSectionGroupSectionPages(ctx, id, onenotenotebooksectiongroupsectionpage.DefaultListOnenoteNotebookSectionGroupSectionPagesOperationOptions())` can be used to do batched pagination
items, err := client.ListOnenoteNotebookSectionGroupSectionPagesComplete(ctx, id, onenotenotebooksectiongroupsectionpage.DefaultListOnenoteNotebookSectionGroupSectionPagesOperationOptions())
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: OnenoteNotebookSectionGroupSectionPageClient.UpdateOnenoteNotebookSectionGroupSectionPage

ctx := context.TODO()
id := onenotenotebooksectiongroupsectionpage.NewUserIdOnenoteNotebookIdSectionGroupIdSectionIdPageID("userId", "notebookId", "sectionGroupId", "onenoteSectionId", "onenotePageId")

payload := onenotenotebooksectiongroupsectionpage.OnenotePage{
	// ...
}


read, err := client.UpdateOnenoteNotebookSectionGroupSectionPage(ctx, id, payload, onenotenotebooksectiongroupsectionpage.DefaultUpdateOnenoteNotebookSectionGroupSectionPageOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CopyOnenoteNotebookSectionGroupSectionPageToSectionOperationOptions

type CopyOnenoteNotebookSectionGroupSectionPageToSectionOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func (CopyOnenoteNotebookSectionGroupSectionPageToSectionOperationOptions) ToHeaders

func (CopyOnenoteNotebookSectionGroupSectionPageToSectionOperationOptions) ToOData

func (CopyOnenoteNotebookSectionGroupSectionPageToSectionOperationOptions) ToQuery

type CopyOnenoteNotebookSectionGroupSectionPageToSectionOperationResponse

type CopyOnenoteNotebookSectionGroupSectionPageToSectionOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *stable.OnenoteOperation
}

type CopyOnenoteNotebookSectionGroupSectionPageToSectionRequest

type CopyOnenoteNotebookSectionGroupSectionPageToSectionRequest struct {
	GroupId          nullable.Type[string] `json:"groupId,omitempty"`
	Id               nullable.Type[string] `json:"id,omitempty"`
	SiteCollectionId nullable.Type[string] `json:"siteCollectionId,omitempty"`
	SiteId           nullable.Type[string] `json:"siteId,omitempty"`
}

type CreateOnenoteNotebookSectionGroupSectionPageOnenotePatchContentOperationOptions

type CreateOnenoteNotebookSectionGroupSectionPageOnenotePatchContentOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func (CreateOnenoteNotebookSectionGroupSectionPageOnenotePatchContentOperationOptions) ToHeaders

func (CreateOnenoteNotebookSectionGroupSectionPageOnenotePatchContentOperationOptions) ToOData

func (CreateOnenoteNotebookSectionGroupSectionPageOnenotePatchContentOperationOptions) ToQuery

type CreateOnenoteNotebookSectionGroupSectionPageOnenotePatchContentOperationResponse

type CreateOnenoteNotebookSectionGroupSectionPageOnenotePatchContentOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type CreateOnenoteNotebookSectionGroupSectionPageOnenotePatchContentRequest

type CreateOnenoteNotebookSectionGroupSectionPageOnenotePatchContentRequest struct {
	Commands *[]stable.OnenotePatchContentCommand `json:"commands,omitempty"`
}

type CreateOnenoteNotebookSectionGroupSectionPageOperationOptions

type CreateOnenoteNotebookSectionGroupSectionPageOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func (CreateOnenoteNotebookSectionGroupSectionPageOperationOptions) ToHeaders

func (CreateOnenoteNotebookSectionGroupSectionPageOperationOptions) ToOData

func (CreateOnenoteNotebookSectionGroupSectionPageOperationOptions) ToQuery

type CreateOnenoteNotebookSectionGroupSectionPageOperationResponse

type CreateOnenoteNotebookSectionGroupSectionPageOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *stable.OnenotePage
}

type DeleteOnenoteNotebookSectionGroupSectionPageOperationOptions

type DeleteOnenoteNotebookSectionGroupSectionPageOperationOptions struct {
	IfMatch   *string
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func (DeleteOnenoteNotebookSectionGroupSectionPageOperationOptions) ToHeaders

func (DeleteOnenoteNotebookSectionGroupSectionPageOperationOptions) ToOData

func (DeleteOnenoteNotebookSectionGroupSectionPageOperationOptions) ToQuery

type DeleteOnenoteNotebookSectionGroupSectionPageOperationResponse

type DeleteOnenoteNotebookSectionGroupSectionPageOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type GetOnenoteNotebookSectionGroupSectionPageOperationOptions

type GetOnenoteNotebookSectionGroupSectionPageOperationOptions struct {
	Expand    *odata.Expand
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
	Select    *[]string
}

func (GetOnenoteNotebookSectionGroupSectionPageOperationOptions) ToHeaders

func (GetOnenoteNotebookSectionGroupSectionPageOperationOptions) ToOData

func (GetOnenoteNotebookSectionGroupSectionPageOperationOptions) ToQuery

type GetOnenoteNotebookSectionGroupSectionPageOperationResponse

type GetOnenoteNotebookSectionGroupSectionPageOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *stable.OnenotePage
}

type GetOnenoteNotebookSectionGroupSectionPagesCountOperationOptions

type GetOnenoteNotebookSectionGroupSectionPagesCountOperationOptions struct {
	Filter    *string
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
	Search    *string
}

func (GetOnenoteNotebookSectionGroupSectionPagesCountOperationOptions) ToHeaders

func (GetOnenoteNotebookSectionGroupSectionPagesCountOperationOptions) ToOData

func (GetOnenoteNotebookSectionGroupSectionPagesCountOperationOptions) ToQuery

type GetOnenoteNotebookSectionGroupSectionPagesCountOperationResponse

type GetOnenoteNotebookSectionGroupSectionPagesCountOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]byte
}

type ListOnenoteNotebookSectionGroupSectionPagesCompleteResult

type ListOnenoteNotebookSectionGroupSectionPagesCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []stable.OnenotePage
}

type ListOnenoteNotebookSectionGroupSectionPagesCustomPager

type ListOnenoteNotebookSectionGroupSectionPagesCustomPager struct {
	NextLink *odata.Link `json:"@odata.nextLink"`
}

type ListOnenoteNotebookSectionGroupSectionPagesOperationOptions

type ListOnenoteNotebookSectionGroupSectionPagesOperationOptions struct {
	Count     *bool
	Expand    *odata.Expand
	Filter    *string
	Metadata  *odata.Metadata
	OrderBy   *odata.OrderBy
	RetryFunc client.RequestRetryFunc
	Search    *string
	Select    *[]string
	Skip      *int64
	Top       *int64
}

func (ListOnenoteNotebookSectionGroupSectionPagesOperationOptions) ToHeaders

func (ListOnenoteNotebookSectionGroupSectionPagesOperationOptions) ToOData

func (ListOnenoteNotebookSectionGroupSectionPagesOperationOptions) ToQuery

type ListOnenoteNotebookSectionGroupSectionPagesOperationResponse

type ListOnenoteNotebookSectionGroupSectionPagesOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]stable.OnenotePage
}

type OnenoteNotebookSectionGroupSectionPageClient

type OnenoteNotebookSectionGroupSectionPageClient struct {
	Client *msgraph.Client
}

func NewOnenoteNotebookSectionGroupSectionPageClientWithBaseURI

func NewOnenoteNotebookSectionGroupSectionPageClientWithBaseURI(sdkApi sdkEnv.Api) (*OnenoteNotebookSectionGroupSectionPageClient, error)

func (OnenoteNotebookSectionGroupSectionPageClient) CopyOnenoteNotebookSectionGroupSectionPageToSection

CopyOnenoteNotebookSectionGroupSectionPageToSection - Invoke action copyToSection. Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result.

func (OnenoteNotebookSectionGroupSectionPageClient) CreateOnenoteNotebookSectionGroupSectionPage

CreateOnenoteNotebookSectionGroupSectionPage - Create new navigation property to pages for users

func (OnenoteNotebookSectionGroupSectionPageClient) DeleteOnenoteNotebookSectionGroupSectionPage

DeleteOnenoteNotebookSectionGroupSectionPage - Delete navigation property pages for users

func (OnenoteNotebookSectionGroupSectionPageClient) GetOnenoteNotebookSectionGroupSectionPage

GetOnenoteNotebookSectionGroupSectionPage - Get pages from users. The collection of pages in the section. Read-only. Nullable.

func (OnenoteNotebookSectionGroupSectionPageClient) GetOnenoteNotebookSectionGroupSectionPagesCount

GetOnenoteNotebookSectionGroupSectionPagesCount - Get the number of the resource

func (OnenoteNotebookSectionGroupSectionPageClient) ListOnenoteNotebookSectionGroupSectionPages

ListOnenoteNotebookSectionGroupSectionPages - Get pages from users. The collection of pages in the section. Read-only. Nullable.

func (OnenoteNotebookSectionGroupSectionPageClient) ListOnenoteNotebookSectionGroupSectionPagesComplete

ListOnenoteNotebookSectionGroupSectionPagesComplete retrieves all the results into a single object

func (OnenoteNotebookSectionGroupSectionPageClient) ListOnenoteNotebookSectionGroupSectionPagesCompleteMatchingPredicate

ListOnenoteNotebookSectionGroupSectionPagesCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (OnenoteNotebookSectionGroupSectionPageClient) UpdateOnenoteNotebookSectionGroupSectionPage

UpdateOnenoteNotebookSectionGroupSectionPage - Update the navigation property pages in users

type OnenotePageOperationPredicate

type OnenotePageOperationPredicate struct {
}

func (OnenotePageOperationPredicate) Matches

type UpdateOnenoteNotebookSectionGroupSectionPageOperationOptions

type UpdateOnenoteNotebookSectionGroupSectionPageOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func (UpdateOnenoteNotebookSectionGroupSectionPageOperationOptions) ToHeaders

func (UpdateOnenoteNotebookSectionGroupSectionPageOperationOptions) ToOData

func (UpdateOnenoteNotebookSectionGroupSectionPageOperationOptions) ToQuery

type UpdateOnenoteNotebookSectionGroupSectionPageOperationResponse

type UpdateOnenoteNotebookSectionGroupSectionPageOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

Jump to

Keyboard shortcuts

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