onenotesectiongroupsectionpage

package
v0.20241209.1115630 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: MPL-2.0 Imports: 9 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/microsoft-graph/me/beta/onenotesectiongroupsectionpage Documentation

The onenotesectiongroupsectionpage SDK allows for interaction with Microsoft Graph me (API Version beta).

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/me/beta/onenotesectiongroupsectionpage"

Client Initialization

client := onenotesectiongroupsectionpage.NewOnenoteSectionGroupSectionPageClientWithBaseURI("https://graph.microsoft.com")
client.Client.Authorizer = authorizer

Example Usage: OnenoteSectionGroupSectionPageClient.CopyOnenoteSectionGroupSectionPageToSection

ctx := context.TODO()
id := onenotesectiongroupsectionpage.NewMeOnenoteSectionGroupIdSectionIdPageID("sectionGroupId", "onenoteSectionId", "onenotePageId")

payload := onenotesectiongroupsectionpage.CopyOnenoteSectionGroupSectionPageToSectionRequest{
	// ...
}


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

Example Usage: OnenoteSectionGroupSectionPageClient.CreateOnenoteSectionGroupSectionPage

ctx := context.TODO()
id := onenotesectiongroupsectionpage.NewMeOnenoteSectionGroupIdSectionID("sectionGroupId", "onenoteSectionId")

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


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

Example Usage: OnenoteSectionGroupSectionPageClient.CreateOnenoteSectionGroupSectionPageOnenotePatchContent

ctx := context.TODO()
id := onenotesectiongroupsectionpage.NewMeOnenoteSectionGroupIdSectionIdPageID("sectionGroupId", "onenoteSectionId", "onenotePageId")

payload := onenotesectiongroupsectionpage.CreateOnenoteSectionGroupSectionPageOnenotePatchContentRequest{
	// ...
}


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

Example Usage: OnenoteSectionGroupSectionPageClient.DeleteOnenoteSectionGroupSectionPage

ctx := context.TODO()
id := onenotesectiongroupsectionpage.NewMeOnenoteSectionGroupIdSectionIdPageID("sectionGroupId", "onenoteSectionId", "onenotePageId")

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

Example Usage: OnenoteSectionGroupSectionPageClient.GetOnenoteSectionGroupSectionPage

ctx := context.TODO()
id := onenotesectiongroupsectionpage.NewMeOnenoteSectionGroupIdSectionIdPageID("sectionGroupId", "onenoteSectionId", "onenotePageId")

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

Example Usage: OnenoteSectionGroupSectionPageClient.GetOnenoteSectionGroupSectionPagesCount

ctx := context.TODO()
id := onenotesectiongroupsectionpage.NewMeOnenoteSectionGroupIdSectionID("sectionGroupId", "onenoteSectionId")

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

Example Usage: OnenoteSectionGroupSectionPageClient.ListOnenoteSectionGroupSectionPages

ctx := context.TODO()
id := onenotesectiongroupsectionpage.NewMeOnenoteSectionGroupIdSectionID("sectionGroupId", "onenoteSectionId")

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

Example Usage: OnenoteSectionGroupSectionPageClient.UpdateOnenoteSectionGroupSectionPage

ctx := context.TODO()
id := onenotesectiongroupsectionpage.NewMeOnenoteSectionGroupIdSectionIdPageID("sectionGroupId", "onenoteSectionId", "onenotePageId")

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


read, err := client.UpdateOnenoteSectionGroupSectionPage(ctx, id, payload, onenotesectiongroupsectionpage.DefaultUpdateOnenoteSectionGroupSectionPageOperationOptions())
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 CopyOnenoteSectionGroupSectionPageToSectionOperationOptions

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

func (CopyOnenoteSectionGroupSectionPageToSectionOperationOptions) ToHeaders

func (CopyOnenoteSectionGroupSectionPageToSectionOperationOptions) ToOData

func (CopyOnenoteSectionGroupSectionPageToSectionOperationOptions) ToQuery

type CopyOnenoteSectionGroupSectionPageToSectionOperationResponse

type CopyOnenoteSectionGroupSectionPageToSectionOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *beta.OnenoteOperation
}

type CopyOnenoteSectionGroupSectionPageToSectionRequest

type CopyOnenoteSectionGroupSectionPageToSectionRequest 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 CreateOnenoteSectionGroupSectionPageOnenotePatchContentOperationOptions

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

func (CreateOnenoteSectionGroupSectionPageOnenotePatchContentOperationOptions) ToHeaders

func (CreateOnenoteSectionGroupSectionPageOnenotePatchContentOperationOptions) ToOData

func (CreateOnenoteSectionGroupSectionPageOnenotePatchContentOperationOptions) ToQuery

type CreateOnenoteSectionGroupSectionPageOnenotePatchContentOperationResponse

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

type CreateOnenoteSectionGroupSectionPageOnenotePatchContentRequest

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

type CreateOnenoteSectionGroupSectionPageOperationOptions

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

func DefaultCreateOnenoteSectionGroupSectionPageOperationOptions

func DefaultCreateOnenoteSectionGroupSectionPageOperationOptions() CreateOnenoteSectionGroupSectionPageOperationOptions

func (CreateOnenoteSectionGroupSectionPageOperationOptions) ToHeaders

func (CreateOnenoteSectionGroupSectionPageOperationOptions) ToOData

func (CreateOnenoteSectionGroupSectionPageOperationOptions) ToQuery

type CreateOnenoteSectionGroupSectionPageOperationResponse

type CreateOnenoteSectionGroupSectionPageOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *beta.OnenotePage
}

type DeleteOnenoteSectionGroupSectionPageOperationOptions

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

func DefaultDeleteOnenoteSectionGroupSectionPageOperationOptions

