Documentation ¶
Index ¶
- type AttachmentOperationPredicate
- type CreateEventAttachmentOperationOptions
- type CreateEventAttachmentOperationResponse
- type CreateEventAttachmentsUploadSessionOperationOptions
- type CreateEventAttachmentsUploadSessionOperationResponse
- type CreateEventAttachmentsUploadSessionRequest
- type DeleteEventAttachmentOperationOptions
- type DeleteEventAttachmentOperationResponse
- type EventAttachmentClient
- func (c EventAttachmentClient) CreateEventAttachment(ctx context.Context, id beta.UserIdEventId, input beta.Attachment, ...) (result CreateEventAttachmentOperationResponse, err error)
- func (c EventAttachmentClient) CreateEventAttachmentsUploadSession(ctx context.Context, id beta.UserIdEventId, ...) (result CreateEventAttachmentsUploadSessionOperationResponse, err error)
- func (c EventAttachmentClient) DeleteEventAttachment(ctx context.Context, id beta.UserIdEventIdAttachmentId, ...) (result DeleteEventAttachmentOperationResponse, err error)
- func (c EventAttachmentClient) GetEventAttachment(ctx context.Context, id beta.UserIdEventIdAttachmentId, ...) (result GetEventAttachmentOperationResponse, err error)
- func (c EventAttachmentClient) GetEventAttachmentsCount(ctx context.Context, id beta.UserIdEventId, ...) (result GetEventAttachmentsCountOperationResponse, err error)
- func (c EventAttachmentClient) ListEventAttachments(ctx context.Context, id beta.UserIdEventId, ...) (result ListEventAttachmentsOperationResponse, err error)
- func (c EventAttachmentClient) ListEventAttachmentsComplete(ctx context.Context, id beta.UserIdEventId, ...) (ListEventAttachmentsCompleteResult, error)
- func (c EventAttachmentClient) ListEventAttachmentsCompleteMatchingPredicate(ctx context.Context, id beta.UserIdEventId, ...) (result ListEventAttachmentsCompleteResult, err error)
- type GetEventAttachmentOperationOptions
- type GetEventAttachmentOperationResponse
- type GetEventAttachmentsCountOperationOptions
- type GetEventAttachmentsCountOperationResponse
- type ListEventAttachmentsCompleteResult
- type ListEventAttachmentsCustomPager
- type ListEventAttachmentsOperationOptions
- type ListEventAttachmentsOperationResponse
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 CreateEventAttachmentOperationOptions ¶
type CreateEventAttachmentOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateEventAttachmentOperationOptions ¶
func DefaultCreateEventAttachmentOperationOptions() CreateEventAttachmentOperationOptions
func (CreateEventAttachmentOperationOptions) ToHeaders ¶
func (o CreateEventAttachmentOperationOptions) ToHeaders() *client.Headers
func (CreateEventAttachmentOperationOptions) ToOData ¶
func (o CreateEventAttachmentOperationOptions) ToOData() *odata.Query
func (CreateEventAttachmentOperationOptions) ToQuery ¶
func (o CreateEventAttachmentOperationOptions) ToQuery() *client.QueryParams
type CreateEventAttachmentsUploadSessionOperationOptions ¶
type CreateEventAttachmentsUploadSessionOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateEventAttachmentsUploadSessionOperationOptions ¶
func DefaultCreateEventAttachmentsUploadSessionOperationOptions() CreateEventAttachmentsUploadSessionOperationOptions
func (CreateEventAttachmentsUploadSessionOperationOptions) ToHeaders ¶
func (o CreateEventAttachmentsUploadSessionOperationOptions) ToHeaders() *client.Headers
func (CreateEventAttachmentsUploadSessionOperationOptions) ToOData ¶
func (o CreateEventAttachmentsUploadSessionOperationOptions) ToOData() *odata.Query
func (CreateEventAttachmentsUploadSessionOperationOptions) ToQuery ¶
func (o CreateEventAttachmentsUploadSessionOperationOptions) ToQuery() *client.QueryParams
type CreateEventAttachmentsUploadSessionRequest ¶
type CreateEventAttachmentsUploadSessionRequest struct {
AttachmentItem *beta.AttachmentItem `json:"AttachmentItem,omitempty"`
}
type DeleteEventAttachmentOperationOptions ¶
type DeleteEventAttachmentOperationOptions struct { IfMatch *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultDeleteEventAttachmentOperationOptions ¶
func DefaultDeleteEventAttachmentOperationOptions() DeleteEventAttachmentOperationOptions
func (DeleteEventAttachmentOperationOptions) ToHeaders ¶
func (o DeleteEventAttachmentOperationOptions) ToHeaders() *client.Headers
func (DeleteEventAttachmentOperationOptions) ToOData ¶
func (o DeleteEventAttachmentOperationOptions) ToOData() *odata.Query
func (DeleteEventAttachmentOperationOptions) ToQuery ¶
func (o DeleteEventAttachmentOperationOptions) ToQuery() *client.QueryParams
type EventAttachmentClient ¶
func NewEventAttachmentClientWithBaseURI ¶
func NewEventAttachmentClientWithBaseURI(sdkApi sdkEnv.Api) (*EventAttachmentClient, error)
func (EventAttachmentClient) CreateEventAttachment ¶
func (c EventAttachmentClient) CreateEventAttachment(ctx context.Context, id beta.UserIdEventId, input beta.Attachment, options CreateEventAttachmentOperationOptions) (result CreateEventAttachmentOperationResponse, err error)
CreateEventAttachment - Create new navigation property to attachments for users
func (EventAttachmentClient) CreateEventAttachmentsUploadSession ¶
func (c EventAttachmentClient) CreateEventAttachmentsUploadSession(ctx context.Context, id beta.UserIdEventId, input CreateEventAttachmentsUploadSessionRequest, options CreateEventAttachmentsUploadSessionOperationOptions) (result CreateEventAttachmentsUploadSessionOperationResponse, err error)
CreateEventAttachmentsUploadSession - 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 (EventAttachmentClient) DeleteEventAttachment ¶
func (c EventAttachmentClient) DeleteEventAttachment(ctx context.Context, id beta.UserIdEventIdAttachmentId, options DeleteEventAttachmentOperationOptions) (result DeleteEventAttachmentOperationResponse, err error)
DeleteEventAttachment - Delete navigation property attachments for users
func (EventAttachmentClient) GetEventAttachment ¶
func (c EventAttachmentClient) GetEventAttachment(ctx context.Context, id beta.UserIdEventIdAttachmentId, options GetEventAttachmentOperationOptions) (result GetEventAttachmentOperationResponse, err error)
GetEventAttachment - Get attachments from users. The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable.
func (EventAttachmentClient) GetEventAttachmentsCount ¶
func (c EventAttachmentClient) GetEventAttachmentsCount(ctx context.Context, id beta.UserIdEventId, options GetEventAttachmentsCountOperationOptions) (result GetEventAttachmentsCountOperationResponse, err error)
GetEventAttachmentsCount - Get the number of the resource
func (EventAttachmentClient) ListEventAttachments ¶
func (c EventAttachmentClient) ListEventAttachments(ctx context.Context, id beta.UserIdEventId, options ListEventAttachmentsOperationOptions) (result ListEventAttachmentsOperationResponse, err error)
ListEventAttachments - Get attachments from users. The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable.
func (EventAttachmentClient) ListEventAttachmentsComplete ¶
func (c EventAttachmentClient) ListEventAttachmentsComplete(ctx context.Context, id beta.UserIdEventId, options ListEventAttachmentsOperationOptions) (ListEventAttachmentsCompleteResult, error)
ListEventAttachmentsComplete retrieves all the results into a single object
func (EventAttachmentClient) ListEventAttachmentsCompleteMatchingPredicate ¶
func (c EventAttachmentClient) ListEventAttachmentsCompleteMatchingPredicate(ctx context.Context, id beta.UserIdEventId, options ListEventAttachmentsOperationOptions, predicate AttachmentOperationPredicate) (result ListEventAttachmentsCompleteResult, err error)
ListEventAttachmentsCompleteMatchingPredicate retrieves all the results and then applies the predicate
type GetEventAttachmentOperationOptions ¶
type GetEventAttachmentOperationOptions struct { Expand *odata.Expand Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Select *[]string }
func DefaultGetEventAttachmentOperationOptions ¶
func DefaultGetEventAttachmentOperationOptions() GetEventAttachmentOperationOptions
func (GetEventAttachmentOperationOptions) ToHeaders ¶
func (o GetEventAttachmentOperationOptions) ToHeaders() *client.Headers
func (GetEventAttachmentOperationOptions) ToOData ¶
func (o GetEventAttachmentOperationOptions) ToOData() *odata.Query
func (GetEventAttachmentOperationOptions) ToQuery ¶
func (o GetEventAttachmentOperationOptions) ToQuery() *client.QueryParams
type GetEventAttachmentsCountOperationOptions ¶
type GetEventAttachmentsCountOperationOptions struct { Filter *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Search *string }
func DefaultGetEventAttachmentsCountOperationOptions ¶
func DefaultGetEventAttachmentsCountOperationOptions() GetEventAttachmentsCountOperationOptions
func (GetEventAttachmentsCountOperationOptions) ToHeaders ¶
func (o GetEventAttachmentsCountOperationOptions) ToHeaders() *client.Headers
func (GetEventAttachmentsCountOperationOptions) ToOData ¶
func (o GetEventAttachmentsCountOperationOptions) ToOData() *odata.Query
func (GetEventAttachmentsCountOperationOptions) ToQuery ¶
func (o GetEventAttachmentsCountOperationOptions) ToQuery() *client.QueryParams
type ListEventAttachmentsCompleteResult ¶
type ListEventAttachmentsCompleteResult struct { LatestHttpResponse *http.Response Items []beta.Attachment }
type ListEventAttachmentsCustomPager ¶
func (*ListEventAttachmentsCustomPager) NextPageLink ¶
func (p *ListEventAttachmentsCustomPager) NextPageLink() *odata.Link
type ListEventAttachmentsOperationOptions ¶
type ListEventAttachmentsOperationOptions 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 DefaultListEventAttachmentsOperationOptions ¶
func DefaultListEventAttachmentsOperationOptions() ListEventAttachmentsOperationOptions
func (ListEventAttachmentsOperationOptions) ToHeaders ¶
func (o ListEventAttachmentsOperationOptions) ToHeaders() *client.Headers
func (ListEventAttachmentsOperationOptions) ToOData ¶
func (o ListEventAttachmentsOperationOptions) ToOData() *odata.Query
func (ListEventAttachmentsOperationOptions) ToQuery ¶
func (o ListEventAttachmentsOperationOptions) ToQuery() *client.QueryParams