Documentation ¶
Index ¶
- type CopyOnenoteNotebookNotebookOperationOptions
- type CopyOnenoteNotebookNotebookOperationResponse
- type CopyOnenoteNotebookNotebookRequest
- type CreateOnenoteNotebookOperationOptions
- type CreateOnenoteNotebookOperationResponse
- type DeleteOnenoteNotebookOperationOptions
- type DeleteOnenoteNotebookOperationResponse
- type GetOnenoteNotebookOperationOptions
- type GetOnenoteNotebookOperationResponse
- type GetOnenoteNotebooksCountOperationOptions
- type GetOnenoteNotebooksCountOperationResponse
- type GetOnenoteNotebooksFromWebUrlOperationOptions
- type GetOnenoteNotebooksFromWebUrlOperationResponse
- type GetOnenoteNotebooksFromWebUrlRequest
- type ListOnenoteNotebooksCompleteResult
- type ListOnenoteNotebooksCustomPager
- type ListOnenoteNotebooksOperationOptions
- type ListOnenoteNotebooksOperationResponse
- type NotebookOperationPredicate
- type OnenoteNotebookClient
- func (c OnenoteNotebookClient) CopyOnenoteNotebookNotebook(ctx context.Context, id beta.UserIdOnenoteNotebookId, ...) (result CopyOnenoteNotebookNotebookOperationResponse, err error)
- func (c OnenoteNotebookClient) CreateOnenoteNotebook(ctx context.Context, id beta.UserId, input beta.Notebook, ...) (result CreateOnenoteNotebookOperationResponse, err error)
- func (c OnenoteNotebookClient) DeleteOnenoteNotebook(ctx context.Context, id beta.UserIdOnenoteNotebookId, ...) (result DeleteOnenoteNotebookOperationResponse, err error)
- func (c OnenoteNotebookClient) GetOnenoteNotebook(ctx context.Context, id beta.UserIdOnenoteNotebookId, ...) (result GetOnenoteNotebookOperationResponse, err error)
- func (c OnenoteNotebookClient) GetOnenoteNotebooksCount(ctx context.Context, id beta.UserId, ...) (result GetOnenoteNotebooksCountOperationResponse, err error)
- func (c OnenoteNotebookClient) GetOnenoteNotebooksFromWebUrl(ctx context.Context, id beta.UserId, ...) (result GetOnenoteNotebooksFromWebUrlOperationResponse, err error)
- func (c OnenoteNotebookClient) ListOnenoteNotebooks(ctx context.Context, id beta.UserId, ...) (result ListOnenoteNotebooksOperationResponse, err error)
- func (c OnenoteNotebookClient) ListOnenoteNotebooksComplete(ctx context.Context, id beta.UserId, ...) (ListOnenoteNotebooksCompleteResult, error)
- func (c OnenoteNotebookClient) ListOnenoteNotebooksCompleteMatchingPredicate(ctx context.Context, id beta.UserId, ...) (result ListOnenoteNotebooksCompleteResult, err error)
- func (c OnenoteNotebookClient) UpdateOnenoteNotebook(ctx context.Context, id beta.UserIdOnenoteNotebookId, input beta.Notebook, ...) (result UpdateOnenoteNotebookOperationResponse, err error)
- type UpdateOnenoteNotebookOperationOptions
- type UpdateOnenoteNotebookOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CopyOnenoteNotebookNotebookOperationOptions ¶
type CopyOnenoteNotebookNotebookOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCopyOnenoteNotebookNotebookOperationOptions ¶
func DefaultCopyOnenoteNotebookNotebookOperationOptions() CopyOnenoteNotebookNotebookOperationOptions
func (CopyOnenoteNotebookNotebookOperationOptions) ToHeaders ¶
func (o CopyOnenoteNotebookNotebookOperationOptions) ToHeaders() *client.Headers
func (CopyOnenoteNotebookNotebookOperationOptions) ToOData ¶
func (o CopyOnenoteNotebookNotebookOperationOptions) ToOData() *odata.Query
func (CopyOnenoteNotebookNotebookOperationOptions) ToQuery ¶
func (o CopyOnenoteNotebookNotebookOperationOptions) ToQuery() *client.QueryParams
type CopyOnenoteNotebookNotebookRequest ¶
type CopyOnenoteNotebookNotebookRequest struct { GroupId nullable.Type[string] `json:"groupId,omitempty"` NotebookFolder nullable.Type[string] `json:"notebookFolder,omitempty"` RenameAs nullable.Type[string] `json:"renameAs,omitempty"` SiteCollectionId nullable.Type[string] `json:"siteCollectionId,omitempty"` SiteId nullable.Type[string] `json:"siteId,omitempty"` }
type CreateOnenoteNotebookOperationOptions ¶
type CreateOnenoteNotebookOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateOnenoteNotebookOperationOptions ¶
func DefaultCreateOnenoteNotebookOperationOptions() CreateOnenoteNotebookOperationOptions
func (CreateOnenoteNotebookOperationOptions) ToHeaders ¶
func (o CreateOnenoteNotebookOperationOptions) ToHeaders() *client.Headers
func (CreateOnenoteNotebookOperationOptions) ToOData ¶
func (o CreateOnenoteNotebookOperationOptions) ToOData() *odata.Query
func (CreateOnenoteNotebookOperationOptions) ToQuery ¶
func (o CreateOnenoteNotebookOperationOptions) ToQuery() *client.QueryParams
type DeleteOnenoteNotebookOperationOptions ¶
type DeleteOnenoteNotebookOperationOptions struct { IfMatch *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultDeleteOnenoteNotebookOperationOptions ¶
func DefaultDeleteOnenoteNotebookOperationOptions() DeleteOnenoteNotebookOperationOptions
func (DeleteOnenoteNotebookOperationOptions) ToHeaders ¶
func (o DeleteOnenoteNotebookOperationOptions) ToHeaders() *client.Headers
func (DeleteOnenoteNotebookOperationOptions) ToOData ¶
func (o DeleteOnenoteNotebookOperationOptions) ToOData() *odata.Query
func (DeleteOnenoteNotebookOperationOptions) ToQuery ¶
func (o DeleteOnenoteNotebookOperationOptions) ToQuery() *client.QueryParams
type GetOnenoteNotebookOperationOptions ¶
type GetOnenoteNotebookOperationOptions struct { Expand *odata.Expand Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Select *[]string }
func DefaultGetOnenoteNotebookOperationOptions ¶
func DefaultGetOnenoteNotebookOperationOptions() GetOnenoteNotebookOperationOptions
func (GetOnenoteNotebookOperationOptions) ToHeaders ¶
func (o GetOnenoteNotebookOperationOptions) ToHeaders() *client.Headers
func (GetOnenoteNotebookOperationOptions) ToOData ¶
func (o GetOnenoteNotebookOperationOptions) ToOData() *odata.Query
func (GetOnenoteNotebookOperationOptions) ToQuery ¶
func (o GetOnenoteNotebookOperationOptions) ToQuery() *client.QueryParams
type GetOnenoteNotebooksCountOperationOptions ¶
type GetOnenoteNotebooksCountOperationOptions struct { Filter *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Search *string }
func DefaultGetOnenoteNotebooksCountOperationOptions ¶
func DefaultGetOnenoteNotebooksCountOperationOptions() GetOnenoteNotebooksCountOperationOptions
func (GetOnenoteNotebooksCountOperationOptions) ToHeaders ¶
func (o GetOnenoteNotebooksCountOperationOptions) ToHeaders() *client.Headers
func (GetOnenoteNotebooksCountOperationOptions) ToOData ¶
func (o GetOnenoteNotebooksCountOperationOptions) ToOData() *odata.Query
func (GetOnenoteNotebooksCountOperationOptions) ToQuery ¶
func (o GetOnenoteNotebooksCountOperationOptions) ToQuery() *client.QueryParams
type GetOnenoteNotebooksFromWebUrlOperationOptions ¶
type GetOnenoteNotebooksFromWebUrlOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultGetOnenoteNotebooksFromWebUrlOperationOptions ¶
func DefaultGetOnenoteNotebooksFromWebUrlOperationOptions() GetOnenoteNotebooksFromWebUrlOperationOptions
func (GetOnenoteNotebooksFromWebUrlOperationOptions) ToHeaders ¶
func (o GetOnenoteNotebooksFromWebUrlOperationOptions) ToHeaders() *client.Headers
func (GetOnenoteNotebooksFromWebUrlOperationOptions) ToOData ¶
func (o GetOnenoteNotebooksFromWebUrlOperationOptions) ToOData() *odata.Query
func (GetOnenoteNotebooksFromWebUrlOperationOptions) ToQuery ¶
func (o GetOnenoteNotebooksFromWebUrlOperationOptions) ToQuery() *client.QueryParams
type ListOnenoteNotebooksCustomPager ¶
func (*ListOnenoteNotebooksCustomPager) NextPageLink ¶
func (p *ListOnenoteNotebooksCustomPager) NextPageLink() *odata.Link
type ListOnenoteNotebooksOperationOptions ¶
type ListOnenoteNotebooksOperationOptions 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 DefaultListOnenoteNotebooksOperationOptions ¶
func DefaultListOnenoteNotebooksOperationOptions() ListOnenoteNotebooksOperationOptions
func (ListOnenoteNotebooksOperationOptions) ToHeaders ¶
func (o ListOnenoteNotebooksOperationOptions) ToHeaders() *client.Headers
func (ListOnenoteNotebooksOperationOptions) ToOData ¶
func (o ListOnenoteNotebooksOperationOptions) ToOData() *odata.Query
func (ListOnenoteNotebooksOperationOptions) ToQuery ¶
func (o ListOnenoteNotebooksOperationOptions) ToQuery() *client.QueryParams
type NotebookOperationPredicate ¶
type NotebookOperationPredicate struct { }
type OnenoteNotebookClient ¶
func NewOnenoteNotebookClientWithBaseURI ¶
func NewOnenoteNotebookClientWithBaseURI(sdkApi sdkEnv.Api) (*OnenoteNotebookClient, error)
func (OnenoteNotebookClient) CopyOnenoteNotebookNotebook ¶
func (c OnenoteNotebookClient) CopyOnenoteNotebookNotebook(ctx context.Context, id beta.UserIdOnenoteNotebookId, input CopyOnenoteNotebookNotebookRequest, options CopyOnenoteNotebookNotebookOperationOptions) (result CopyOnenoteNotebookNotebookOperationResponse, err error)
CopyOnenoteNotebookNotebook - Invoke action copyNotebook. Copies a notebook to the Notebooks folder in the destination Documents library. The folder is created if it doesn't exist. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result.
func (OnenoteNotebookClient) CreateOnenoteNotebook ¶
func (c OnenoteNotebookClient) CreateOnenoteNotebook(ctx context.Context, id beta.UserId, input beta.Notebook, options CreateOnenoteNotebookOperationOptions) (result CreateOnenoteNotebookOperationResponse, err error)
CreateOnenoteNotebook - Create new navigation property to notebooks for users
func (OnenoteNotebookClient) DeleteOnenoteNotebook ¶
func (c OnenoteNotebookClient) DeleteOnenoteNotebook(ctx context.Context, id beta.UserIdOnenoteNotebookId, options DeleteOnenoteNotebookOperationOptions) (result DeleteOnenoteNotebookOperationResponse, err error)
DeleteOnenoteNotebook - Delete navigation property notebooks for users
func (OnenoteNotebookClient) GetOnenoteNotebook ¶
func (c OnenoteNotebookClient) GetOnenoteNotebook(ctx context.Context, id beta.UserIdOnenoteNotebookId, options GetOnenoteNotebookOperationOptions) (result GetOnenoteNotebookOperationResponse, err error)
GetOnenoteNotebook - Get notebooks from users. The collection of OneNote notebooks that are owned by the user or group. Read-only. Nullable.
func (OnenoteNotebookClient) GetOnenoteNotebooksCount ¶
func (c OnenoteNotebookClient) GetOnenoteNotebooksCount(ctx context.Context, id beta.UserId, options GetOnenoteNotebooksCountOperationOptions) (result GetOnenoteNotebooksCountOperationResponse, err error)
GetOnenoteNotebooksCount - Get the number of the resource
func (OnenoteNotebookClient) GetOnenoteNotebooksFromWebUrl ¶
func (c OnenoteNotebookClient) GetOnenoteNotebooksFromWebUrl(ctx context.Context, id beta.UserId, input GetOnenoteNotebooksFromWebUrlRequest, options GetOnenoteNotebooksFromWebUrlOperationOptions) (result GetOnenoteNotebooksFromWebUrlOperationResponse, err error)
GetOnenoteNotebooksFromWebUrl - Invoke action getNotebookFromWebUrl. Retrieve the properties and relationships of a notebook object by using its URL path. The location can be user notebooks on Microsoft 365, group notebooks, or SharePoint site-hosted team notebooks on Microsoft 365.
func (OnenoteNotebookClient) ListOnenoteNotebooks ¶
func (c OnenoteNotebookClient) ListOnenoteNotebooks(ctx context.Context, id beta.UserId, options ListOnenoteNotebooksOperationOptions) (result ListOnenoteNotebooksOperationResponse, err error)
ListOnenoteNotebooks - Get notebooks from users. The collection of OneNote notebooks that are owned by the user or group. Read-only. Nullable.
func (OnenoteNotebookClient) ListOnenoteNotebooksComplete ¶
func (c OnenoteNotebookClient) ListOnenoteNotebooksComplete(ctx context.Context, id beta.UserId, options ListOnenoteNotebooksOperationOptions) (ListOnenoteNotebooksCompleteResult, error)
ListOnenoteNotebooksComplete retrieves all the results into a single object
func (OnenoteNotebookClient) ListOnenoteNotebooksCompleteMatchingPredicate ¶
func (c OnenoteNotebookClient) ListOnenoteNotebooksCompleteMatchingPredicate(ctx context.Context, id beta.UserId, options ListOnenoteNotebooksOperationOptions, predicate NotebookOperationPredicate) (result ListOnenoteNotebooksCompleteResult, err error)
ListOnenoteNotebooksCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (OnenoteNotebookClient) UpdateOnenoteNotebook ¶
func (c OnenoteNotebookClient) UpdateOnenoteNotebook(ctx context.Context, id beta.UserIdOnenoteNotebookId, input beta.Notebook, options UpdateOnenoteNotebookOperationOptions) (result UpdateOnenoteNotebookOperationResponse, err error)
UpdateOnenoteNotebook - Update the navigation property notebooks in users
type UpdateOnenoteNotebookOperationOptions ¶
type UpdateOnenoteNotebookOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultUpdateOnenoteNotebookOperationOptions ¶
func DefaultUpdateOnenoteNotebookOperationOptions() UpdateOnenoteNotebookOperationOptions
func (UpdateOnenoteNotebookOperationOptions) ToHeaders ¶
func (o UpdateOnenoteNotebookOperationOptions) ToHeaders() *client.Headers
func (UpdateOnenoteNotebookOperationOptions) ToOData ¶
func (o UpdateOnenoteNotebookOperationOptions) ToOData() *odata.Query
func (UpdateOnenoteNotebookOperationOptions) ToQuery ¶
func (o UpdateOnenoteNotebookOperationOptions) ToQuery() *client.QueryParams
Source Files ¶
- client.go
- method_copyonenotenotebooknotebook.go
- method_createonenotenotebook.go
- method_deleteonenotenotebook.go
- method_getonenotenotebook.go
- method_getonenotenotebookscount.go
- method_getonenotenotebooksfromweburl.go
- method_listonenotenotebooks.go
- method_updateonenotenotebook.go
- model_copyonenotenotebooknotebookrequest.go
- model_getonenotenotebooksfromweburlrequest.go
- predicates.go
- version.go