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.MeEventId, input beta.Attachment, ...) (result CreateEventAttachmentOperationResponse, err error)
- func (c EventAttachmentClient) CreateEventAttachmentsUploadSession(ctx context.Context, id beta.MeEventId, ...) (result CreateEventAttachmentsUploadSessionOperationResponse, err error)
- func (c EventAttachmentClient) DeleteEventAttachment(ctx context.Context, id beta.MeEventIdAttachmentId, ...) (result DeleteEventAttachmentOperationResponse, err error)
- func (c EventAttachmentClient) GetEventAttachment(ctx context.Context, id beta.MeEventIdAttachmentId, ...) (result GetEventAttachmentOperationResponse, err error)
- func (c EventAttachmentClient) GetEventAttachmentsCount(ctx context.Context, id beta.MeEventId, ...) (result GetEventAttachmentsCountOperationResponse, err error)
- func (c EventAttachmentClient) ListEventAttachments(ctx context.Context, id beta.MeEventId, ...) (result ListEventAttachmentsOperationResponse, err error)
- func (c EventAttachmentClient) ListEventAttachmentsComplete(ctx context.Context, id beta.MeEventId, ...) (ListEventAttachmentsCompleteResult, error)
- func (c EventAttachmentClient) ListEventAttachmentsCompleteMatchingPredicate(ctx context.Context, id beta.MeEventId, ...) (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.MeEventId, input beta.Attachment, options CreateEventAttachmentOperationOptions) (result CreateEventAttachmentOperationResponse, err error)
CreateEventAttachment - 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 (EventAttachmentClient) CreateEventAttachmentsUploadSession ¶
func (c EventAttachmentClient) CreateEventAttachmentsUploadSession(ctx context.Context, id beta.MeEventId, 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.MeEventIdAttachmentId, options DeleteEventAttachmentOperationOptions) (result DeleteEventAttachmentOperationResponse, err error)
DeleteEventAttachment - Delete attachment. Delete an attachment from a user calendar event, message, Outlook task, or post.
func (EventAttachmentClient) GetEventAttachment ¶
func (c EventAttachmentClient) GetEventAttachment(ctx context.Context, id beta.MeEventIdAttachmentId, options GetEventAttachmentOperationOptions) (result GetEventAttachmentOperationResponse, err error)
GetEventAttachment - 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 (EventAttachmentClient) GetEventAttachmentsCount ¶
func (c EventAttachmentClient) GetEventAttachmentsCount(ctx context.Context, id beta.MeEventId, 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.MeEventId, options ListEventAttachmentsOperationOptions) (result ListEventAttachmentsOperationResponse, err error)
ListEventAttachments - List attachments. Retrieve a list of attachment objects attached to an event.
func (EventAttachmentClient) ListEventAttachmentsComplete ¶
func (c EventAttachmentClient) ListEventAttachmentsComplete(ctx context.Context, id beta.MeEventId, 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.MeEventId, 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