func DefaultDeleteOnenoteSectionGroupSectionPageOperationOptions() DeleteOnenoteSectionGroupSectionPageOperationOptions

func (DeleteOnenoteSectionGroupSectionPageOperationOptions) ToHeaders

func (DeleteOnenoteSectionGroupSectionPageOperationOptions) ToOData

func (DeleteOnenoteSectionGroupSectionPageOperationOptions) ToQuery

type DeleteOnenoteSectionGroupSectionPageOperationResponse

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

type GetOnenoteSectionGroupSectionPageOperationOptions

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

func DefaultGetOnenoteSectionGroupSectionPageOperationOptions

func DefaultGetOnenoteSectionGroupSectionPageOperationOptions() GetOnenoteSectionGroupSectionPageOperationOptions

func (GetOnenoteSectionGroupSectionPageOperationOptions) ToHeaders

func (GetOnenoteSectionGroupSectionPageOperationOptions) ToOData

func (GetOnenoteSectionGroupSectionPageOperationOptions) ToQuery

type GetOnenoteSectionGroupSectionPageOperationResponse

type GetOnenoteSectionGroupSectionPageOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *beta.OnenotePage
}

type GetOnenoteSectionGroupSectionPagesCountOperationOptions

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

func (GetOnenoteSectionGroupSectionPagesCountOperationOptions) ToHeaders

func (GetOnenoteSectionGroupSectionPagesCountOperationOptions) ToOData

func (GetOnenoteSectionGroupSectionPagesCountOperationOptions) ToQuery

type GetOnenoteSectionGroupSectionPagesCountOperationResponse

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

type ListOnenoteSectionGroupSectionPagesCompleteResult

type ListOnenoteSectionGroupSectionPagesCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []beta.OnenotePage
}

type ListOnenoteSectionGroupSectionPagesCustomPager

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

type ListOnenoteSectionGroupSectionPagesOperationOptions

type ListOnenoteSectionGroupSectionPagesOperationOptions 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 DefaultListOnenoteSectionGroupSectionPagesOperationOptions

func DefaultListOnenoteSectionGroupSectionPagesOperationOptions() ListOnenoteSectionGroupSectionPagesOperationOptions

func (ListOnenoteSectionGroupSectionPagesOperationOptions) ToHeaders

func (ListOnenoteSectionGroupSectionPagesOperationOptions) ToOData

func (ListOnenoteSectionGroupSectionPagesOperationOptions) ToQuery

type ListOnenoteSectionGroupSectionPagesOperationResponse

type ListOnenoteSectionGroupSectionPagesOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]beta.OnenotePage
}

type OnenotePageOperationPredicate

type OnenotePageOperationPredicate struct {
}

func (OnenotePageOperationPredicate) Matches

type OnenoteSectionGroupSectionPageClient

type OnenoteSectionGroupSectionPageClient struct {
	Client *msgraph.Client
}

func NewOnenoteSectionGroupSectionPageClientWithBaseURI

func NewOnenoteSectionGroupSectionPageClientWithBaseURI(sdkApi sdkEnv.Api) (*OnenoteSectionGroupSectionPageClient, error)

func (OnenoteSectionGroupSectionPageClient) CopyOnenoteSectionGroupSectionPageToSection

CopyOnenoteSectionGroupSectionPageToSection - 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 (OnenoteSectionGroupSectionPageClient) CreateOnenoteSectionGroupSectionPage

CreateOnenoteSectionGroupSectionPage - Create new navigation property to pages for me

func (OnenoteSectionGroupSectionPageClient) CreateOnenoteSectionGroupSectionPageOnenotePatchContent

CreateOnenoteSectionGroupSectionPageOnenotePatchContent - Invoke action onenotePatchContent

func (OnenoteSectionGroupSectionPageClient) DeleteOnenoteSectionGroupSectionPage

DeleteOnenoteSectionGroupSectionPage - Delete navigation property pages for me

func (OnenoteSectionGroupSectionPageClient) GetOnenoteSectionGroupSectionPage

GetOnenoteSectionGroupSectionPage - Get pages from me. The collection of pages in the section. Read-only. Nullable.

func (OnenoteSectionGroupSectionPageClient) GetOnenoteSectionGroupSectionPagesCount

GetOnenoteSectionGroupSectionPagesCount - Get the number of the resource

func (OnenoteSectionGroupSectionPageClient) ListOnenoteSectionGroupSectionPages

ListOnenoteSectionGroupSectionPages - Get pages from me. The collection of pages in the section. Read-only. Nullable.

func (OnenoteSectionGroupSectionPageClient) ListOnenoteSectionGroupSectionPagesComplete

ListOnenoteSectionGroupSectionPagesComplete retrieves all the results into a single object

func (OnenoteSectionGroupSectionPageClient) ListOnenoteSectionGroupSectionPagesCompleteMatchingPredicate

ListOnenoteSectionGroupSectionPagesCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (OnenoteSectionGroupSectionPageClient) UpdateOnenoteSectionGroupSectionPage

UpdateOnenoteSectionGroupSectionPage - Update the navigation property pages in me

type UpdateOnenoteSectionGroupSectionPageOperationOptions

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

func DefaultUpdateOnenoteSectionGroupSectionPageOperationOptions

func DefaultUpdateOnenoteSectionGroupSectionPageOperationOptions() UpdateOnenoteSectionGroupSectionPageOperationOptions

func (UpdateOnenoteSectionGroupSectionPageOperationOptions) ToHeaders

func (UpdateOnenoteSectionGroupSectionPageOperationOptions) ToOData

func (UpdateOnenoteSectionGroupSectionPageOperationOptions) ToQuery

type UpdateOnenoteSectionGroupSectionPageOperationResponse

type UpdateOnenoteSectionGroupSectionPageOperationResponse 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