Documentation ¶
Index ¶
- type CopyMailFolderOperationOptions
- type CopyMailFolderOperationResponse
- type CopyMailFolderRequest
- type CreateMailFolderOperationOptions
- type CreateMailFolderOperationResponse
- type DeleteMailFolderOperationOptions
- type DeleteMailFolderOperationResponse
- type GetMailFolderOperationOptions
- type GetMailFolderOperationResponse
- type GetMailFoldersCountOperationOptions
- type GetMailFoldersCountOperationResponse
- type ListMailFoldersCompleteResult
- type ListMailFoldersCustomPager
- type ListMailFoldersOperationOptions
- type ListMailFoldersOperationResponse
- type MailFolderClient
- func (c MailFolderClient) CopyMailFolder(ctx context.Context, id stable.MeMailFolderId, input CopyMailFolderRequest, ...) (result CopyMailFolderOperationResponse, err error)
- func (c MailFolderClient) CreateMailFolder(ctx context.Context, input stable.MailFolder, ...) (result CreateMailFolderOperationResponse, err error)
- func (c MailFolderClient) DeleteMailFolder(ctx context.Context, id stable.MeMailFolderId, ...) (result DeleteMailFolderOperationResponse, err error)
- func (c MailFolderClient) GetMailFolder(ctx context.Context, id stable.MeMailFolderId, ...) (result GetMailFolderOperationResponse, err error)
- func (c MailFolderClient) GetMailFoldersCount(ctx context.Context, options GetMailFoldersCountOperationOptions) (result GetMailFoldersCountOperationResponse, err error)
- func (c MailFolderClient) ListMailFolders(ctx context.Context, options ListMailFoldersOperationOptions) (result ListMailFoldersOperationResponse, err error)
- func (c MailFolderClient) ListMailFoldersComplete(ctx context.Context, options ListMailFoldersOperationOptions) (ListMailFoldersCompleteResult, error)
- func (c MailFolderClient) ListMailFoldersCompleteMatchingPredicate(ctx context.Context, options ListMailFoldersOperationOptions, ...) (result ListMailFoldersCompleteResult, err error)
- func (c MailFolderClient) MoveMailFolder(ctx context.Context, id stable.MeMailFolderId, input MoveMailFolderRequest, ...) (result MoveMailFolderOperationResponse, err error)
- func (c MailFolderClient) UpdateMailFolder(ctx context.Context, id stable.MeMailFolderId, input stable.MailFolder, ...) (result UpdateMailFolderOperationResponse, err error)
- type MailFolderOperationPredicate
- type MoveMailFolderOperationOptions
- type MoveMailFolderOperationResponse
- type MoveMailFolderRequest
- type UpdateMailFolderOperationOptions
- type UpdateMailFolderOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CopyMailFolderOperationOptions ¶
type CopyMailFolderOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCopyMailFolderOperationOptions ¶
func DefaultCopyMailFolderOperationOptions() CopyMailFolderOperationOptions
func (CopyMailFolderOperationOptions) ToHeaders ¶
func (o CopyMailFolderOperationOptions) ToHeaders() *client.Headers
func (CopyMailFolderOperationOptions) ToOData ¶
func (o CopyMailFolderOperationOptions) ToOData() *odata.Query
func (CopyMailFolderOperationOptions) ToQuery ¶
func (o CopyMailFolderOperationOptions) ToQuery() *client.QueryParams
type CopyMailFolderRequest ¶
type CopyMailFolderRequest struct {
DestinationId *string `json:"DestinationId,omitempty"`
}
type CreateMailFolderOperationOptions ¶
type CreateMailFolderOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateMailFolderOperationOptions ¶
func DefaultCreateMailFolderOperationOptions() CreateMailFolderOperationOptions
func (CreateMailFolderOperationOptions) ToHeaders ¶
func (o CreateMailFolderOperationOptions) ToHeaders() *client.Headers
func (CreateMailFolderOperationOptions) ToOData ¶
func (o CreateMailFolderOperationOptions) ToOData() *odata.Query
func (CreateMailFolderOperationOptions) ToQuery ¶
func (o CreateMailFolderOperationOptions) ToQuery() *client.QueryParams
type DeleteMailFolderOperationOptions ¶
type DeleteMailFolderOperationOptions struct { IfMatch *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultDeleteMailFolderOperationOptions ¶
func DefaultDeleteMailFolderOperationOptions() DeleteMailFolderOperationOptions
func (DeleteMailFolderOperationOptions) ToHeaders ¶
func (o DeleteMailFolderOperationOptions) ToHeaders() *client.Headers
func (DeleteMailFolderOperationOptions) ToOData ¶
func (o DeleteMailFolderOperationOptions) ToOData() *odata.Query
func (DeleteMailFolderOperationOptions) ToQuery ¶
func (o DeleteMailFolderOperationOptions) ToQuery() *client.QueryParams
type GetMailFolderOperationOptions ¶
type GetMailFolderOperationOptions struct { Expand *odata.Expand Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Select *[]string }
func DefaultGetMailFolderOperationOptions ¶
func DefaultGetMailFolderOperationOptions() GetMailFolderOperationOptions
func (GetMailFolderOperationOptions) ToHeaders ¶
func (o GetMailFolderOperationOptions) ToHeaders() *client.Headers
func (GetMailFolderOperationOptions) ToOData ¶
func (o GetMailFolderOperationOptions) ToOData() *odata.Query
func (GetMailFolderOperationOptions) ToQuery ¶
func (o GetMailFolderOperationOptions) ToQuery() *client.QueryParams
type GetMailFoldersCountOperationOptions ¶
type GetMailFoldersCountOperationOptions struct { Filter *string IncludeHiddenFolders *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Search *string }
func DefaultGetMailFoldersCountOperationOptions ¶
func DefaultGetMailFoldersCountOperationOptions() GetMailFoldersCountOperationOptions
func (GetMailFoldersCountOperationOptions) ToHeaders ¶
func (o GetMailFoldersCountOperationOptions) ToHeaders() *client.Headers
func (GetMailFoldersCountOperationOptions) ToOData ¶
func (o GetMailFoldersCountOperationOptions) ToOData() *odata.Query
func (GetMailFoldersCountOperationOptions) ToQuery ¶
func (o GetMailFoldersCountOperationOptions) ToQuery() *client.QueryParams
type ListMailFoldersCompleteResult ¶
type ListMailFoldersCompleteResult struct { LatestHttpResponse *http.Response Items []stable.MailFolder }
type ListMailFoldersCustomPager ¶
func (*ListMailFoldersCustomPager) NextPageLink ¶
func (p *ListMailFoldersCustomPager) NextPageLink() *odata.Link
type ListMailFoldersOperationOptions ¶
type ListMailFoldersOperationOptions struct { Count *bool Expand *odata.Expand Filter *string IncludeHiddenFolders *string Metadata *odata.Metadata OrderBy *odata.OrderBy RetryFunc client.RequestRetryFunc Search *string Select *[]string Skip *int64 Top *int64 }
func DefaultListMailFoldersOperationOptions ¶
func DefaultListMailFoldersOperationOptions() ListMailFoldersOperationOptions
func (ListMailFoldersOperationOptions) ToHeaders ¶
func (o ListMailFoldersOperationOptions) ToHeaders() *client.Headers
func (ListMailFoldersOperationOptions) ToOData ¶
func (o ListMailFoldersOperationOptions) ToOData() *odata.Query
func (ListMailFoldersOperationOptions) ToQuery ¶
func (o ListMailFoldersOperationOptions) ToQuery() *client.QueryParams
type MailFolderClient ¶
func NewMailFolderClientWithBaseURI ¶
func NewMailFolderClientWithBaseURI(sdkApi sdkEnv.Api) (*MailFolderClient, error)
func (MailFolderClient) CopyMailFolder ¶
func (c MailFolderClient) CopyMailFolder(ctx context.Context, id stable.MeMailFolderId, input CopyMailFolderRequest, options CopyMailFolderOperationOptions) (result CopyMailFolderOperationResponse, err error)
CopyMailFolder - Invoke action copy. Copy a mailfolder and its contents to another mailfolder.
func (MailFolderClient) CreateMailFolder ¶
func (c MailFolderClient) CreateMailFolder(ctx context.Context, input stable.MailFolder, options CreateMailFolderOperationOptions) (result CreateMailFolderOperationResponse, err error)
CreateMailFolder - Create MailFolder. Use this API to create a new mail folder in the root folder of the user's mailbox. If you intend a new folder to be hidden, you must set the isHidden property to true on creation.
func (MailFolderClient) DeleteMailFolder ¶
func (c MailFolderClient) DeleteMailFolder(ctx context.Context, id stable.MeMailFolderId, options DeleteMailFolderOperationOptions) (result DeleteMailFolderOperationResponse, err error)
DeleteMailFolder - Delete mailFolder. Delete the specified mailFolder. The folder can be a mailSearchFolder. You can specify a mail folder by its folder ID, or by its well-known folder name, if one exists.
func (MailFolderClient) GetMailFolder ¶
func (c MailFolderClient) GetMailFolder(ctx context.Context, id stable.MeMailFolderId, options GetMailFolderOperationOptions) (result GetMailFolderOperationResponse, err error)
GetMailFolder - Get mailFolder. Retrieve the properties and relationships of a message folder object. The following list shows the two existing scenarios where an app can get another user's mail folder
func (MailFolderClient) GetMailFoldersCount ¶
func (c MailFolderClient) GetMailFoldersCount(ctx context.Context, options GetMailFoldersCountOperationOptions) (result GetMailFoldersCountOperationResponse, err error)
GetMailFoldersCount - Get the number of the resource
func (MailFolderClient) ListMailFolders ¶
func (c MailFolderClient) ListMailFolders(ctx context.Context, options ListMailFoldersOperationOptions) (result ListMailFoldersOperationResponse, err error)
ListMailFolders - List mailFolders. Get the mail folder collection directly under the root folder of the signed-in user. The returned collection includes any mail search folders directly under the root. By default, this operation does not return hidden folders. Use a query parameter includeHiddenFolders to include them in the response. This operation does not return all mail folders in a mailbox, only the child folders of the root folder. To return all mail folders in a mailbox, each child folder must be traversed separately.
func (MailFolderClient) ListMailFoldersComplete ¶
func (c MailFolderClient) ListMailFoldersComplete(ctx context.Context, options ListMailFoldersOperationOptions) (ListMailFoldersCompleteResult, error)
ListMailFoldersComplete retrieves all the results into a single object
func (MailFolderClient) ListMailFoldersCompleteMatchingPredicate ¶
func (c MailFolderClient) ListMailFoldersCompleteMatchingPredicate(ctx context.Context, options ListMailFoldersOperationOptions, predicate MailFolderOperationPredicate) (result ListMailFoldersCompleteResult, err error)
ListMailFoldersCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (MailFolderClient) MoveMailFolder ¶
func (c MailFolderClient) MoveMailFolder(ctx context.Context, id stable.MeMailFolderId, input MoveMailFolderRequest, options MoveMailFolderOperationOptions) (result MoveMailFolderOperationResponse, err error)
MoveMailFolder - Invoke action move. Move a mailfolder and its contents to another mailfolder.
func (MailFolderClient) UpdateMailFolder ¶
func (c MailFolderClient) UpdateMailFolder(ctx context.Context, id stable.MeMailFolderId, input stable.MailFolder, options UpdateMailFolderOperationOptions) (result UpdateMailFolderOperationResponse, err error)
UpdateMailFolder - Update mailSearchFolder. Update the writable properties of a mailSearchFolder object.
type MailFolderOperationPredicate ¶
type MailFolderOperationPredicate struct { }
func (MailFolderOperationPredicate) Matches ¶
func (p MailFolderOperationPredicate) Matches(input stable.MailFolder) bool
type MoveMailFolderOperationOptions ¶
type MoveMailFolderOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultMoveMailFolderOperationOptions ¶
func DefaultMoveMailFolderOperationOptions() MoveMailFolderOperationOptions
func (MoveMailFolderOperationOptions) ToHeaders ¶
func (o MoveMailFolderOperationOptions) ToHeaders() *client.Headers
func (MoveMailFolderOperationOptions) ToOData ¶
func (o MoveMailFolderOperationOptions) ToOData() *odata.Query
func (MoveMailFolderOperationOptions) ToQuery ¶
func (o MoveMailFolderOperationOptions) ToQuery() *client.QueryParams
type MoveMailFolderRequest ¶
type MoveMailFolderRequest struct {
DestinationId *string `json:"DestinationId,omitempty"`
}
type UpdateMailFolderOperationOptions ¶
type UpdateMailFolderOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultUpdateMailFolderOperationOptions ¶
func DefaultUpdateMailFolderOperationOptions() UpdateMailFolderOperationOptions
func (UpdateMailFolderOperationOptions) ToHeaders ¶
func (o UpdateMailFolderOperationOptions) ToHeaders() *client.Headers
func (UpdateMailFolderOperationOptions) ToOData ¶
func (o UpdateMailFolderOperationOptions) ToOData() *odata.Query
func (UpdateMailFolderOperationOptions) ToQuery ¶
func (o UpdateMailFolderOperationOptions) ToQuery() *client.QueryParams
Source Files ¶
- client.go
- method_copymailfolder.go
- method_createmailfolder.go
- method_deletemailfolder.go
- method_getmailfolder.go
- method_getmailfolderscount.go
- method_listmailfolders.go
- method_movemailfolder.go
- method_updatemailfolder.go
- model_copymailfolderrequest.go
- model_movemailfolderrequest.go
- predicates.go
- version.go