Documentation ¶
Index ¶
- type CopyOnenotePageToSectionOperationOptions
- type CopyOnenotePageToSectionOperationResponse
- type CopyOnenotePageToSectionRequest
- type CreateOnenotePageOnenotePatchContentOperationOptions
- type CreateOnenotePageOnenotePatchContentOperationResponse
- type CreateOnenotePageOnenotePatchContentRequest
- type CreateOnenotePageOperationOptions
- type CreateOnenotePageOperationResponse
- type DeleteOnenotePageOperationOptions
- type DeleteOnenotePageOperationResponse
- type GetOnenotePageOperationOptions
- type GetOnenotePageOperationResponse
- type GetOnenotePagesCountOperationOptions
- type GetOnenotePagesCountOperationResponse
- type ListOnenotePagesCompleteResult
- type ListOnenotePagesCustomPager
- type ListOnenotePagesOperationOptions
- type ListOnenotePagesOperationResponse
- type OnenotePageClient
- func (c OnenotePageClient) CopyOnenotePageToSection(ctx context.Context, id stable.MeOnenotePageId, ...) (result CopyOnenotePageToSectionOperationResponse, err error)
- func (c OnenotePageClient) CreateOnenotePage(ctx context.Context, input stable.OnenotePage, ...) (result CreateOnenotePageOperationResponse, err error)
- func (c OnenotePageClient) CreateOnenotePageOnenotePatchContent(ctx context.Context, id stable.MeOnenotePageId, ...) (result CreateOnenotePageOnenotePatchContentOperationResponse, err error)
- func (c OnenotePageClient) DeleteOnenotePage(ctx context.Context, id stable.MeOnenotePageId, ...) (result DeleteOnenotePageOperationResponse, err error)
- func (c OnenotePageClient) GetOnenotePage(ctx context.Context, id stable.MeOnenotePageId, ...) (result GetOnenotePageOperationResponse, err error)
- func (c OnenotePageClient) GetOnenotePagesCount(ctx context.Context, options GetOnenotePagesCountOperationOptions) (result GetOnenotePagesCountOperationResponse, err error)
- func (c OnenotePageClient) ListOnenotePages(ctx context.Context, options ListOnenotePagesOperationOptions) (result ListOnenotePagesOperationResponse, err error)
- func (c OnenotePageClient) ListOnenotePagesComplete(ctx context.Context, options ListOnenotePagesOperationOptions) (ListOnenotePagesCompleteResult, error)
- func (c OnenotePageClient) ListOnenotePagesCompleteMatchingPredicate(ctx context.Context, options ListOnenotePagesOperationOptions, ...) (result ListOnenotePagesCompleteResult, err error)
- func (c OnenotePageClient) UpdateOnenotePage(ctx context.Context, id stable.MeOnenotePageId, input stable.OnenotePage, ...) (result UpdateOnenotePageOperationResponse, err error)
- type OnenotePageOperationPredicate
- type UpdateOnenotePageOperationOptions
- type UpdateOnenotePageOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CopyOnenotePageToSectionOperationOptions ¶
type CopyOnenotePageToSectionOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCopyOnenotePageToSectionOperationOptions ¶
func DefaultCopyOnenotePageToSectionOperationOptions() CopyOnenotePageToSectionOperationOptions
func (CopyOnenotePageToSectionOperationOptions) ToHeaders ¶
func (o CopyOnenotePageToSectionOperationOptions) ToHeaders() *client.Headers
func (CopyOnenotePageToSectionOperationOptions) ToOData ¶
func (o CopyOnenotePageToSectionOperationOptions) ToOData() *odata.Query
func (CopyOnenotePageToSectionOperationOptions) ToQuery ¶
func (o CopyOnenotePageToSectionOperationOptions) ToQuery() *client.QueryParams
type CreateOnenotePageOnenotePatchContentOperationOptions ¶
type CreateOnenotePageOnenotePatchContentOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateOnenotePageOnenotePatchContentOperationOptions ¶
func DefaultCreateOnenotePageOnenotePatchContentOperationOptions() CreateOnenotePageOnenotePatchContentOperationOptions
func (CreateOnenotePageOnenotePatchContentOperationOptions) ToHeaders ¶
func (o CreateOnenotePageOnenotePatchContentOperationOptions) ToHeaders() *client.Headers
func (CreateOnenotePageOnenotePatchContentOperationOptions) ToOData ¶
func (o CreateOnenotePageOnenotePatchContentOperationOptions) ToOData() *odata.Query
func (CreateOnenotePageOnenotePatchContentOperationOptions) ToQuery ¶
func (o CreateOnenotePageOnenotePatchContentOperationOptions) ToQuery() *client.QueryParams
type CreateOnenotePageOnenotePatchContentRequest ¶
type CreateOnenotePageOnenotePatchContentRequest struct {
Commands *[]stable.OnenotePatchContentCommand `json:"commands,omitempty"`
}
type CreateOnenotePageOperationOptions ¶
type CreateOnenotePageOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateOnenotePageOperationOptions ¶
func DefaultCreateOnenotePageOperationOptions() CreateOnenotePageOperationOptions
func (CreateOnenotePageOperationOptions) ToHeaders ¶
func (o CreateOnenotePageOperationOptions) ToHeaders() *client.Headers
func (CreateOnenotePageOperationOptions) ToOData ¶
func (o CreateOnenotePageOperationOptions) ToOData() *odata.Query
func (CreateOnenotePageOperationOptions) ToQuery ¶
func (o CreateOnenotePageOperationOptions) ToQuery() *client.QueryParams
type DeleteOnenotePageOperationOptions ¶
type DeleteOnenotePageOperationOptions struct { IfMatch *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultDeleteOnenotePageOperationOptions ¶
func DefaultDeleteOnenotePageOperationOptions() DeleteOnenotePageOperationOptions
func (DeleteOnenotePageOperationOptions) ToHeaders ¶
func (o DeleteOnenotePageOperationOptions) ToHeaders() *client.Headers
func (DeleteOnenotePageOperationOptions) ToOData ¶
func (o DeleteOnenotePageOperationOptions) ToOData() *odata.Query
func (DeleteOnenotePageOperationOptions) ToQuery ¶
func (o DeleteOnenotePageOperationOptions) ToQuery() *client.QueryParams
type GetOnenotePageOperationOptions ¶
type GetOnenotePageOperationOptions struct { Expand *odata.Expand Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Select *[]string }
func DefaultGetOnenotePageOperationOptions ¶
func DefaultGetOnenotePageOperationOptions() GetOnenotePageOperationOptions
func (GetOnenotePageOperationOptions) ToHeaders ¶
func (o GetOnenotePageOperationOptions) ToHeaders() *client.Headers
func (GetOnenotePageOperationOptions) ToOData ¶
func (o GetOnenotePageOperationOptions) ToOData() *odata.Query
func (GetOnenotePageOperationOptions) ToQuery ¶
func (o GetOnenotePageOperationOptions) ToQuery() *client.QueryParams
type GetOnenotePagesCountOperationOptions ¶
type GetOnenotePagesCountOperationOptions struct { Filter *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Search *string }
func DefaultGetOnenotePagesCountOperationOptions ¶
func DefaultGetOnenotePagesCountOperationOptions() GetOnenotePagesCountOperationOptions
func (GetOnenotePagesCountOperationOptions) ToHeaders ¶
func (o GetOnenotePagesCountOperationOptions) ToHeaders() *client.Headers
func (GetOnenotePagesCountOperationOptions) ToOData ¶
func (o GetOnenotePagesCountOperationOptions) ToOData() *odata.Query
func (GetOnenotePagesCountOperationOptions) ToQuery ¶
func (o GetOnenotePagesCountOperationOptions) ToQuery() *client.QueryParams
type ListOnenotePagesCompleteResult ¶
type ListOnenotePagesCompleteResult struct { LatestHttpResponse *http.Response Items []stable.OnenotePage }
type ListOnenotePagesCustomPager ¶
func (*ListOnenotePagesCustomPager) NextPageLink ¶
func (p *ListOnenotePagesCustomPager) NextPageLink() *odata.Link
type ListOnenotePagesOperationOptions ¶
type ListOnenotePagesOperationOptions 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 DefaultListOnenotePagesOperationOptions ¶
func DefaultListOnenotePagesOperationOptions() ListOnenotePagesOperationOptions
func (ListOnenotePagesOperationOptions) ToHeaders ¶
func (o ListOnenotePagesOperationOptions) ToHeaders() *client.Headers
func (ListOnenotePagesOperationOptions) ToOData ¶
func (o ListOnenotePagesOperationOptions) ToOData() *odata.Query
func (ListOnenotePagesOperationOptions) ToQuery ¶
func (o ListOnenotePagesOperationOptions) ToQuery() *client.QueryParams
type OnenotePageClient ¶
func NewOnenotePageClientWithBaseURI ¶
func NewOnenotePageClientWithBaseURI(sdkApi sdkEnv.Api) (*OnenotePageClient, error)
func (OnenotePageClient) CopyOnenotePageToSection ¶
func (c OnenotePageClient) CopyOnenotePageToSection(ctx context.Context, id stable.MeOnenotePageId, input CopyOnenotePageToSectionRequest, options CopyOnenotePageToSectionOperationOptions) (result CopyOnenotePageToSectionOperationResponse, err error)
CopyOnenotePageToSection - 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 (OnenotePageClient) CreateOnenotePage ¶
func (c OnenotePageClient) CreateOnenotePage(ctx context.Context, input stable.OnenotePage, options CreateOnenotePageOperationOptions) (result CreateOnenotePageOperationResponse, err error)
CreateOnenotePage - Create onenotePage. Create a new OneNote page in the default section of the default notebook. To create a page in a different section in the default notebook, you can use the sectionName query parameter. Example: ../onenote/pages?sectionName=My%20section The POST /onenote/pages operation is used only to create pages in the current user's default notebook. If you're targeting other notebooks, you can create pages in a specified section.
func (OnenotePageClient) CreateOnenotePageOnenotePatchContent ¶
func (c OnenotePageClient) CreateOnenotePageOnenotePatchContent(ctx context.Context, id stable.MeOnenotePageId, input CreateOnenotePageOnenotePatchContentRequest, options CreateOnenotePageOnenotePatchContentOperationOptions) (result CreateOnenotePageOnenotePatchContentOperationResponse, err error)
CreateOnenotePageOnenotePatchContent - Invoke action onenotePatchContent
func (OnenotePageClient) DeleteOnenotePage ¶
func (c OnenotePageClient) DeleteOnenotePage(ctx context.Context, id stable.MeOnenotePageId, options DeleteOnenotePageOperationOptions) (result DeleteOnenotePageOperationResponse, err error)
DeleteOnenotePage - Delete page. Delete a OneNote page.
func (OnenotePageClient) GetOnenotePage ¶
func (c OnenotePageClient) GetOnenotePage(ctx context.Context, id stable.MeOnenotePageId, options GetOnenotePageOperationOptions) (result GetOnenotePageOperationResponse, err error)
GetOnenotePage - Get page. Retrieve the properties and relationships of a page object. Getting page information Access a page's metadata by page identifier: Getting page content You can use the page's content endpoint to get the HTML content of a page: The includeIDs=true query option is used to update pages.
func (OnenotePageClient) GetOnenotePagesCount ¶
func (c OnenotePageClient) GetOnenotePagesCount(ctx context.Context, options GetOnenotePagesCountOperationOptions) (result GetOnenotePagesCountOperationResponse, err error)
GetOnenotePagesCount - Get the number of the resource
func (OnenotePageClient) ListOnenotePages ¶
func (c OnenotePageClient) ListOnenotePages(ctx context.Context, options ListOnenotePagesOperationOptions) (result ListOnenotePagesOperationResponse, err error)
ListOnenotePages - List onenotePages. Retrieve a list of page objects.
func (OnenotePageClient) ListOnenotePagesComplete ¶
func (c OnenotePageClient) ListOnenotePagesComplete(ctx context.Context, options ListOnenotePagesOperationOptions) (ListOnenotePagesCompleteResult, error)
ListOnenotePagesComplete retrieves all the results into a single object
func (OnenotePageClient) ListOnenotePagesCompleteMatchingPredicate ¶
func (c OnenotePageClient) ListOnenotePagesCompleteMatchingPredicate(ctx context.Context, options ListOnenotePagesOperationOptions, predicate OnenotePageOperationPredicate) (result ListOnenotePagesCompleteResult, err error)
ListOnenotePagesCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (OnenotePageClient) UpdateOnenotePage ¶
func (c OnenotePageClient) UpdateOnenotePage(ctx context.Context, id stable.MeOnenotePageId, input stable.OnenotePage, options UpdateOnenotePageOperationOptions) (result UpdateOnenotePageOperationResponse, err error)
UpdateOnenotePage - Update the navigation property pages in me
type OnenotePageOperationPredicate ¶
type OnenotePageOperationPredicate struct { }
func (OnenotePageOperationPredicate) Matches ¶
func (p OnenotePageOperationPredicate) Matches(input stable.OnenotePage) bool
type UpdateOnenotePageOperationOptions ¶
type UpdateOnenotePageOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultUpdateOnenotePageOperationOptions ¶
func DefaultUpdateOnenotePageOperationOptions() UpdateOnenotePageOperationOptions
func (UpdateOnenotePageOperationOptions) ToHeaders ¶
func (o UpdateOnenotePageOperationOptions) ToHeaders() *client.Headers
func (UpdateOnenotePageOperationOptions) ToOData ¶
func (o UpdateOnenotePageOperationOptions) ToOData() *odata.Query
func (UpdateOnenotePageOperationOptions) ToQuery ¶
func (o UpdateOnenotePageOperationOptions) ToQuery() *client.QueryParams
Source Files ¶
- client.go
- method_copyonenotepagetosection.go
- method_createonenotepage.go
- method_createonenotepageonenotepatchcontent.go
- method_deleteonenotepage.go
- method_getonenotepage.go
- method_getonenotepagescount.go
- method_listonenotepages.go
- method_updateonenotepage.go
- model_copyonenotepagetosectionrequest.go
- model_createonenotepageonenotepatchcontentrequest.go
- predicates.go
- version.go