Documentation ¶
Index ¶
- type AttachmentBaseOperationPredicate
- type CreateTodoListTaskAttachmentOperationOptions
- type CreateTodoListTaskAttachmentOperationResponse
- type CreateTodoListTaskAttachmentsUploadSessionOperationOptions
- type CreateTodoListTaskAttachmentsUploadSessionOperationResponse
- type CreateTodoListTaskAttachmentsUploadSessionRequest
- type DeleteTodoListTaskAttachmentOperationOptions
- type DeleteTodoListTaskAttachmentOperationResponse
- type GetTodoListTaskAttachmentOperationOptions
- type GetTodoListTaskAttachmentOperationResponse
- type GetTodoListTaskAttachmentValueOperationOptions
- type GetTodoListTaskAttachmentValueOperationResponse
- type GetTodoListTaskAttachmentsCountOperationOptions
- type GetTodoListTaskAttachmentsCountOperationResponse
- type ListTodoListTaskAttachmentsCompleteResult
- type ListTodoListTaskAttachmentsCustomPager
- type ListTodoListTaskAttachmentsOperationOptions
- type ListTodoListTaskAttachmentsOperationResponse
- type RemoveTodoListTaskAttachmentValueOperationOptions
- type RemoveTodoListTaskAttachmentValueOperationResponse
- type SetTodoListTaskAttachmentValueOperationOptions
- type SetTodoListTaskAttachmentValueOperationResponse
- type TodoListTaskAttachmentClient
- func (c TodoListTaskAttachmentClient) CreateTodoListTaskAttachment(ctx context.Context, id stable.MeTodoListIdTaskId, input stable.AttachmentBase, ...) (result CreateTodoListTaskAttachmentOperationResponse, err error)
- func (c TodoListTaskAttachmentClient) CreateTodoListTaskAttachmentsUploadSession(ctx context.Context, id stable.MeTodoListIdTaskId, ...) (result CreateTodoListTaskAttachmentsUploadSessionOperationResponse, err error)
- func (c TodoListTaskAttachmentClient) DeleteTodoListTaskAttachment(ctx context.Context, id stable.MeTodoListIdTaskIdAttachmentId, ...) (result DeleteTodoListTaskAttachmentOperationResponse, err error)
- func (c TodoListTaskAttachmentClient) GetTodoListTaskAttachment(ctx context.Context, id stable.MeTodoListIdTaskIdAttachmentId, ...) (result GetTodoListTaskAttachmentOperationResponse, err error)
- func (c TodoListTaskAttachmentClient) GetTodoListTaskAttachmentValue(ctx context.Context, id stable.MeTodoListIdTaskIdAttachmentId, ...) (result GetTodoListTaskAttachmentValueOperationResponse, err error)
- func (c TodoListTaskAttachmentClient) GetTodoListTaskAttachmentsCount(ctx context.Context, id stable.MeTodoListIdTaskId, ...) (result GetTodoListTaskAttachmentsCountOperationResponse, err error)
- func (c TodoListTaskAttachmentClient) ListTodoListTaskAttachments(ctx context.Context, id stable.MeTodoListIdTaskId, ...) (result ListTodoListTaskAttachmentsOperationResponse, err error)
- func (c TodoListTaskAttachmentClient) ListTodoListTaskAttachmentsComplete(ctx context.Context, id stable.MeTodoListIdTaskId, ...) (ListTodoListTaskAttachmentsCompleteResult, error)
- func (c TodoListTaskAttachmentClient) ListTodoListTaskAttachmentsCompleteMatchingPredicate(ctx context.Context, id stable.MeTodoListIdTaskId, ...) (result ListTodoListTaskAttachmentsCompleteResult, err error)
- func (c TodoListTaskAttachmentClient) RemoveTodoListTaskAttachmentValue(ctx context.Context, id stable.MeTodoListIdTaskIdAttachmentId, ...) (result RemoveTodoListTaskAttachmentValueOperationResponse, err error)
- func (c TodoListTaskAttachmentClient) SetTodoListTaskAttachmentValue(ctx context.Context, id stable.MeTodoListIdTaskIdAttachmentId, input []byte, ...) (result SetTodoListTaskAttachmentValueOperationResponse, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AttachmentBaseOperationPredicate ¶
type AttachmentBaseOperationPredicate struct { }
func (AttachmentBaseOperationPredicate) Matches ¶
func (p AttachmentBaseOperationPredicate) Matches(input stable.AttachmentBase) bool
type CreateTodoListTaskAttachmentOperationOptions ¶
type CreateTodoListTaskAttachmentOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateTodoListTaskAttachmentOperationOptions ¶
func DefaultCreateTodoListTaskAttachmentOperationOptions() CreateTodoListTaskAttachmentOperationOptions
func (CreateTodoListTaskAttachmentOperationOptions) ToHeaders ¶
func (o CreateTodoListTaskAttachmentOperationOptions) ToHeaders() *client.Headers
func (CreateTodoListTaskAttachmentOperationOptions) ToOData ¶
func (o CreateTodoListTaskAttachmentOperationOptions) ToOData() *odata.Query
func (CreateTodoListTaskAttachmentOperationOptions) ToQuery ¶
func (o CreateTodoListTaskAttachmentOperationOptions) ToQuery() *client.QueryParams
type CreateTodoListTaskAttachmentsUploadSessionOperationOptions ¶
type CreateTodoListTaskAttachmentsUploadSessionOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateTodoListTaskAttachmentsUploadSessionOperationOptions ¶
func DefaultCreateTodoListTaskAttachmentsUploadSessionOperationOptions() CreateTodoListTaskAttachmentsUploadSessionOperationOptions
func (CreateTodoListTaskAttachmentsUploadSessionOperationOptions) ToHeaders ¶
func (o CreateTodoListTaskAttachmentsUploadSessionOperationOptions) ToHeaders() *client.Headers
func (CreateTodoListTaskAttachmentsUploadSessionOperationOptions) ToOData ¶
func (o CreateTodoListTaskAttachmentsUploadSessionOperationOptions) ToOData() *odata.Query
func (CreateTodoListTaskAttachmentsUploadSessionOperationOptions) ToQuery ¶
func (o CreateTodoListTaskAttachmentsUploadSessionOperationOptions) ToQuery() *client.QueryParams
type CreateTodoListTaskAttachmentsUploadSessionRequest ¶
type CreateTodoListTaskAttachmentsUploadSessionRequest struct {
AttachmentInfo *stable.AttachmentInfo `json:"attachmentInfo,omitempty"`
}
type DeleteTodoListTaskAttachmentOperationOptions ¶
type DeleteTodoListTaskAttachmentOperationOptions struct { IfMatch *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultDeleteTodoListTaskAttachmentOperationOptions ¶
func DefaultDeleteTodoListTaskAttachmentOperationOptions() DeleteTodoListTaskAttachmentOperationOptions
func (DeleteTodoListTaskAttachmentOperationOptions) ToHeaders ¶
func (o DeleteTodoListTaskAttachmentOperationOptions) ToHeaders() *client.Headers
func (DeleteTodoListTaskAttachmentOperationOptions) ToOData ¶
func (o DeleteTodoListTaskAttachmentOperationOptions) ToOData() *odata.Query
func (DeleteTodoListTaskAttachmentOperationOptions) ToQuery ¶
func (o DeleteTodoListTaskAttachmentOperationOptions) ToQuery() *client.QueryParams
type GetTodoListTaskAttachmentOperationOptions ¶
type GetTodoListTaskAttachmentOperationOptions struct { Expand *odata.Expand Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Select *[]string }
func DefaultGetTodoListTaskAttachmentOperationOptions ¶
func DefaultGetTodoListTaskAttachmentOperationOptions() GetTodoListTaskAttachmentOperationOptions
func (GetTodoListTaskAttachmentOperationOptions) ToHeaders ¶
func (o GetTodoListTaskAttachmentOperationOptions) ToHeaders() *client.Headers
func (GetTodoListTaskAttachmentOperationOptions) ToOData ¶
func (o GetTodoListTaskAttachmentOperationOptions) ToOData() *odata.Query
func (GetTodoListTaskAttachmentOperationOptions) ToQuery ¶
func (o GetTodoListTaskAttachmentOperationOptions) ToQuery() *client.QueryParams
type GetTodoListTaskAttachmentValueOperationOptions ¶
type GetTodoListTaskAttachmentValueOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultGetTodoListTaskAttachmentValueOperationOptions ¶
func DefaultGetTodoListTaskAttachmentValueOperationOptions() GetTodoListTaskAttachmentValueOperationOptions
func (GetTodoListTaskAttachmentValueOperationOptions) ToHeaders ¶
func (o GetTodoListTaskAttachmentValueOperationOptions) ToHeaders() *client.Headers
func (GetTodoListTaskAttachmentValueOperationOptions) ToOData ¶
func (o GetTodoListTaskAttachmentValueOperationOptions) ToOData() *odata.Query
func (GetTodoListTaskAttachmentValueOperationOptions) ToQuery ¶
func (o GetTodoListTaskAttachmentValueOperationOptions) ToQuery() *client.QueryParams
type GetTodoListTaskAttachmentsCountOperationOptions ¶
type GetTodoListTaskAttachmentsCountOperationOptions struct { Filter *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Search *string }
func DefaultGetTodoListTaskAttachmentsCountOperationOptions ¶
func DefaultGetTodoListTaskAttachmentsCountOperationOptions() GetTodoListTaskAttachmentsCountOperationOptions
func (GetTodoListTaskAttachmentsCountOperationOptions) ToHeaders ¶
func (o GetTodoListTaskAttachmentsCountOperationOptions) ToHeaders() *client.Headers
func (GetTodoListTaskAttachmentsCountOperationOptions) ToOData ¶
func (o GetTodoListTaskAttachmentsCountOperationOptions) ToOData() *odata.Query
func (GetTodoListTaskAttachmentsCountOperationOptions) ToQuery ¶
func (o GetTodoListTaskAttachmentsCountOperationOptions) ToQuery() *client.QueryParams
type ListTodoListTaskAttachmentsCompleteResult ¶
type ListTodoListTaskAttachmentsCompleteResult struct { LatestHttpResponse *http.Response Items []stable.AttachmentBase }
type ListTodoListTaskAttachmentsCustomPager ¶
type ListTodoListTaskAttachmentsCustomPager struct {
NextLink *odata.Link `json:"@odata.nextLink"`
}
func (*ListTodoListTaskAttachmentsCustomPager) NextPageLink ¶
func (p *ListTodoListTaskAttachmentsCustomPager) NextPageLink() *odata.Link
type ListTodoListTaskAttachmentsOperationOptions ¶
type ListTodoListTaskAttachmentsOperationOptions 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 DefaultListTodoListTaskAttachmentsOperationOptions ¶
func DefaultListTodoListTaskAttachmentsOperationOptions() ListTodoListTaskAttachmentsOperationOptions
func (ListTodoListTaskAttachmentsOperationOptions) ToHeaders ¶
func (o ListTodoListTaskAttachmentsOperationOptions) ToHeaders() *client.Headers
func (ListTodoListTaskAttachmentsOperationOptions) ToOData ¶
func (o ListTodoListTaskAttachmentsOperationOptions) ToOData() *odata.Query
func (ListTodoListTaskAttachmentsOperationOptions) ToQuery ¶
func (o ListTodoListTaskAttachmentsOperationOptions) ToQuery() *client.QueryParams
type RemoveTodoListTaskAttachmentValueOperationOptions ¶
type RemoveTodoListTaskAttachmentValueOperationOptions struct { IfMatch *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultRemoveTodoListTaskAttachmentValueOperationOptions ¶
func DefaultRemoveTodoListTaskAttachmentValueOperationOptions() RemoveTodoListTaskAttachmentValueOperationOptions
func (RemoveTodoListTaskAttachmentValueOperationOptions) ToHeaders ¶
func (o RemoveTodoListTaskAttachmentValueOperationOptions) ToHeaders() *client.Headers
func (RemoveTodoListTaskAttachmentValueOperationOptions) ToOData ¶
func (o RemoveTodoListTaskAttachmentValueOperationOptions) ToOData() *odata.Query
func (RemoveTodoListTaskAttachmentValueOperationOptions) ToQuery ¶
func (o RemoveTodoListTaskAttachmentValueOperationOptions) ToQuery() *client.QueryParams
type SetTodoListTaskAttachmentValueOperationOptions ¶
type SetTodoListTaskAttachmentValueOperationOptions struct { ContentType string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultSetTodoListTaskAttachmentValueOperationOptions ¶
func DefaultSetTodoListTaskAttachmentValueOperationOptions() SetTodoListTaskAttachmentValueOperationOptions
func (SetTodoListTaskAttachmentValueOperationOptions) ToHeaders ¶
func (o SetTodoListTaskAttachmentValueOperationOptions) ToHeaders() *client.Headers
func (SetTodoListTaskAttachmentValueOperationOptions) ToOData ¶
func (o SetTodoListTaskAttachmentValueOperationOptions) ToOData() *odata.Query
func (SetTodoListTaskAttachmentValueOperationOptions) ToQuery ¶
func (o SetTodoListTaskAttachmentValueOperationOptions) ToQuery() *client.QueryParams
type TodoListTaskAttachmentClient ¶
func NewTodoListTaskAttachmentClientWithBaseURI ¶
func NewTodoListTaskAttachmentClientWithBaseURI(sdkApi sdkEnv.Api) (*TodoListTaskAttachmentClient, error)
func (TodoListTaskAttachmentClient) CreateTodoListTaskAttachment ¶
func (c TodoListTaskAttachmentClient) CreateTodoListTaskAttachment(ctx context.Context, id stable.MeTodoListIdTaskId, input stable.AttachmentBase, options CreateTodoListTaskAttachmentOperationOptions) (result CreateTodoListTaskAttachmentOperationResponse, err error)
CreateTodoListTaskAttachment - Create taskFileAttachment. Add a new taskFileAttachment object to a todoTask. This operation limits the size of the attachment you can add to under 3 MB. If the size of the file attachments is more than 3 MB, create an upload session to upload the attachments.
func (TodoListTaskAttachmentClient) CreateTodoListTaskAttachmentsUploadSession ¶
func (c TodoListTaskAttachmentClient) CreateTodoListTaskAttachmentsUploadSession(ctx context.Context, id stable.MeTodoListIdTaskId, input CreateTodoListTaskAttachmentsUploadSessionRequest, options CreateTodoListTaskAttachmentsUploadSessionOperationOptions) (result CreateTodoListTaskAttachmentsUploadSessionOperationResponse, err error)
CreateTodoListTaskAttachmentsUploadSession - Invoke action createUploadSession. Create an upload session to iteratively upload ranges of a file as an attachment to a todoTask. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. The request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows the transfer to be resumed, in case the network connection is dropped during the upload. The following are the steps to attach a file to a Microsoft To Do task using an upload session: For an example that describes the end-to-end attachment process, see attach files to a To Do task.
func (TodoListTaskAttachmentClient) DeleteTodoListTaskAttachment ¶
func (c TodoListTaskAttachmentClient) DeleteTodoListTaskAttachment(ctx context.Context, id stable.MeTodoListIdTaskIdAttachmentId, options DeleteTodoListTaskAttachmentOperationOptions) (result DeleteTodoListTaskAttachmentOperationResponse, err error)
DeleteTodoListTaskAttachment - Delete taskFileAttachment. Delete a taskFileAttachment object from a todoTask resource.
func (TodoListTaskAttachmentClient) GetTodoListTaskAttachment ¶
func (c TodoListTaskAttachmentClient) GetTodoListTaskAttachment(ctx context.Context, id stable.MeTodoListIdTaskIdAttachmentId, options GetTodoListTaskAttachmentOperationOptions) (result GetTodoListTaskAttachmentOperationResponse, err error)
GetTodoListTaskAttachment - Get taskFileAttachment. Read the properties and relationships of a taskFileAttachment object.
func (TodoListTaskAttachmentClient) GetTodoListTaskAttachmentValue ¶
func (c TodoListTaskAttachmentClient) GetTodoListTaskAttachmentValue(ctx context.Context, id stable.MeTodoListIdTaskIdAttachmentId, options GetTodoListTaskAttachmentValueOperationOptions) (result GetTodoListTaskAttachmentValueOperationResponse, err error)
GetTodoListTaskAttachmentValue - List taskFileAttachments. Get a list of the taskFileAttachment objects and their properties. The contentBytes property will not be returned in the response. Use the Get attachment API to view the contentBytes.
func (TodoListTaskAttachmentClient) GetTodoListTaskAttachmentsCount ¶
func (c TodoListTaskAttachmentClient) GetTodoListTaskAttachmentsCount(ctx context.Context, id stable.MeTodoListIdTaskId, options GetTodoListTaskAttachmentsCountOperationOptions) (result GetTodoListTaskAttachmentsCountOperationResponse, err error)
GetTodoListTaskAttachmentsCount - Get the number of the resource
func (TodoListTaskAttachmentClient) ListTodoListTaskAttachments ¶
func (c TodoListTaskAttachmentClient) ListTodoListTaskAttachments(ctx context.Context, id stable.MeTodoListIdTaskId, options ListTodoListTaskAttachmentsOperationOptions) (result ListTodoListTaskAttachmentsOperationResponse, err error)
ListTodoListTaskAttachments - List taskFileAttachments. Get a list of the taskFileAttachment objects and their properties. The contentBytes property will not be returned in the response. Use the Get attachment API to view the contentBytes.
func (TodoListTaskAttachmentClient) ListTodoListTaskAttachmentsComplete ¶
func (c TodoListTaskAttachmentClient) ListTodoListTaskAttachmentsComplete(ctx context.Context, id stable.MeTodoListIdTaskId, options ListTodoListTaskAttachmentsOperationOptions) (ListTodoListTaskAttachmentsCompleteResult, error)
ListTodoListTaskAttachmentsComplete retrieves all the results into a single object
func (TodoListTaskAttachmentClient) ListTodoListTaskAttachmentsCompleteMatchingPredicate ¶
func (c TodoListTaskAttachmentClient) ListTodoListTaskAttachmentsCompleteMatchingPredicate(ctx context.Context, id stable.MeTodoListIdTaskId, options ListTodoListTaskAttachmentsOperationOptions, predicate AttachmentBaseOperationPredicate) (result ListTodoListTaskAttachmentsCompleteResult, err error)
ListTodoListTaskAttachmentsCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (TodoListTaskAttachmentClient) RemoveTodoListTaskAttachmentValue ¶
func (c TodoListTaskAttachmentClient) RemoveTodoListTaskAttachmentValue(ctx context.Context, id stable.MeTodoListIdTaskIdAttachmentId, options RemoveTodoListTaskAttachmentValueOperationOptions) (result RemoveTodoListTaskAttachmentValueOperationResponse, err error)
RemoveTodoListTaskAttachmentValue - Delete taskFileAttachment. Delete a taskFileAttachment object from a todoTask resource.
func (TodoListTaskAttachmentClient) SetTodoListTaskAttachmentValue ¶
func (c TodoListTaskAttachmentClient) SetTodoListTaskAttachmentValue(ctx context.Context, id stable.MeTodoListIdTaskIdAttachmentId, input []byte, options SetTodoListTaskAttachmentValueOperationOptions) (result SetTodoListTaskAttachmentValueOperationResponse, err error)
SetTodoListTaskAttachmentValue - Update media content for the navigation property attachments in me. The unique identifier for an entity. Read-only.
Source Files ¶
- client.go
- method_createtodolisttaskattachment.go
- method_createtodolisttaskattachmentsuploadsession.go
- method_deletetodolisttaskattachment.go
- method_gettodolisttaskattachment.go
- method_gettodolisttaskattachmentscount.go
- method_gettodolisttaskattachmentvalue.go
- method_listtodolisttaskattachments.go
- method_removetodolisttaskattachmentvalue.go
- method_settodolisttaskattachmentvalue.go
- model_createtodolisttaskattachmentsuploadsessionrequest.go
- predicates.go
- version.go