Documentation ¶
Index ¶
- type AttachmentOperationPredicate
- type CreateMessageAttachmentOperationOptions
- type CreateMessageAttachmentOperationResponse
- type CreateMessageAttachmentsUploadSessionOperationOptions
- type CreateMessageAttachmentsUploadSessionOperationResponse
- type CreateMessageAttachmentsUploadSessionRequest
- type DeleteMessageAttachmentOperationOptions
- type DeleteMessageAttachmentOperationResponse
- type GetMessageAttachmentOperationOptions
- type GetMessageAttachmentOperationResponse
- type GetMessageAttachmentsCountOperationOptions
- type GetMessageAttachmentsCountOperationResponse
- type ListMessageAttachmentsCompleteResult
- type ListMessageAttachmentsCustomPager
- type ListMessageAttachmentsOperationOptions
- type ListMessageAttachmentsOperationResponse
- type MessageAttachmentClient
- func (c MessageAttachmentClient) CreateMessageAttachment(ctx context.Context, id beta.MeMessageId, input beta.Attachment, ...) (result CreateMessageAttachmentOperationResponse, err error)
- func (c MessageAttachmentClient) CreateMessageAttachmentsUploadSession(ctx context.Context, id beta.MeMessageId, ...) (result CreateMessageAttachmentsUploadSessionOperationResponse, err error)
- func (c MessageAttachmentClient) DeleteMessageAttachment(ctx context.Context, id beta.MeMessageIdAttachmentId, ...) (result DeleteMessageAttachmentOperationResponse, err error)
- func (c MessageAttachmentClient) GetMessageAttachment(ctx context.Context, id beta.MeMessageIdAttachmentId, ...) (result GetMessageAttachmentOperationResponse, err error)
- func (c MessageAttachmentClient) GetMessageAttachmentsCount(ctx context.Context, id beta.MeMessageId, ...) (result GetMessageAttachmentsCountOperationResponse, err error)
- func (c MessageAttachmentClient) ListMessageAttachments(ctx context.Context, id beta.MeMessageId, ...) (result ListMessageAttachmentsOperationResponse, err error)
- func (c MessageAttachmentClient) ListMessageAttachmentsComplete(ctx context.Context, id beta.MeMessageId, ...) (ListMessageAttachmentsCompleteResult, error)
- func (c MessageAttachmentClient) ListMessageAttachmentsCompleteMatchingPredicate(ctx context.Context, id beta.MeMessageId, ...) (result ListMessageAttachmentsCompleteResult, 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 beta.Attachment) bool
type CreateMessageAttachmentOperationOptions ¶
type CreateMessageAttachmentOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateMessageAttachmentOperationOptions ¶
func DefaultCreateMessageAttachmentOperationOptions() CreateMessageAttachmentOperationOptions
func (CreateMessageAttachmentOperationOptions) ToHeaders ¶
func (o CreateMessageAttachmentOperationOptions) ToHeaders() *client.Headers
func (CreateMessageAttachmentOperationOptions) ToOData ¶
func (o CreateMessageAttachmentOperationOptions) ToOData() *odata.Query
func (CreateMessageAttachmentOperationOptions) ToQuery ¶
func (o CreateMessageAttachmentOperationOptions) ToQuery() *client.QueryParams
type CreateMessageAttachmentsUploadSessionOperationOptions ¶
type CreateMessageAttachmentsUploadSessionOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateMessageAttachmentsUploadSessionOperationOptions ¶
func DefaultCreateMessageAttachmentsUploadSessionOperationOptions() CreateMessageAttachmentsUploadSessionOperationOptions
func (CreateMessageAttachmentsUploadSessionOperationOptions) ToHeaders ¶
func (o CreateMessageAttachmentsUploadSessionOperationOptions) ToHeaders() *client.Headers
func (CreateMessageAttachmentsUploadSessionOperationOptions) ToOData ¶
func (o CreateMessageAttachmentsUploadSessionOperationOptions) ToOData() *odata.Query
func (CreateMessageAttachmentsUploadSessionOperationOptions) ToQuery ¶
func (o CreateMessageAttachmentsUploadSessionOperationOptions) ToQuery() *client.QueryParams
type CreateMessageAttachmentsUploadSessionRequest ¶
type CreateMessageAttachmentsUploadSessionRequest struct {
AttachmentItem *beta.AttachmentItem `json:"AttachmentItem,omitempty"`
}
type DeleteMessageAttachmentOperationOptions ¶
type DeleteMessageAttachmentOperationOptions struct { IfMatch *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultDeleteMessageAttachmentOperationOptions ¶
func DefaultDeleteMessageAttachmentOperationOptions() DeleteMessageAttachmentOperationOptions
func (DeleteMessageAttachmentOperationOptions) ToHeaders ¶
func (o DeleteMessageAttachmentOperationOptions) ToHeaders() *client.Headers
func (DeleteMessageAttachmentOperationOptions) ToOData ¶
func (o DeleteMessageAttachmentOperationOptions) ToOData() *odata.Query
func (DeleteMessageAttachmentOperationOptions) ToQuery ¶
func (o DeleteMessageAttachmentOperationOptions) ToQuery() *client.QueryParams
type GetMessageAttachmentOperationOptions ¶
type GetMessageAttachmentOperationOptions struct { Expand *odata.Expand Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Select *[]string }
func DefaultGetMessageAttachmentOperationOptions ¶
func DefaultGetMessageAttachmentOperationOptions() GetMessageAttachmentOperationOptions
func (GetMessageAttachmentOperationOptions) ToHeaders ¶
func (o GetMessageAttachmentOperationOptions) ToHeaders() *client.Headers
func (GetMessageAttachmentOperationOptions) ToOData ¶
func (o GetMessageAttachmentOperationOptions) ToOData() *odata.Query
func (GetMessageAttachmentOperationOptions) ToQuery ¶
func (o GetMessageAttachmentOperationOptions) ToQuery() *client.QueryParams
type GetMessageAttachmentsCountOperationOptions ¶
type GetMessageAttachmentsCountOperationOptions struct { Filter *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Search *string }
func DefaultGetMessageAttachmentsCountOperationOptions ¶
func DefaultGetMessageAttachmentsCountOperationOptions() GetMessageAttachmentsCountOperationOptions
func (GetMessageAttachmentsCountOperationOptions) ToHeaders ¶
func (o GetMessageAttachmentsCountOperationOptions) ToHeaders() *client.Headers
func (GetMessageAttachmentsCountOperationOptions) ToOData ¶
func (o GetMessageAttachmentsCountOperationOptions) ToOData() *odata.Query
func (GetMessageAttachmentsCountOperationOptions) ToQuery ¶
func (o GetMessageAttachmentsCountOperationOptions) ToQuery() *client.QueryParams
type ListMessageAttachmentsCompleteResult ¶
type ListMessageAttachmentsCompleteResult struct { LatestHttpResponse *http.Response Items []beta.Attachment }
type ListMessageAttachmentsCustomPager ¶
func (*ListMessageAttachmentsCustomPager) NextPageLink ¶
func (p *ListMessageAttachmentsCustomPager) NextPageLink() *odata.Link
type ListMessageAttachmentsOperationOptions ¶
type ListMessageAttachmentsOperationOptions 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 DefaultListMessageAttachmentsOperationOptions ¶
func DefaultListMessageAttachmentsOperationOptions() ListMessageAttachmentsOperationOptions
func (ListMessageAttachmentsOperationOptions) ToHeaders ¶
func (o ListMessageAttachmentsOperationOptions) ToHeaders() *client.Headers
func (ListMessageAttachmentsOperationOptions) ToOData ¶
func (o ListMessageAttachmentsOperationOptions) ToOData() *odata.Query
func (ListMessageAttachmentsOperationOptions) ToQuery ¶
func (o ListMessageAttachmentsOperationOptions) ToQuery() *client.QueryParams
type MessageAttachmentClient ¶
func NewMessageAttachmentClientWithBaseURI ¶
func NewMessageAttachmentClientWithBaseURI(sdkApi sdkEnv.Api) (*MessageAttachmentClient, error)
func (MessageAttachmentClient) CreateMessageAttachment ¶
func (c MessageAttachmentClient) CreateMessageAttachment(ctx context.Context, id beta.MeMessageId, input beta.Attachment, options CreateMessageAttachmentOperationOptions) (result CreateMessageAttachmentOperationResponse, err error)
CreateMessageAttachment - Add attachment. Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachment resource.
func (MessageAttachmentClient) CreateMessageAttachmentsUploadSession ¶
func (c MessageAttachmentClient) CreateMessageAttachmentsUploadSession(ctx context.Context, id beta.MeMessageId, input CreateMessageAttachmentsUploadSessionRequest, options CreateMessageAttachmentsUploadSessionOperationOptions) (result CreateMessageAttachmentsUploadSessionOperationResponse, err error)
CreateMessageAttachmentsUploadSession - 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 an 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 (MessageAttachmentClient) DeleteMessageAttachment ¶
func (c MessageAttachmentClient) DeleteMessageAttachment(ctx context.Context, id beta.MeMessageIdAttachmentId, options DeleteMessageAttachmentOperationOptions) (result DeleteMessageAttachmentOperationResponse, err error)
DeleteMessageAttachment - Delete navigation property attachments for me
func (MessageAttachmentClient) GetMessageAttachment ¶
func (c MessageAttachmentClient) GetMessageAttachment(ctx context.Context, id beta.MeMessageIdAttachmentId, options GetMessageAttachmentOperationOptions) (result GetMessageAttachmentOperationResponse, err error)
GetMessageAttachment - Get attachment. Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource.
func (MessageAttachmentClient) GetMessageAttachmentsCount ¶
func (c MessageAttachmentClient) GetMessageAttachmentsCount(ctx context.Context, id beta.MeMessageId, options GetMessageAttachmentsCountOperationOptions) (result GetMessageAttachmentsCountOperationResponse, err error)
GetMessageAttachmentsCount - Get the number of the resource
func (MessageAttachmentClient) ListMessageAttachments ¶
func (c MessageAttachmentClient) ListMessageAttachments(ctx context.Context, id beta.MeMessageId, options ListMessageAttachmentsOperationOptions) (result ListMessageAttachmentsOperationResponse, err error)
ListMessageAttachments - List attachments. Retrieve a list of attachment objects attached to a message.
func (MessageAttachmentClient) ListMessageAttachmentsComplete ¶
func (c MessageAttachmentClient) ListMessageAttachmentsComplete(ctx context.Context, id beta.MeMessageId, options ListMessageAttachmentsOperationOptions) (ListMessageAttachmentsCompleteResult, error)
ListMessageAttachmentsComplete retrieves all the results into a single object
func (MessageAttachmentClient) ListMessageAttachmentsCompleteMatchingPredicate ¶
func (c MessageAttachmentClient) ListMessageAttachmentsCompleteMatchingPredicate(ctx context.Context, id beta.MeMessageId, options ListMessageAttachmentsOperationOptions, predicate AttachmentOperationPredicate) (result ListMessageAttachmentsCompleteResult, err error)
ListMessageAttachmentsCompleteMatchingPredicate retrieves all the results and then applies the predicate
Source Files ¶
- client.go
- method_createmessageattachment.go
- method_createmessageattachmentsuploadsession.go
- method_deletemessageattachment.go
- method_getmessageattachment.go
- method_getmessageattachmentscount.go
- method_listmessageattachments.go
- model_createmessageattachmentsuploadsessionrequest.go
- predicates.go
- version.go