Documentation ¶
Index ¶
- type AttachmentOperationPredicate
- type CreateThreadPostAttachmentOperationOptions
- type CreateThreadPostAttachmentOperationResponse
- type CreateThreadPostAttachmentsUploadSessionOperationOptions
- type CreateThreadPostAttachmentsUploadSessionOperationResponse
- type CreateThreadPostAttachmentsUploadSessionRequest
- type DeleteThreadPostAttachmentOperationOptions
- type DeleteThreadPostAttachmentOperationResponse
- type GetThreadPostAttachmentOperationOptions
- type GetThreadPostAttachmentOperationResponse
- type GetThreadPostAttachmentsCountOperationOptions
- type GetThreadPostAttachmentsCountOperationResponse
- type ListThreadPostAttachmentsCompleteResult
- type ListThreadPostAttachmentsCustomPager
- type ListThreadPostAttachmentsOperationOptions
- type ListThreadPostAttachmentsOperationResponse
- type ThreadPostAttachmentClient
- func (c ThreadPostAttachmentClient) CreateThreadPostAttachment(ctx context.Context, id stable.GroupIdThreadIdPostId, input stable.Attachment, ...) (result CreateThreadPostAttachmentOperationResponse, err error)
- func (c ThreadPostAttachmentClient) CreateThreadPostAttachmentsUploadSession(ctx context.Context, id stable.GroupIdThreadIdPostId, ...) (result CreateThreadPostAttachmentsUploadSessionOperationResponse, err error)
- func (c ThreadPostAttachmentClient) DeleteThreadPostAttachment(ctx context.Context, id stable.GroupIdThreadIdPostIdAttachmentId, ...) (result DeleteThreadPostAttachmentOperationResponse, err error)
- func (c ThreadPostAttachmentClient) GetThreadPostAttachment(ctx context.Context, id stable.GroupIdThreadIdPostIdAttachmentId, ...) (result GetThreadPostAttachmentOperationResponse, err error)
- func (c ThreadPostAttachmentClient) GetThreadPostAttachmentsCount(ctx context.Context, id stable.GroupIdThreadIdPostId, ...) (result GetThreadPostAttachmentsCountOperationResponse, err error)
- func (c ThreadPostAttachmentClient) ListThreadPostAttachments(ctx context.Context, id stable.GroupIdThreadIdPostId, ...) (result ListThreadPostAttachmentsOperationResponse, err error)
- func (c ThreadPostAttachmentClient) ListThreadPostAttachmentsComplete(ctx context.Context, id stable.GroupIdThreadIdPostId, ...) (ListThreadPostAttachmentsCompleteResult, error)
- func (c ThreadPostAttachmentClient) ListThreadPostAttachmentsCompleteMatchingPredicate(ctx context.Context, id stable.GroupIdThreadIdPostId, ...) (result ListThreadPostAttachmentsCompleteResult, 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 stable.Attachment) bool
type CreateThreadPostAttachmentOperationOptions ¶
type CreateThreadPostAttachmentOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateThreadPostAttachmentOperationOptions ¶
func DefaultCreateThreadPostAttachmentOperationOptions() CreateThreadPostAttachmentOperationOptions
func (CreateThreadPostAttachmentOperationOptions) ToHeaders ¶
func (o CreateThreadPostAttachmentOperationOptions) ToHeaders() *client.Headers
func (CreateThreadPostAttachmentOperationOptions) ToOData ¶
func (o CreateThreadPostAttachmentOperationOptions) ToOData() *odata.Query
func (CreateThreadPostAttachmentOperationOptions) ToQuery ¶
func (o CreateThreadPostAttachmentOperationOptions) ToQuery() *client.QueryParams
type CreateThreadPostAttachmentsUploadSessionOperationOptions ¶
type CreateThreadPostAttachmentsUploadSessionOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateThreadPostAttachmentsUploadSessionOperationOptions ¶
func DefaultCreateThreadPostAttachmentsUploadSessionOperationOptions() CreateThreadPostAttachmentsUploadSessionOperationOptions
func (CreateThreadPostAttachmentsUploadSessionOperationOptions) ToHeaders ¶
func (o CreateThreadPostAttachmentsUploadSessionOperationOptions) ToHeaders() *client.Headers
func (CreateThreadPostAttachmentsUploadSessionOperationOptions) ToOData ¶
func (o CreateThreadPostAttachmentsUploadSessionOperationOptions) ToOData() *odata.Query
func (CreateThreadPostAttachmentsUploadSessionOperationOptions) ToQuery ¶
func (o CreateThreadPostAttachmentsUploadSessionOperationOptions) ToQuery() *client.QueryParams
type CreateThreadPostAttachmentsUploadSessionRequest ¶
type CreateThreadPostAttachmentsUploadSessionRequest struct {
AttachmentItem *stable.AttachmentItem `json:"AttachmentItem,omitempty"`
}
type DeleteThreadPostAttachmentOperationOptions ¶
type DeleteThreadPostAttachmentOperationOptions struct { IfMatch *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultDeleteThreadPostAttachmentOperationOptions ¶
func DefaultDeleteThreadPostAttachmentOperationOptions() DeleteThreadPostAttachmentOperationOptions
func (DeleteThreadPostAttachmentOperationOptions) ToHeaders ¶
func (o DeleteThreadPostAttachmentOperationOptions) ToHeaders() *client.Headers
func (DeleteThreadPostAttachmentOperationOptions) ToOData ¶
func (o DeleteThreadPostAttachmentOperationOptions) ToOData() *odata.Query
func (DeleteThreadPostAttachmentOperationOptions) ToQuery ¶
func (o DeleteThreadPostAttachmentOperationOptions) ToQuery() *client.QueryParams
type GetThreadPostAttachmentOperationOptions ¶
type GetThreadPostAttachmentOperationOptions struct { Expand *odata.Expand Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Select *[]string }
func DefaultGetThreadPostAttachmentOperationOptions ¶
func DefaultGetThreadPostAttachmentOperationOptions() GetThreadPostAttachmentOperationOptions
func (GetThreadPostAttachmentOperationOptions) ToHeaders ¶
func (o GetThreadPostAttachmentOperationOptions) ToHeaders() *client.Headers
func (GetThreadPostAttachmentOperationOptions) ToOData ¶
func (o GetThreadPostAttachmentOperationOptions) ToOData() *odata.Query
func (GetThreadPostAttachmentOperationOptions) ToQuery ¶
func (o GetThreadPostAttachmentOperationOptions) ToQuery() *client.QueryParams
type GetThreadPostAttachmentsCountOperationOptions ¶
type GetThreadPostAttachmentsCountOperationOptions struct { Filter *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Search *string }
func DefaultGetThreadPostAttachmentsCountOperationOptions ¶
func DefaultGetThreadPostAttachmentsCountOperationOptions() GetThreadPostAttachmentsCountOperationOptions
func (GetThreadPostAttachmentsCountOperationOptions) ToHeaders ¶
func (o GetThreadPostAttachmentsCountOperationOptions) ToHeaders() *client.Headers
func (GetThreadPostAttachmentsCountOperationOptions) ToOData ¶
func (o GetThreadPostAttachmentsCountOperationOptions) ToOData() *odata.Query
func (GetThreadPostAttachmentsCountOperationOptions) ToQuery ¶
func (o GetThreadPostAttachmentsCountOperationOptions) ToQuery() *client.QueryParams
type ListThreadPostAttachmentsCompleteResult ¶
type ListThreadPostAttachmentsCompleteResult struct { LatestHttpResponse *http.Response Items []stable.Attachment }
type ListThreadPostAttachmentsCustomPager ¶
func (*ListThreadPostAttachmentsCustomPager) NextPageLink ¶
func (p *ListThreadPostAttachmentsCustomPager) NextPageLink() *odata.Link
type ListThreadPostAttachmentsOperationOptions ¶
type ListThreadPostAttachmentsOperationOptions 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 DefaultListThreadPostAttachmentsOperationOptions ¶
func DefaultListThreadPostAttachmentsOperationOptions() ListThreadPostAttachmentsOperationOptions
func (ListThreadPostAttachmentsOperationOptions) ToHeaders ¶
func (o ListThreadPostAttachmentsOperationOptions) ToHeaders() *client.Headers
func (ListThreadPostAttachmentsOperationOptions) ToOData ¶
func (o ListThreadPostAttachmentsOperationOptions) ToOData() *odata.Query
func (ListThreadPostAttachmentsOperationOptions) ToQuery ¶
func (o ListThreadPostAttachmentsOperationOptions) ToQuery() *client.QueryParams
type ThreadPostAttachmentClient ¶
func NewThreadPostAttachmentClientWithBaseURI ¶
func NewThreadPostAttachmentClientWithBaseURI(sdkApi sdkEnv.Api) (*ThreadPostAttachmentClient, error)
func (ThreadPostAttachmentClient) CreateThreadPostAttachment ¶
func (c ThreadPostAttachmentClient) CreateThreadPostAttachment(ctx context.Context, id stable.GroupIdThreadIdPostId, input stable.Attachment, options CreateThreadPostAttachmentOperationOptions) (result CreateThreadPostAttachmentOperationResponse, err error)
CreateThreadPostAttachment - Create new navigation property to attachments for groups
func (ThreadPostAttachmentClient) CreateThreadPostAttachmentsUploadSession ¶
func (c ThreadPostAttachmentClient) CreateThreadPostAttachmentsUploadSession(ctx context.Context, id stable.GroupIdThreadIdPostId, input CreateThreadPostAttachmentsUploadSessionRequest, options CreateThreadPostAttachmentsUploadSessionOperationOptions) (result CreateThreadPostAttachmentsUploadSessionOperationResponse, err error)
CreateThreadPostAttachmentsUploadSession - 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 the specified 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 (ThreadPostAttachmentClient) DeleteThreadPostAttachment ¶
func (c ThreadPostAttachmentClient) DeleteThreadPostAttachment(ctx context.Context, id stable.GroupIdThreadIdPostIdAttachmentId, options DeleteThreadPostAttachmentOperationOptions) (result DeleteThreadPostAttachmentOperationResponse, err error)
DeleteThreadPostAttachment - Delete navigation property attachments for groups
func (ThreadPostAttachmentClient) GetThreadPostAttachment ¶
func (c ThreadPostAttachmentClient) GetThreadPostAttachment(ctx context.Context, id stable.GroupIdThreadIdPostIdAttachmentId, options GetThreadPostAttachmentOperationOptions) (result GetThreadPostAttachmentOperationResponse, err error)
GetThreadPostAttachment - Get attachments from groups. Read-only. Nullable. Supports $expand.
func (ThreadPostAttachmentClient) GetThreadPostAttachmentsCount ¶
func (c ThreadPostAttachmentClient) GetThreadPostAttachmentsCount(ctx context.Context, id stable.GroupIdThreadIdPostId, options GetThreadPostAttachmentsCountOperationOptions) (result GetThreadPostAttachmentsCountOperationResponse, err error)
GetThreadPostAttachmentsCount - Get the number of the resource
func (ThreadPostAttachmentClient) ListThreadPostAttachments ¶
func (c ThreadPostAttachmentClient) ListThreadPostAttachments(ctx context.Context, id stable.GroupIdThreadIdPostId, options ListThreadPostAttachmentsOperationOptions) (result ListThreadPostAttachmentsOperationResponse, err error)
ListThreadPostAttachments - List attachments. Retrieve a list of attachment objects attached to a post.
func (ThreadPostAttachmentClient) ListThreadPostAttachmentsComplete ¶
func (c ThreadPostAttachmentClient) ListThreadPostAttachmentsComplete(ctx context.Context, id stable.GroupIdThreadIdPostId, options ListThreadPostAttachmentsOperationOptions) (ListThreadPostAttachmentsCompleteResult, error)
ListThreadPostAttachmentsComplete retrieves all the results into a single object
func (ThreadPostAttachmentClient) ListThreadPostAttachmentsCompleteMatchingPredicate ¶
func (c ThreadPostAttachmentClient) ListThreadPostAttachmentsCompleteMatchingPredicate(ctx context.Context, id stable.GroupIdThreadIdPostId, options ListThreadPostAttachmentsOperationOptions, predicate AttachmentOperationPredicate) (result ListThreadPostAttachmentsCompleteResult, err error)
ListThreadPostAttachmentsCompleteMatchingPredicate retrieves all the results and then applies the predicate
Source Files ¶
- client.go
- method_createthreadpostattachment.go
- method_createthreadpostattachmentsuploadsession.go
- method_deletethreadpostattachment.go
- method_getthreadpostattachment.go
- method_getthreadpostattachmentscount.go
- method_listthreadpostattachments.go
- model_createthreadpostattachmentsuploadsessionrequest.go
- predicates.go
- version.go