Documentation ¶
Index ¶
- type CopyOnenoteSectionToNotebookOperationOptions
- type CopyOnenoteSectionToNotebookOperationResponse
- type CopyOnenoteSectionToNotebookRequest
- type CopyOnenoteSectionToSectionGroupOperationOptions
- type CopyOnenoteSectionToSectionGroupOperationResponse
- type CopyOnenoteSectionToSectionGroupRequest
- type CreateOnenoteSectionOperationOptions
- type CreateOnenoteSectionOperationResponse
- type DeleteOnenoteSectionOperationOptions
- type DeleteOnenoteSectionOperationResponse
- type GetOnenoteSectionOperationOptions
- type GetOnenoteSectionOperationResponse
- type GetOnenoteSectionsCountOperationOptions
- type GetOnenoteSectionsCountOperationResponse
- type ListOnenoteSectionsCompleteResult
- type ListOnenoteSectionsCustomPager
- type ListOnenoteSectionsOperationOptions
- type ListOnenoteSectionsOperationResponse
- type OnenoteSectionClient
- func (c OnenoteSectionClient) CopyOnenoteSectionToNotebook(ctx context.Context, id beta.GroupIdOnenoteSectionId, ...) (result CopyOnenoteSectionToNotebookOperationResponse, err error)
- func (c OnenoteSectionClient) CopyOnenoteSectionToSectionGroup(ctx context.Context, id beta.GroupIdOnenoteSectionId, ...) (result CopyOnenoteSectionToSectionGroupOperationResponse, err error)
- func (c OnenoteSectionClient) CreateOnenoteSection(ctx context.Context, id beta.GroupId, input beta.OnenoteSection, ...) (result CreateOnenoteSectionOperationResponse, err error)
- func (c OnenoteSectionClient) DeleteOnenoteSection(ctx context.Context, id beta.GroupIdOnenoteSectionId, ...) (result DeleteOnenoteSectionOperationResponse, err error)
- func (c OnenoteSectionClient) GetOnenoteSection(ctx context.Context, id beta.GroupIdOnenoteSectionId, ...) (result GetOnenoteSectionOperationResponse, err error)
- func (c OnenoteSectionClient) GetOnenoteSectionsCount(ctx context.Context, id beta.GroupId, ...) (result GetOnenoteSectionsCountOperationResponse, err error)
- func (c OnenoteSectionClient) ListOnenoteSections(ctx context.Context, id beta.GroupId, ...) (result ListOnenoteSectionsOperationResponse, err error)
- func (c OnenoteSectionClient) ListOnenoteSectionsComplete(ctx context.Context, id beta.GroupId, ...) (ListOnenoteSectionsCompleteResult, error)
- func (c OnenoteSectionClient) ListOnenoteSectionsCompleteMatchingPredicate(ctx context.Context, id beta.GroupId, ...) (result ListOnenoteSectionsCompleteResult, err error)
- func (c OnenoteSectionClient) UpdateOnenoteSection(ctx context.Context, id beta.GroupIdOnenoteSectionId, ...) (result UpdateOnenoteSectionOperationResponse, err error)
- type OnenoteSectionOperationPredicate
- type UpdateOnenoteSectionOperationOptions
- type UpdateOnenoteSectionOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CopyOnenoteSectionToNotebookOperationOptions ¶
type CopyOnenoteSectionToNotebookOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCopyOnenoteSectionToNotebookOperationOptions ¶
func DefaultCopyOnenoteSectionToNotebookOperationOptions() CopyOnenoteSectionToNotebookOperationOptions
func (CopyOnenoteSectionToNotebookOperationOptions) ToHeaders ¶
func (o CopyOnenoteSectionToNotebookOperationOptions) ToHeaders() *client.Headers
func (CopyOnenoteSectionToNotebookOperationOptions) ToOData ¶
func (o CopyOnenoteSectionToNotebookOperationOptions) ToOData() *odata.Query
func (CopyOnenoteSectionToNotebookOperationOptions) ToQuery ¶
func (o CopyOnenoteSectionToNotebookOperationOptions) ToQuery() *client.QueryParams
type CopyOnenoteSectionToNotebookRequest ¶
type CopyOnenoteSectionToNotebookRequest struct { GroupId nullable.Type[string] `json:"groupId,omitempty"` Id nullable.Type[string] `json:"id,omitempty"` RenameAs nullable.Type[string] `json:"renameAs,omitempty"` SiteCollectionId nullable.Type[string] `json:"siteCollectionId,omitempty"` SiteId nullable.Type[string] `json:"siteId,omitempty"` }
type CopyOnenoteSectionToSectionGroupOperationOptions ¶
type CopyOnenoteSectionToSectionGroupOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCopyOnenoteSectionToSectionGroupOperationOptions ¶
func DefaultCopyOnenoteSectionToSectionGroupOperationOptions() CopyOnenoteSectionToSectionGroupOperationOptions
func (CopyOnenoteSectionToSectionGroupOperationOptions) ToHeaders ¶
func (o CopyOnenoteSectionToSectionGroupOperationOptions) ToHeaders() *client.Headers
func (CopyOnenoteSectionToSectionGroupOperationOptions) ToOData ¶
func (o CopyOnenoteSectionToSectionGroupOperationOptions) ToOData() *odata.Query
func (CopyOnenoteSectionToSectionGroupOperationOptions) ToQuery ¶
func (o CopyOnenoteSectionToSectionGroupOperationOptions) ToQuery() *client.QueryParams
type CopyOnenoteSectionToSectionGroupRequest ¶
type CopyOnenoteSectionToSectionGroupRequest struct { GroupId nullable.Type[string] `json:"groupId,omitempty"` Id nullable.Type[string] `json:"id,omitempty"` RenameAs nullable.Type[string] `json:"renameAs,omitempty"` SiteCollectionId nullable.Type[string] `json:"siteCollectionId,omitempty"` SiteId nullable.Type[string] `json:"siteId,omitempty"` }
type CreateOnenoteSectionOperationOptions ¶
type CreateOnenoteSectionOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateOnenoteSectionOperationOptions ¶
func DefaultCreateOnenoteSectionOperationOptions() CreateOnenoteSectionOperationOptions
func (CreateOnenoteSectionOperationOptions) ToHeaders ¶
func (o CreateOnenoteSectionOperationOptions) ToHeaders() *client.Headers
func (CreateOnenoteSectionOperationOptions) ToOData ¶
func (o CreateOnenoteSectionOperationOptions) ToOData() *odata.Query
func (CreateOnenoteSectionOperationOptions) ToQuery ¶
func (o CreateOnenoteSectionOperationOptions) ToQuery() *client.QueryParams
type DeleteOnenoteSectionOperationOptions ¶
type DeleteOnenoteSectionOperationOptions struct { IfMatch *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultDeleteOnenoteSectionOperationOptions ¶
func DefaultDeleteOnenoteSectionOperationOptions() DeleteOnenoteSectionOperationOptions
func (DeleteOnenoteSectionOperationOptions) ToHeaders ¶
func (o DeleteOnenoteSectionOperationOptions) ToHeaders() *client.Headers
func (DeleteOnenoteSectionOperationOptions) ToOData ¶
func (o DeleteOnenoteSectionOperationOptions) ToOData() *odata.Query
func (DeleteOnenoteSectionOperationOptions) ToQuery ¶
func (o DeleteOnenoteSectionOperationOptions) ToQuery() *client.QueryParams
type GetOnenoteSectionOperationOptions ¶
type GetOnenoteSectionOperationOptions struct { Expand *odata.Expand Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Select *[]string }
func DefaultGetOnenoteSectionOperationOptions ¶
func DefaultGetOnenoteSectionOperationOptions() GetOnenoteSectionOperationOptions
func (GetOnenoteSectionOperationOptions) ToHeaders ¶
func (o GetOnenoteSectionOperationOptions) ToHeaders() *client.Headers
func (GetOnenoteSectionOperationOptions) ToOData ¶
func (o GetOnenoteSectionOperationOptions) ToOData() *odata.Query
func (GetOnenoteSectionOperationOptions) ToQuery ¶
func (o GetOnenoteSectionOperationOptions) ToQuery() *client.QueryParams
type GetOnenoteSectionsCountOperationOptions ¶
type GetOnenoteSectionsCountOperationOptions struct { Filter *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Search *string }
func DefaultGetOnenoteSectionsCountOperationOptions ¶
func DefaultGetOnenoteSectionsCountOperationOptions() GetOnenoteSectionsCountOperationOptions
func (GetOnenoteSectionsCountOperationOptions) ToHeaders ¶
func (o GetOnenoteSectionsCountOperationOptions) ToHeaders() *client.Headers
func (GetOnenoteSectionsCountOperationOptions) ToOData ¶
func (o GetOnenoteSectionsCountOperationOptions) ToOData() *odata.Query
func (GetOnenoteSectionsCountOperationOptions) ToQuery ¶
func (o GetOnenoteSectionsCountOperationOptions) ToQuery() *client.QueryParams
type ListOnenoteSectionsCompleteResult ¶
type ListOnenoteSectionsCompleteResult struct { LatestHttpResponse *http.Response Items []beta.OnenoteSection }
type ListOnenoteSectionsCustomPager ¶
func (*ListOnenoteSectionsCustomPager) NextPageLink ¶
func (p *ListOnenoteSectionsCustomPager) NextPageLink() *odata.Link
type ListOnenoteSectionsOperationOptions ¶
type ListOnenoteSectionsOperationOptions 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 DefaultListOnenoteSectionsOperationOptions ¶
func DefaultListOnenoteSectionsOperationOptions() ListOnenoteSectionsOperationOptions
func (ListOnenoteSectionsOperationOptions) ToHeaders ¶
func (o ListOnenoteSectionsOperationOptions) ToHeaders() *client.Headers
func (ListOnenoteSectionsOperationOptions) ToOData ¶
func (o ListOnenoteSectionsOperationOptions) ToOData() *odata.Query
func (ListOnenoteSectionsOperationOptions) ToQuery ¶
func (o ListOnenoteSectionsOperationOptions) ToQuery() *client.QueryParams
type OnenoteSectionClient ¶
func NewOnenoteSectionClientWithBaseURI ¶
func NewOnenoteSectionClientWithBaseURI(sdkApi sdkEnv.Api) (*OnenoteSectionClient, error)
func (OnenoteSectionClient) CopyOnenoteSectionToNotebook ¶
func (c OnenoteSectionClient) CopyOnenoteSectionToNotebook(ctx context.Context, id beta.GroupIdOnenoteSectionId, input CopyOnenoteSectionToNotebookRequest, options CopyOnenoteSectionToNotebookOperationOptions) (result CopyOnenoteSectionToNotebookOperationResponse, err error)
CopyOnenoteSectionToNotebook - Invoke action copyToNotebook. Copies a section to a specific notebook. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result.
func (OnenoteSectionClient) CopyOnenoteSectionToSectionGroup ¶
func (c OnenoteSectionClient) CopyOnenoteSectionToSectionGroup(ctx context.Context, id beta.GroupIdOnenoteSectionId, input CopyOnenoteSectionToSectionGroupRequest, options CopyOnenoteSectionToSectionGroupOperationOptions) (result CopyOnenoteSectionToSectionGroupOperationResponse, err error)
CopyOnenoteSectionToSectionGroup - Invoke action copyToSectionGroup. Copies a section to a specific section group. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result.
func (OnenoteSectionClient) CreateOnenoteSection ¶
func (c OnenoteSectionClient) CreateOnenoteSection(ctx context.Context, id beta.GroupId, input beta.OnenoteSection, options CreateOnenoteSectionOperationOptions) (result CreateOnenoteSectionOperationResponse, err error)
CreateOnenoteSection - Create new navigation property to sections for groups
func (OnenoteSectionClient) DeleteOnenoteSection ¶
func (c OnenoteSectionClient) DeleteOnenoteSection(ctx context.Context, id beta.GroupIdOnenoteSectionId, options DeleteOnenoteSectionOperationOptions) (result DeleteOnenoteSectionOperationResponse, err error)
DeleteOnenoteSection - Delete navigation property sections for groups
func (OnenoteSectionClient) GetOnenoteSection ¶
func (c OnenoteSectionClient) GetOnenoteSection(ctx context.Context, id beta.GroupIdOnenoteSectionId, options GetOnenoteSectionOperationOptions) (result GetOnenoteSectionOperationResponse, err error)
GetOnenoteSection - Get sections from groups. The sections in all OneNote notebooks that are owned by the user or group. Read-only. Nullable.
func (OnenoteSectionClient) GetOnenoteSectionsCount ¶
func (c OnenoteSectionClient) GetOnenoteSectionsCount(ctx context.Context, id beta.GroupId, options GetOnenoteSectionsCountOperationOptions) (result GetOnenoteSectionsCountOperationResponse, err error)
GetOnenoteSectionsCount - Get the number of the resource
func (OnenoteSectionClient) ListOnenoteSections ¶
func (c OnenoteSectionClient) ListOnenoteSections(ctx context.Context, id beta.GroupId, options ListOnenoteSectionsOperationOptions) (result ListOnenoteSectionsOperationResponse, err error)
ListOnenoteSections - Get sections from groups. The sections in all OneNote notebooks that are owned by the user or group. Read-only. Nullable.
func (OnenoteSectionClient) ListOnenoteSectionsComplete ¶
func (c OnenoteSectionClient) ListOnenoteSectionsComplete(ctx context.Context, id beta.GroupId, options ListOnenoteSectionsOperationOptions) (ListOnenoteSectionsCompleteResult, error)
ListOnenoteSectionsComplete retrieves all the results into a single object
func (OnenoteSectionClient) ListOnenoteSectionsCompleteMatchingPredicate ¶
func (c OnenoteSectionClient) ListOnenoteSectionsCompleteMatchingPredicate(ctx context.Context, id beta.GroupId, options ListOnenoteSectionsOperationOptions, predicate OnenoteSectionOperationPredicate) (result ListOnenoteSectionsCompleteResult, err error)
ListOnenoteSectionsCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (OnenoteSectionClient) UpdateOnenoteSection ¶
func (c OnenoteSectionClient) UpdateOnenoteSection(ctx context.Context, id beta.GroupIdOnenoteSectionId, input beta.OnenoteSection, options UpdateOnenoteSectionOperationOptions) (result UpdateOnenoteSectionOperationResponse, err error)
UpdateOnenoteSection - Update the navigation property sections in groups
type OnenoteSectionOperationPredicate ¶
type OnenoteSectionOperationPredicate struct { }
func (OnenoteSectionOperationPredicate) Matches ¶
func (p OnenoteSectionOperationPredicate) Matches(input beta.OnenoteSection) bool
type UpdateOnenoteSectionOperationOptions ¶
type UpdateOnenoteSectionOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultUpdateOnenoteSectionOperationOptions ¶
func DefaultUpdateOnenoteSectionOperationOptions() UpdateOnenoteSectionOperationOptions
func (UpdateOnenoteSectionOperationOptions) ToHeaders ¶
func (o UpdateOnenoteSectionOperationOptions) ToHeaders() *client.Headers
func (UpdateOnenoteSectionOperationOptions) ToOData ¶
func (o UpdateOnenoteSectionOperationOptions) ToOData() *odata.Query
func (UpdateOnenoteSectionOperationOptions) ToQuery ¶
func (o UpdateOnenoteSectionOperationOptions) ToQuery() *client.QueryParams
Source Files ¶
- client.go
- method_copyonenotesectiontonotebook.go
- method_copyonenotesectiontosectiongroup.go
- method_createonenotesection.go
- method_deleteonenotesection.go
- method_getonenotesection.go
- method_getonenotesectionscount.go
- method_listonenotesections.go
- method_updateonenotesection.go
- model_copyonenotesectiontonotebookrequest.go
- model_copyonenotesectiontosectiongrouprequest.go
- predicates.go
- version.go