Documentation ¶
Index ¶
- func CreateCreateUploadSessionPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- type CreateUploadSessionPostRequestBody
- func (m *CreateUploadSessionPostRequestBody) GetAdditionalData() map[string]interface{}
- func (m *CreateUploadSessionPostRequestBody) GetFieldDeserializers() ...
- func (m *CreateUploadSessionPostRequestBody) GetItem() ...
- func (m *CreateUploadSessionPostRequestBody) Serialize(...) error
- func (m *CreateUploadSessionPostRequestBody) SetAdditionalData(value map[string]interface{})
- func (m *CreateUploadSessionPostRequestBody) SetItem(...)
- type CreateUploadSessionPostRequestBodyable
- type CreateUploadSessionRequestBuilder
- type CreateUploadSessionRequestBuilderPostRequestConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCreateUploadSessionPostRequestBodyFromDiscriminatorValue ¶
func CreateCreateUploadSessionPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateCreateUploadSessionPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
Types ¶
type CreateUploadSessionPostRequestBody ¶
type CreateUploadSessionPostRequestBody struct {
// contains filtered or unexported fields
}
CreateUploadSessionPostRequestBody provides operations to call the createUploadSession method.
func NewCreateUploadSessionPostRequestBody ¶
func NewCreateUploadSessionPostRequestBody() *CreateUploadSessionPostRequestBody
NewCreateUploadSessionPostRequestBody instantiates a new createUploadSessionPostRequestBody and sets the default values.
func (*CreateUploadSessionPostRequestBody) GetAdditionalData ¶
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) GetFieldDeserializers ¶
func (m *CreateUploadSessionPostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*CreateUploadSessionPostRequestBody) GetItem ¶
func (m *CreateUploadSessionPostRequestBody) GetItem() iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DriveItemUploadablePropertiesable
GetItem gets the item property value. The item property
func (*CreateUploadSessionPostRequestBody) Serialize ¶
func (m *CreateUploadSessionPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*CreateUploadSessionPostRequestBody) SetAdditionalData ¶
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) SetItem ¶
func (m *CreateUploadSessionPostRequestBody) SetItem(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DriveItemUploadablePropertiesable)
SetItem sets the item property value. The item property
type CreateUploadSessionPostRequestBodyable ¶
type CreateUploadSessionPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetItem() iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DriveItemUploadablePropertiesable SetItem(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DriveItemUploadablePropertiesable) }
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 to allow your app to upload files up to the maximum file size.An upload session allows your app to upload ranges of the file in sequential API requests, which allows the transfer to be resumed if a connection is dropped while the upload is in progress. To upload a file using an upload session, there are two steps:
func (*CreateUploadSessionRequestBuilder) Post ¶
func (m *CreateUploadSessionRequestBuilder) Post(ctx context.Context, body CreateUploadSessionPostRequestBodyable, requestConfiguration *CreateUploadSessionRequestBuilderPostRequestConfiguration) (iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UploadSessionable, error)
Post create an upload session to allow your app to upload files up to the maximum file size.An upload session allows your app to upload ranges of the file in sequential API requests, which allows the transfer to be resumed if a connection is dropped while the upload is in progress. To upload a file using an upload session, there are two steps:
type CreateUploadSessionRequestBuilderPostRequestConfiguration ¶
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.