Documentation ¶
Index ¶
- type AttachmentOperationPredicate
- type CreateMailFolderMessageAttachmentOperationOptions
- type CreateMailFolderMessageAttachmentOperationResponse
- type CreateMailFolderMessageAttachmentsUploadSessionOperationOptions
- type CreateMailFolderMessageAttachmentsUploadSessionOperationResponse
- type CreateMailFolderMessageAttachmentsUploadSessionRequest
- type DeleteMailFolderMessageAttachmentOperationOptions
- type DeleteMailFolderMessageAttachmentOperationResponse
- type GetMailFolderMessageAttachmentOperationOptions
- type GetMailFolderMessageAttachmentOperationResponse
- type GetMailFolderMessageAttachmentsCountOperationOptions
- type GetMailFolderMessageAttachmentsCountOperationResponse
- type ListMailFolderMessageAttachmentsCompleteResult
- type ListMailFolderMessageAttachmentsCustomPager
- type ListMailFolderMessageAttachmentsOperationOptions
- type ListMailFolderMessageAttachmentsOperationResponse
- type MailFolderMessageAttachmentClient
- func (c MailFolderMessageAttachmentClient) CreateMailFolderMessageAttachment(ctx context.Context, id stable.MeMailFolderIdMessageId, ...) (result CreateMailFolderMessageAttachmentOperationResponse, err error)
- func (c MailFolderMessageAttachmentClient) CreateMailFolderMessageAttachmentsUploadSession(ctx context.Context, id stable.MeMailFolderIdMessageId, ...) (result CreateMailFolderMessageAttachmentsUploadSessionOperationResponse, ...)
- func (c MailFolderMessageAttachmentClient) DeleteMailFolderMessageAttachment(ctx context.Context, id stable.MeMailFolderIdMessageIdAttachmentId, ...) (result DeleteMailFolderMessageAttachmentOperationResponse, err error)
- func (c MailFolderMessageAttachmentClient) GetMailFolderMessageAttachment(ctx context.Context, id stable.MeMailFolderIdMessageIdAttachmentId, ...) (result GetMailFolderMessageAttachmentOperationResponse, err error)
- func (c MailFolderMessageAttachmentClient) GetMailFolderMessageAttachmentsCount(ctx context.Context, id stable.MeMailFolderIdMessageId, ...) (result GetMailFolderMessageAttachmentsCountOperationResponse, err error)
- func (c MailFolderMessageAttachmentClient) ListMailFolderMessageAttachments(ctx context.Context, id stable.MeMailFolderIdMessageId, ...) (result ListMailFolderMessageAttachmentsOperationResponse, err error)
- func (c MailFolderMessageAttachmentClient) ListMailFolderMessageAttachmentsComplete(ctx context.Context, id stable.MeMailFolderIdMessageId, ...) (ListMailFolderMessageAttachmentsCompleteResult, error)
- func (c MailFolderMessageAttachmentClient) ListMailFolderMessageAttachmentsCompleteMatchingPredicate(ctx context.Context, id stable.MeMailFolderIdMessageId, ...) (result ListMailFolderMessageAttachmentsCompleteResult, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AttachmentOperationPredicate ¶
type AttachmentOperationPredicate struct { }
func (AttachmentOperationPredicate) Matches ¶
func (p AttachmentOperationPredicate) Matches(input stable.Attachment) bool
type CreateMailFolderMessageAttachmentOperationOptions ¶
type CreateMailFolderMessageAttachmentOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateMailFolderMessageAttachmentOperationOptions ¶
func DefaultCreateMailFolderMessageAttachmentOperationOptions() CreateMailFolderMessageAttachmentOperationOptions
func (CreateMailFolderMessageAttachmentOperationOptions) ToHeaders ¶
func (o CreateMailFolderMessageAttachmentOperationOptions) ToHeaders() *client.Headers
func (CreateMailFolderMessageAttachmentOperationOptions) ToOData ¶
func (o CreateMailFolderMessageAttachmentOperationOptions) ToOData() *odata.Query
func (CreateMailFolderMessageAttachmentOperationOptions) ToQuery ¶
func (o CreateMailFolderMessageAttachmentOperationOptions) ToQuery() *client.QueryParams
type CreateMailFolderMessageAttachmentsUploadSessionOperationOptions ¶
type CreateMailFolderMessageAttachmentsUploadSessionOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateMailFolderMessageAttachmentsUploadSessionOperationOptions ¶
func DefaultCreateMailFolderMessageAttachmentsUploadSessionOperationOptions() CreateMailFolderMessageAttachmentsUploadSessionOperationOptions
func (CreateMailFolderMessageAttachmentsUploadSessionOperationOptions) ToHeaders ¶
func (o CreateMailFolderMessageAttachmentsUploadSessionOperationOptions) ToHeaders() *client.Headers
func (CreateMailFolderMessageAttachmentsUploadSessionOperationOptions) ToOData ¶
func (o CreateMailFolderMessageAttachmentsUploadSessionOperationOptions) ToOData() *odata.Query
func (CreateMailFolderMessageAttachmentsUploadSessionOperationOptions) ToQuery ¶
func (o CreateMailFolderMessageAttachmentsUploadSessionOperationOptions) ToQuery() *client.QueryParams
type CreateMailFolderMessageAttachmentsUploadSessionRequest ¶
type CreateMailFolderMessageAttachmentsUploadSessionRequest struct {
AttachmentItem *stable.AttachmentItem `json:"AttachmentItem,omitempty"`
}
type DeleteMailFolderMessageAttachmentOperationOptions ¶
type DeleteMailFolderMessageAttachmentOperationOptions struct { IfMatch *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultDeleteMailFolderMessageAttachmentOperationOptions ¶
func DefaultDeleteMailFolderMessageAttachmentOperationOptions() DeleteMailFolderMessageAttachmentOperationOptions
func (DeleteMailFolderMessageAttachmentOperationOptions) ToHeaders ¶
func (o DeleteMailFolderMessageAttachmentOperationOptions) ToHeaders() *client.Headers
func (DeleteMailFolderMessageAttachmentOperationOptions) ToOData ¶
func (o DeleteMailFolderMessageAttachmentOperationOptions) ToOData() *odata.Query
func (DeleteMailFolderMessageAttachmentOperationOptions) ToQuery ¶
func (o DeleteMailFolderMessageAttachmentOperationOptions) ToQuery() *client.QueryParams
type GetMailFolderMessageAttachmentOperationOptions ¶
type GetMailFolderMessageAttachmentOperationOptions struct { Expand *odata.Expand Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Select *[]string }
func DefaultGetMailFolderMessageAttachmentOperationOptions ¶
func DefaultGetMailFolderMessageAttachmentOperationOptions() GetMailFolderMessageAttachmentOperationOptions
func (GetMailFolderMessageAttachmentOperationOptions) ToHeaders ¶
func (o GetMailFolderMessageAttachmentOperationOptions) ToHeaders() *client.Headers
func (GetMailFolderMessageAttachmentOperationOptions) ToOData ¶
func (o GetMailFolderMessageAttachmentOperationOptions) ToOData() *odata.Query
func (GetMailFolderMessageAttachmentOperationOptions) ToQuery ¶
func (o GetMailFolderMessageAttachmentOperationOptions) ToQuery() *client.QueryParams
type GetMailFolderMessageAttachmentsCountOperationOptions ¶
type GetMailFolderMessageAttachmentsCountOperationOptions struct { Filter *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Search *string }
func DefaultGetMailFolderMessageAttachmentsCountOperationOptions ¶
func DefaultGetMailFolderMessageAttachmentsCountOperationOptions() GetMailFolderMessageAttachmentsCountOperationOptions
func (GetMailFolderMessageAttachmentsCountOperationOptions) ToHeaders ¶
func (o GetMailFolderMessageAttachmentsCountOperationOptions) ToHeaders() *client.Headers
func (GetMailFolderMessageAttachmentsCountOperationOptions) ToOData ¶
func (o GetMailFolderMessageAttachmentsCountOperationOptions) ToOData() *odata.Query
func (GetMailFolderMessageAttachmentsCountOperationOptions) ToQuery ¶
func (o GetMailFolderMessageAttachmentsCountOperationOptions) ToQuery() *client.QueryParams
type ListMailFolderMessageAttachmentsCompleteResult ¶
type ListMailFolderMessageAttachmentsCompleteResult struct { LatestHttpResponse *http.Response Items []stable.Attachment }
type ListMailFolderMessageAttachmentsCustomPager ¶
type ListMailFolderMessageAttachmentsCustomPager struct {
NextLink *odata.Link `json:"@odata.nextLink"`
}
func (*ListMailFolderMessageAttachmentsCustomPager) NextPageLink ¶
func (p *ListMailFolderMessageAttachmentsCustomPager) NextPageLink() *odata.Link
type ListMailFolderMessageAttachmentsOperationOptions ¶
type ListMailFolderMessageAttachmentsOperationOptions 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 DefaultListMailFolderMessageAttachmentsOperationOptions ¶
func DefaultListMailFolderMessageAttachmentsOperationOptions() ListMailFolderMessageAttachmentsOperationOptions
func (ListMailFolderMessageAttachmentsOperationOptions) ToHeaders ¶
func (o ListMailFolderMessageAttachmentsOperationOptions) ToHeaders() *client.Headers
func (ListMailFolderMessageAttachmentsOperationOptions) ToOData ¶
func (o ListMailFolderMessageAttachmentsOperationOptions) ToOData() *odata.Query
func (ListMailFolderMessageAttachmentsOperationOptions) ToQuery ¶
func (o ListMailFolderMessageAttachmentsOperationOptions) ToQuery() *client.QueryParams
type MailFolderMessageAttachmentClient ¶
func NewMailFolderMessageAttachmentClientWithBaseURI ¶
func NewMailFolderMessageAttachmentClientWithBaseURI(sdkApi sdkEnv.Api) (*MailFolderMessageAttachmentClient, error)
func (MailFolderMessageAttachmentClient) CreateMailFolderMessageAttachment ¶
func (c MailFolderMessageAttachmentClient) CreateMailFolderMessageAttachment(ctx context.Context, id stable.MeMailFolderIdMessageId, input stable.Attachment, options CreateMailFolderMessageAttachmentOperationOptions) (result CreateMailFolderMessageAttachmentOperationResponse, err error)
CreateMailFolderMessageAttachment - Create new navigation property to attachments for me
func (MailFolderMessageAttachmentClient) CreateMailFolderMessageAttachmentsUploadSession ¶
func (c MailFolderMessageAttachmentClient) CreateMailFolderMessageAttachmentsUploadSession(ctx context.Context, id stable.MeMailFolderIdMessageId, input CreateMailFolderMessageAttachmentsUploadSessionRequest, options CreateMailFolderMessageAttachmentsUploadSessionOperationOptions) (result CreateMailFolderMessageAttachmentsUploadSessionOperationResponse, err error)
CreateMailFolderMessageAttachmentsUploadSession - Invoke action createUploadSession. Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example.
func (MailFolderMessageAttachmentClient) DeleteMailFolderMessageAttachment ¶
func (c MailFolderMessageAttachmentClient) DeleteMailFolderMessageAttachment(ctx context.Context, id stable.MeMailFolderIdMessageIdAttachmentId, options DeleteMailFolderMessageAttachmentOperationOptions) (result DeleteMailFolderMessageAttachmentOperationResponse, err error)
DeleteMailFolderMessageAttachment - Delete navigation property attachments for me
func (MailFolderMessageAttachmentClient) GetMailFolderMessageAttachment ¶
func (c MailFolderMessageAttachmentClient) GetMailFolderMessageAttachment(ctx context.Context, id stable.MeMailFolderIdMessageIdAttachmentId, options GetMailFolderMessageAttachmentOperationOptions) (result GetMailFolderMessageAttachmentOperationResponse, err error)
GetMailFolderMessageAttachment - Get attachments from me. The fileAttachment and itemAttachment attachments for the message.
func (MailFolderMessageAttachmentClient) GetMailFolderMessageAttachmentsCount ¶
func (c MailFolderMessageAttachmentClient) GetMailFolderMessageAttachmentsCount(ctx context.Context, id stable.MeMailFolderIdMessageId, options GetMailFolderMessageAttachmentsCountOperationOptions) (result GetMailFolderMessageAttachmentsCountOperationResponse, err error)
GetMailFolderMessageAttachmentsCount - Get the number of the resource
func (MailFolderMessageAttachmentClient) ListMailFolderMessageAttachments ¶
func (c MailFolderMessageAttachmentClient) ListMailFolderMessageAttachments(ctx context.Context, id stable.MeMailFolderIdMessageId, options ListMailFolderMessageAttachmentsOperationOptions) (result ListMailFolderMessageAttachmentsOperationResponse, err error)
ListMailFolderMessageAttachments - Get attachments from me. The fileAttachment and itemAttachment attachments for the message.
func (MailFolderMessageAttachmentClient) ListMailFolderMessageAttachmentsComplete ¶
func (c MailFolderMessageAttachmentClient) ListMailFolderMessageAttachmentsComplete(ctx context.Context, id stable.MeMailFolderIdMessageId, options ListMailFolderMessageAttachmentsOperationOptions) (ListMailFolderMessageAttachmentsCompleteResult, error)
ListMailFolderMessageAttachmentsComplete retrieves all the results into a single object
func (MailFolderMessageAttachmentClient) ListMailFolderMessageAttachmentsCompleteMatchingPredicate ¶
func (c MailFolderMessageAttachmentClient) ListMailFolderMessageAttachmentsCompleteMatchingPredicate(ctx context.Context, id stable.MeMailFolderIdMessageId, options ListMailFolderMessageAttachmentsOperationOptions, predicate AttachmentOperationPredicate) (result ListMailFolderMessageAttachmentsCompleteResult, err error)
ListMailFolderMessageAttachmentsCompleteMatchingPredicate retrieves all the results and then applies the predicate
Source Files ¶
- client.go
- method_createmailfoldermessageattachment.go
- method_createmailfoldermessageattachmentsuploadsession.go
- method_deletemailfoldermessageattachment.go
- method_getmailfoldermessageattachment.go
- method_getmailfoldermessageattachmentscount.go
- method_listmailfoldermessageattachments.go
- model_createmailfoldermessageattachmentsuploadsessionrequest.go
- predicates.go
- version.go