Documentation ¶
Index ¶
- func CreateCreateUploadSessionPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- type CreateUploadSessionPostRequestBody
- func (m *CreateUploadSessionPostRequestBody) GetAdditionalData() map[string]interface{}
- func (m *CreateUploadSessionPostRequestBody) GetAttachmentItem() ...
- func (m *CreateUploadSessionPostRequestBody) GetFieldDeserializers() ...
- func (m *CreateUploadSessionPostRequestBody) Serialize(...) error
- func (m *CreateUploadSessionPostRequestBody) SetAdditionalData(value map[string]interface{})
- func (m *CreateUploadSessionPostRequestBody) SetAttachmentItem(...)
- type CreateUploadSessionPostRequestBodyable
- type CreateUploadSessionRequestBuilder
- type CreateUploadSessionRequestBuilderPostRequestConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCreateUploadSessionPostRequestBodyFromDiscriminatorValue ¶ added in v0.24.0
func CreateCreateUploadSessionPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
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
func (m *CreateUploadSessionPostRequestBody) GetAttachmentItem() iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AttachmentItemable
GetAttachmentItem gets the attachmentItem property value. The AttachmentItem property
func (*CreateUploadSessionPostRequestBody) GetFieldDeserializers ¶ added in v0.24.0
func (m *CreateUploadSessionPostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*CreateUploadSessionPostRequestBody) Serialize ¶ added in v0.24.0
func (m *CreateUploadSessionPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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
func (m *CreateUploadSessionPostRequestBody) SetAttachmentItem(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AttachmentItemable)
SetAttachmentItem sets the attachmentItem property value. The AttachmentItem property
type CreateUploadSessionPostRequestBodyable ¶ added in v0.24.0
type CreateUploadSessionPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetAttachmentItem() iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AttachmentItemable SetAttachmentItem(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AttachmentItemable) }
CreateUploadSessionPostRequestBodyable
type CreateUploadSessionRequestBuilder ¶
type CreateUploadSessionRequestBuilder struct {
// contains filtered or unexported fields
}
CreateUploadSessionRequestBuilder provides operations to call the createUploadSession method.
func NewCreateUploadSessionRequestBuilder ¶
func NewCreateUploadSessionRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *CreateUploadSessionRequestBuilder
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 ¶
func (m *CreateUploadSessionRequestBuilder) CreatePostRequestInformation(ctx context.Context, body CreateUploadSessionPostRequestBodyable, requestConfiguration *CreateUploadSessionRequestBuilderPostRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *CreateUploadSessionRequestBuilder) Post(ctx context.Context, body CreateUploadSessionPostRequestBodyable, requestConfiguration *CreateUploadSessionRequestBuilderPostRequestConfiguration) (iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UploadSessionable, error)
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.