Documentation ¶
Index ¶
- func CreateRestorePostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- type RestorePostRequestBody
- func (m *RestorePostRequestBody) GetAdditionalData() map[string]interface{}
- func (m *RestorePostRequestBody) GetFieldDeserializers() ...
- func (m *RestorePostRequestBody) GetName() *string
- func (m *RestorePostRequestBody) GetParentReference() ...
- func (m *RestorePostRequestBody) Serialize(...) error
- func (m *RestorePostRequestBody) SetAdditionalData(value map[string]interface{})
- func (m *RestorePostRequestBody) SetName(value *string)
- func (m *RestorePostRequestBody) SetParentReference(...)
- type RestorePostRequestBodyable
- type RestoreRequestBuilder
- type RestoreRequestBuilderPostRequestConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateRestorePostRequestBodyFromDiscriminatorValue ¶
func CreateRestorePostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateRestorePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
Types ¶
type RestorePostRequestBody ¶
type RestorePostRequestBody struct {
// contains filtered or unexported fields
}
RestorePostRequestBody provides operations to call the restore method.
func NewRestorePostRequestBody ¶
func NewRestorePostRequestBody() *RestorePostRequestBody
NewRestorePostRequestBody instantiates a new restorePostRequestBody and sets the default values.
func (*RestorePostRequestBody) GetAdditionalData ¶
func (m *RestorePostRequestBody) 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 (*RestorePostRequestBody) GetFieldDeserializers ¶
func (m *RestorePostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*RestorePostRequestBody) GetName ¶
func (m *RestorePostRequestBody) GetName() *string
GetName gets the name property value. The name property
func (*RestorePostRequestBody) GetParentReference ¶
func (m *RestorePostRequestBody) GetParentReference() iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemReferenceable
GetParentReference gets the parentReference property value. The parentReference property
func (*RestorePostRequestBody) Serialize ¶
func (m *RestorePostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*RestorePostRequestBody) SetAdditionalData ¶
func (m *RestorePostRequestBody) 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 (*RestorePostRequestBody) SetName ¶
func (m *RestorePostRequestBody) SetName(value *string)
SetName sets the name property value. The name property
func (*RestorePostRequestBody) SetParentReference ¶
func (m *RestorePostRequestBody) SetParentReference(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemReferenceable)
SetParentReference sets the parentReference property value. The parentReference property
type RestorePostRequestBodyable ¶
type RestorePostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetName() *string GetParentReference() iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemReferenceable SetName(value *string) SetParentReference(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemReferenceable) }
RestorePostRequestBodyable
type RestoreRequestBuilder ¶
type RestoreRequestBuilder struct {
// contains filtered or unexported fields
}
RestoreRequestBuilder provides operations to call the restore method.
func NewRestoreRequestBuilder ¶
func NewRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *RestoreRequestBuilder
NewRestoreRequestBuilder instantiates a new RestoreRequestBuilder and sets the default values.
func NewRestoreRequestBuilderInternal ¶
func NewRestoreRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *RestoreRequestBuilder
NewRestoreRequestBuilderInternal instantiates a new RestoreRequestBuilder and sets the default values.
func (*RestoreRequestBuilder) CreatePostRequestInformation ¶
func (m *RestoreRequestBuilder) CreatePostRequestInformation(ctx context.Context, body RestorePostRequestBodyable, requestConfiguration *RestoreRequestBuilderPostRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
CreatePostRequestInformation restore a driveItem that has been deleted and is currently in the recycle bin. **NOTE**: This functionality is currently only available for OneDrive Personal.
func (*RestoreRequestBuilder) Post ¶
func (m *RestoreRequestBuilder) Post(ctx context.Context, body RestorePostRequestBodyable, requestConfiguration *RestoreRequestBuilderPostRequestConfiguration) (iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DriveItemable, error)
Post restore a driveItem that has been deleted and is currently in the recycle bin. **NOTE**: This functionality is currently only available for OneDrive Personal.
type RestoreRequestBuilderPostRequestConfiguration ¶
type RestoreRequestBuilderPostRequestConfiguration struct { // Request headers Headers map[string]string // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
RestoreRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.