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.UserIdOnenotePageId, ...) (result CopyOnenotePageToSectionOperationResponse, err error)
- func (c OnenotePageClient) CreateOnenotePage(ctx context.Context, id stable.UserId, input stable.OnenotePage, ...) (result CreateOnenotePageOperationResponse, err error)
- func (c OnenotePageClient) CreateOnenotePageOnenotePatchContent(ctx context.Context, id stable.UserIdOnenotePageId, ...) (result CreateOnenotePageOnenotePatchContentOperationResponse, err error)
- func (c OnenotePageClient) DeleteOnenotePage(ctx context.Context, id stable.UserIdOnenotePageId, ...) (result DeleteOnenotePageOperationResponse, err error)
- func (c OnenotePageClient) GetOnenotePage(ctx context.Context, id stable.UserIdOnenotePageId, ...) (result GetOnenotePageOperationResponse, err error)
- func (c OnenotePageClient) GetOnenotePagesCount(ctx context.Context, id stable.UserId, ...) (result GetOnenotePagesCountOperationResponse, err error)
- func (c OnenotePageClient) ListOnenotePages(ctx context.Context, id stable.UserId, ...) (result ListOnenotePagesOperationResponse, err error)
- func (c OnenotePageClient) ListOnenotePagesComplete(ctx context.Context, id stable.UserId, ...) (ListOnenotePagesCompleteResult, error)
- func (c OnenotePageClient) ListOnenotePagesCompleteMatchingPredicate(ctx context.Context, id stable.UserId, ...) (result ListOnenotePagesCompleteResult, err error)
- func (c OnenotePageClient) UpdateOnenotePage(ctx context.Context, id stable.UserIdOnenotePageId, 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.UserIdOnenotePageId, 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, id stable.UserId, input stable.OnenotePage, options CreateOnenotePageOperationOptions) (result CreateOnenotePageOperationResponse, err error)
CreateOnenotePage - Create new navigation property to pages for users
func (OnenotePageClient) CreateOnenotePageOnenotePatchContent ¶
func (c OnenotePageClient) CreateOnenotePageOnenotePatchContent(ctx context.Context, id stable.UserIdOnenotePageId, input CreateOnenotePageOnenotePatchContentRequest, options CreateOnenotePageOnenotePatchContentOperationOptions) (result CreateOnenotePageOnenotePatchContentOperationResponse, err error)
CreateOnenotePageOnenotePatchContent - Invoke action onenotePatchContent
func (OnenotePageClient) DeleteOnenotePage ¶
func (c OnenotePageClient) DeleteOnenotePage(ctx context.Context, id stable.UserIdOnenotePageId, options DeleteOnenotePageOperationOptions) (result DeleteOnenotePageOperationResponse, err error)
DeleteOnenotePage - Delete navigation property pages for users
func (OnenotePageClient) GetOnenotePage ¶
func (c OnenotePageClient) GetOnenotePage(ctx context.Context, id stable.UserIdOnenotePageId, options GetOnenotePageOperationOptions) (result GetOnenotePageOperationResponse, err error)
GetOnenotePage - Get pages from users. The pages in all OneNote notebooks that are owned by the user or group. Read-only. Nullable.
func (OnenotePageClient) GetOnenotePagesCount ¶
func (c OnenotePageClient) GetOnenotePagesCount(ctx context.Context, id stable.UserId, options GetOnenotePagesCountOperationOptions) (result GetOnenotePagesCountOperationResponse, err error)
GetOnenotePagesCount - Get the number of the resource
func (OnenotePageClient) ListOnenotePages ¶
func (c OnenotePageClient) ListOnenotePages(ctx context.Context, id stable.UserId, options ListOnenotePagesOperationOptions) (result ListOnenotePagesOperationResponse, err error)
ListOnenotePages - Get pages from users. The pages in all OneNote notebooks that are owned by the user or group. Read-only. Nullable.
func (OnenotePageClient) ListOnenotePagesComplete ¶
func (c OnenotePageClient) ListOnenotePagesComplete(ctx context.Context, id stable.UserId, options ListOnenotePagesOperationOptions) (ListOnenotePagesCompleteResult, error)
ListOnenotePagesComplete retrieves all the results into a single object
func (OnenotePageClient) ListOnenotePagesCompleteMatchingPredicate ¶
func (c OnenotePageClient) ListOnenotePagesCompleteMatchingPredicate(ctx context.Context, id stable.UserId, 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.UserIdOnenotePageId, input stable.OnenotePage, options UpdateOnenotePageOperationOptions) (result UpdateOnenotePageOperationResponse, err error)
UpdateOnenotePage - Update the navigation property pages in users
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