createuploadsession

package
v0.44.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 18, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateCreateUploadSessionPostRequestBodyFromDiscriminatorValue added in v0.24.0

CreateCreateUploadSessionPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value

Types

type CreateUploadSessionPostRequestBody added in v0.24.0

type CreateUploadSessionPostRequestBody struct {
	// contains filtered or unexported fields
}

CreateUploadSessionPostRequestBody provides operations to call the createUploadSession method.

func NewCreateUploadSessionPostRequestBody added in v0.24.0

func NewCreateUploadSessionPostRequestBody() *CreateUploadSessionPostRequestBody

NewCreateUploadSessionPostRequestBody instantiates a new createUploadSessionPostRequestBody and sets the default values.

func (*CreateUploadSessionPostRequestBody) GetAdditionalData added in v0.24.0

func (m *CreateUploadSessionPostRequestBody) GetAdditionalData() map[string]interface{}

GetAdditionalData gets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*CreateUploadSessionPostRequestBody) GetAttachmentItem added in v0.24.0

GetAttachmentItem gets the attachmentItem property value. The AttachmentItem property

func (*CreateUploadSessionPostRequestBody) GetFieldDeserializers added in v0.24.0

GetFieldDeserializers the deserialization information for the current model

func (*CreateUploadSessionPostRequestBody) Serialize added in v0.24.0

Serialize serializes information the current object

func (*CreateUploadSessionPostRequestBody) SetAdditionalData added in v0.24.0

func (m *CreateUploadSessionPostRequestBody) SetAdditionalData(value map[string]interface{})

SetAdditionalData sets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*CreateUploadSessionPostRequestBody) SetAttachmentItem added in v0.24.0

SetAttachmentItem sets the attachmentItem property value. The AttachmentItem property

type CreateUploadSessionRequestBuilder

type CreateUploadSessionRequestBuilder struct {
	// contains filtered or unexported fields
}

CreateUploadSessionRequestBuilder provides operations to call the createUploadSession method.

func NewCreateUploadSessionRequestBuilder

NewCreateUploadSessionRequestBuilder instantiates a new CreateUploadSessionRequestBuilder and sets the default values.

func NewCreateUploadSessionRequestBuilderInternal

func NewCreateUploadSessionRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *CreateUploadSessionRequestBuilder

NewCreateUploadSessionRequestBuilderInternal instantiates a new CreateUploadSessionRequestBuilder and sets the default values.

func (*CreateUploadSessionRequestBuilder) CreatePostRequestInformation

CreatePostRequestInformation 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 (*CreateUploadSessionRequestBuilder) Post

Post 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.

type CreateUploadSessionRequestBuilderPostRequestConfiguration added in v0.22.0

type CreateUploadSessionRequestBuilderPostRequestConfiguration struct {
	// Request headers
	Headers map[string]string
	// Request options
	Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption
}

CreateUploadSessionRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL