Documentation ¶
Index ¶
- type AttachmentOperationPredicate
- type CreateOutlookTaskAttachmentOperationOptions
- type CreateOutlookTaskAttachmentOperationResponse
- type CreateOutlookTaskAttachmentsUploadSessionOperationOptions
- type CreateOutlookTaskAttachmentsUploadSessionOperationResponse
- type CreateOutlookTaskAttachmentsUploadSessionRequest
- type DeleteOutlookTaskAttachmentOperationOptions
- type DeleteOutlookTaskAttachmentOperationResponse
- type GetOutlookTaskAttachmentOperationOptions
- type GetOutlookTaskAttachmentOperationResponse
- type GetOutlookTaskAttachmentsCountOperationOptions
- type GetOutlookTaskAttachmentsCountOperationResponse
- type ListOutlookTaskAttachmentsCompleteResult
- type ListOutlookTaskAttachmentsCustomPager
- type ListOutlookTaskAttachmentsOperationOptions
- type ListOutlookTaskAttachmentsOperationResponse
- type OutlookTaskAttachmentClient
- func (c OutlookTaskAttachmentClient) CreateOutlookTaskAttachment(ctx context.Context, id beta.MeOutlookTaskId, input beta.Attachment, ...) (result CreateOutlookTaskAttachmentOperationResponse, err error)
- func (c OutlookTaskAttachmentClient) CreateOutlookTaskAttachmentsUploadSession(ctx context.Context, id beta.MeOutlookTaskId, ...) (result CreateOutlookTaskAttachmentsUploadSessionOperationResponse, err error)
- func (c OutlookTaskAttachmentClient) DeleteOutlookTaskAttachment(ctx context.Context, id beta.MeOutlookTaskIdAttachmentId, ...) (result DeleteOutlookTaskAttachmentOperationResponse, err error)
- func (c OutlookTaskAttachmentClient) GetOutlookTaskAttachment(ctx context.Context, id beta.MeOutlookTaskIdAttachmentId, ...) (result GetOutlookTaskAttachmentOperationResponse, err error)
- func (c OutlookTaskAttachmentClient) GetOutlookTaskAttachmentsCount(ctx context.Context, id beta.MeOutlookTaskId, ...) (result GetOutlookTaskAttachmentsCountOperationResponse, err error)
- func (c OutlookTaskAttachmentClient) ListOutlookTaskAttachments(ctx context.Context, id beta.MeOutlookTaskId, ...) (result ListOutlookTaskAttachmentsOperationResponse, err error)
- func (c OutlookTaskAttachmentClient) ListOutlookTaskAttachmentsComplete(ctx context.Context, id beta.MeOutlookTaskId, ...) (ListOutlookTaskAttachmentsCompleteResult, error)
- func (c OutlookTaskAttachmentClient) ListOutlookTaskAttachmentsCompleteMatchingPredicate(ctx context.Context, id beta.MeOutlookTaskId, ...) (result ListOutlookTaskAttachmentsCompleteResult, 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 CreateOutlookTaskAttachmentOperationOptions ¶
type CreateOutlookTaskAttachmentOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateOutlookTaskAttachmentOperationOptions ¶
func DefaultCreateOutlookTaskAttachmentOperationOptions() CreateOutlookTaskAttachmentOperationOptions
func (CreateOutlookTaskAttachmentOperationOptions) ToHeaders ¶
func (o CreateOutlookTaskAttachmentOperationOptions) ToHeaders() *client.Headers
func (CreateOutlookTaskAttachmentOperationOptions) ToOData ¶
func (o CreateOutlookTaskAttachmentOperationOptions) ToOData() *odata.Query
func (CreateOutlookTaskAttachmentOperationOptions) ToQuery ¶
func (o CreateOutlookTaskAttachmentOperationOptions) ToQuery() *client.QueryParams
type CreateOutlookTaskAttachmentsUploadSessionOperationOptions ¶
type CreateOutlookTaskAttachmentsUploadSessionOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateOutlookTaskAttachmentsUploadSessionOperationOptions ¶
func DefaultCreateOutlookTaskAttachmentsUploadSessionOperationOptions() CreateOutlookTaskAttachmentsUploadSessionOperationOptions
func (CreateOutlookTaskAttachmentsUploadSessionOperationOptions) ToHeaders ¶
func (o CreateOutlookTaskAttachmentsUploadSessionOperationOptions) ToHeaders() *client.Headers
func (CreateOutlookTaskAttachmentsUploadSessionOperationOptions) ToOData ¶
func (o CreateOutlookTaskAttachmentsUploadSessionOperationOptions) ToOData() *odata.Query
func (CreateOutlookTaskAttachmentsUploadSessionOperationOptions) ToQuery ¶
func (o CreateOutlookTaskAttachmentsUploadSessionOperationOptions) ToQuery() *client.QueryParams
type CreateOutlookTaskAttachmentsUploadSessionRequest ¶
type CreateOutlookTaskAttachmentsUploadSessionRequest struct {
AttachmentItem *beta.AttachmentItem `json:"AttachmentItem,omitempty"`
}
type DeleteOutlookTaskAttachmentOperationOptions ¶
type DeleteOutlookTaskAttachmentOperationOptions struct { IfMatch *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultDeleteOutlookTaskAttachmentOperationOptions ¶
func DefaultDeleteOutlookTaskAttachmentOperationOptions() DeleteOutlookTaskAttachmentOperationOptions
func (DeleteOutlookTaskAttachmentOperationOptions) ToHeaders ¶
func (o DeleteOutlookTaskAttachmentOperationOptions) ToHeaders() *client.Headers
func (DeleteOutlookTaskAttachmentOperationOptions) ToOData ¶
func (o DeleteOutlookTaskAttachmentOperationOptions) ToOData() *odata.Query
func (DeleteOutlookTaskAttachmentOperationOptions) ToQuery ¶
func (o DeleteOutlookTaskAttachmentOperationOptions) ToQuery() *client.QueryParams
type GetOutlookTaskAttachmentOperationOptions ¶
type GetOutlookTaskAttachmentOperationOptions struct { Expand *odata.Expand Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Select *[]string }
func DefaultGetOutlookTaskAttachmentOperationOptions ¶
func DefaultGetOutlookTaskAttachmentOperationOptions() GetOutlookTaskAttachmentOperationOptions
func (GetOutlookTaskAttachmentOperationOptions) ToHeaders ¶
func (o GetOutlookTaskAttachmentOperationOptions) ToHeaders() *client.Headers
func (GetOutlookTaskAttachmentOperationOptions) ToOData ¶
func (o GetOutlookTaskAttachmentOperationOptions) ToOData() *odata.Query
func (GetOutlookTaskAttachmentOperationOptions) ToQuery ¶
func (o GetOutlookTaskAttachmentOperationOptions) ToQuery() *client.QueryParams
type GetOutlookTaskAttachmentsCountOperationOptions ¶
type GetOutlookTaskAttachmentsCountOperationOptions struct { Filter *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Search *string }
func DefaultGetOutlookTaskAttachmentsCountOperationOptions ¶
func DefaultGetOutlookTaskAttachmentsCountOperationOptions() GetOutlookTaskAttachmentsCountOperationOptions
func (GetOutlookTaskAttachmentsCountOperationOptions) ToHeaders ¶
func (o GetOutlookTaskAttachmentsCountOperationOptions) ToHeaders() *client.Headers
func (GetOutlookTaskAttachmentsCountOperationOptions) ToOData ¶
func (o GetOutlookTaskAttachmentsCountOperationOptions) ToOData() *odata.Query
func (GetOutlookTaskAttachmentsCountOperationOptions) ToQuery ¶
func (o GetOutlookTaskAttachmentsCountOperationOptions) ToQuery() *client.QueryParams
type ListOutlookTaskAttachmentsCompleteResult ¶
type ListOutlookTaskAttachmentsCompleteResult struct { LatestHttpResponse *http.Response Items []beta.Attachment }
type ListOutlookTaskAttachmentsCustomPager ¶
func (*ListOutlookTaskAttachmentsCustomPager) NextPageLink ¶
func (p *ListOutlookTaskAttachmentsCustomPager) NextPageLink() *odata.Link
type ListOutlookTaskAttachmentsOperationOptions ¶
type ListOutlookTaskAttachmentsOperationOptions 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 DefaultListOutlookTaskAttachmentsOperationOptions ¶
func DefaultListOutlookTaskAttachmentsOperationOptions() ListOutlookTaskAttachmentsOperationOptions
func (ListOutlookTaskAttachmentsOperationOptions) ToHeaders ¶
func (o ListOutlookTaskAttachmentsOperationOptions) ToHeaders() *client.Headers
func (ListOutlookTaskAttachmentsOperationOptions) ToOData ¶
func (o ListOutlookTaskAttachmentsOperationOptions) ToOData() *odata.Query
func (ListOutlookTaskAttachmentsOperationOptions) ToQuery ¶
func (o ListOutlookTaskAttachmentsOperationOptions) ToQuery() *client.QueryParams
type OutlookTaskAttachmentClient ¶
func NewOutlookTaskAttachmentClientWithBaseURI ¶
func NewOutlookTaskAttachmentClientWithBaseURI(sdkApi sdkEnv.Api) (*OutlookTaskAttachmentClient, error)
func (OutlookTaskAttachmentClient) CreateOutlookTaskAttachment ¶
func (c OutlookTaskAttachmentClient) CreateOutlookTaskAttachment(ctx context.Context, id beta.MeOutlookTaskId, input beta.Attachment, options CreateOutlookTaskAttachmentOperationOptions) (result CreateOutlookTaskAttachmentOperationResponse, err error)
CreateOutlookTaskAttachment - Create attachment (deprecated). Use this API to add an attachment to an outlookTask. The attachment can be a file (of fileAttachment type) or Outlook item (itemAttachment type).
func (OutlookTaskAttachmentClient) CreateOutlookTaskAttachmentsUploadSession ¶
func (c OutlookTaskAttachmentClient) CreateOutlookTaskAttachmentsUploadSession(ctx context.Context, id beta.MeOutlookTaskId, input CreateOutlookTaskAttachmentsUploadSessionRequest, options CreateOutlookTaskAttachmentsUploadSessionOperationOptions) (result CreateOutlookTaskAttachmentsUploadSessionOperationResponse, err error)
CreateOutlookTaskAttachmentsUploadSession - 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 (OutlookTaskAttachmentClient) DeleteOutlookTaskAttachment ¶
func (c OutlookTaskAttachmentClient) DeleteOutlookTaskAttachment(ctx context.Context, id beta.MeOutlookTaskIdAttachmentId, options DeleteOutlookTaskAttachmentOperationOptions) (result DeleteOutlookTaskAttachmentOperationResponse, err error)
DeleteOutlookTaskAttachment - Delete navigation property attachments for me
func (OutlookTaskAttachmentClient) GetOutlookTaskAttachment ¶
func (c OutlookTaskAttachmentClient) GetOutlookTaskAttachment(ctx context.Context, id beta.MeOutlookTaskIdAttachmentId, options GetOutlookTaskAttachmentOperationOptions) (result GetOutlookTaskAttachmentOperationResponse, err error)
GetOutlookTaskAttachment - Get attachments from me. The collection of fileAttachment, itemAttachment, and referenceAttachment attachments for the task. Read-only. Nullable.
func (OutlookTaskAttachmentClient) GetOutlookTaskAttachmentsCount ¶
func (c OutlookTaskAttachmentClient) GetOutlookTaskAttachmentsCount(ctx context.Context, id beta.MeOutlookTaskId, options GetOutlookTaskAttachmentsCountOperationOptions) (result GetOutlookTaskAttachmentsCountOperationResponse, err error)
GetOutlookTaskAttachmentsCount - Get the number of the resource
func (OutlookTaskAttachmentClient) ListOutlookTaskAttachments ¶
func (c OutlookTaskAttachmentClient) ListOutlookTaskAttachments(ctx context.Context, id beta.MeOutlookTaskId, options ListOutlookTaskAttachmentsOperationOptions) (result ListOutlookTaskAttachmentsOperationResponse, err error)
ListOutlookTaskAttachments - Get attachments from me. The collection of fileAttachment, itemAttachment, and referenceAttachment attachments for the task. Read-only. Nullable.
func (OutlookTaskAttachmentClient) ListOutlookTaskAttachmentsComplete ¶
func (c OutlookTaskAttachmentClient) ListOutlookTaskAttachmentsComplete(ctx context.Context, id beta.MeOutlookTaskId, options ListOutlookTaskAttachmentsOperationOptions) (ListOutlookTaskAttachmentsCompleteResult, error)
ListOutlookTaskAttachmentsComplete retrieves all the results into a single object
func (OutlookTaskAttachmentClient) ListOutlookTaskAttachmentsCompleteMatchingPredicate ¶
func (c OutlookTaskAttachmentClient) ListOutlookTaskAttachmentsCompleteMatchingPredicate(ctx context.Context, id beta.MeOutlookTaskId, options ListOutlookTaskAttachmentsOperationOptions, predicate AttachmentOperationPredicate) (result ListOutlookTaskAttachmentsCompleteResult, err error)
ListOutlookTaskAttachmentsCompleteMatchingPredicate retrieves all the results and then applies the predicate
Source Files ¶
- client.go
- method_createoutlooktaskattachment.go
- method_createoutlooktaskattachmentsuploadsession.go
- method_deleteoutlooktaskattachment.go
- method_getoutlooktaskattachment.go
- method_getoutlooktaskattachmentscount.go
- method_listoutlooktaskattachments.go
- model_createoutlooktaskattachmentsuploadsessionrequest.go
- predicates.go
- version.go