restore

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RestoreRequestBody

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

func NewRestoreRequestBody

func NewRestoreRequestBody() *RestoreRequestBody

Instantiates a new restoreRequestBody and sets the default values.

func (*RestoreRequestBody) GetAdditionalData

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

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 (*RestoreRequestBody) GetFieldDeserializers

The deserialization information for the current model

func (*RestoreRequestBody) GetName

func (m *RestoreRequestBody) GetName() *string

Gets the name property value.

func (*RestoreRequestBody) GetParentReference

Gets the parentReference property value.

func (*RestoreRequestBody) IsNil

func (m *RestoreRequestBody) IsNil() bool

func (*RestoreRequestBody) Serialize

Serializes information the current object Parameters:

  • writer : Serialization writer to use to serialize this model

func (*RestoreRequestBody) SetAdditionalData

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

Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. Parameters:

  • value : Value to set for the AdditionalData property.

func (*RestoreRequestBody) SetName

func (m *RestoreRequestBody) SetName(value *string)

Sets the name property value. Parameters:

  • value : Value to set for the name property.

func (*RestoreRequestBody) SetParentReference

Sets the parentReference property value. Parameters:

  • value : Value to set for the parentReference property.

type RestoreRequestBuilder

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

Builds and executes requests for operations under \workbooks\{driveItem-id}\microsoft.graph.restore

func NewRestoreRequestBuilder

Instantiates a new RestoreRequestBuilder and sets the default values. Parameters:

  • rawUrl : The raw URL to use for the request builder.
  • requestAdapter : The request adapter to use to execute the requests.

func NewRestoreRequestBuilderInternal

func NewRestoreRequestBuilderInternal(pathParameters map[string]string, requestAdapter ida96af0f171bb75f894a4013a6b3146a4397c58f11adb81a2b7cbea9314783a9.RequestAdapter) *RestoreRequestBuilder

Instantiates a new RestoreRequestBuilder and sets the default values. Parameters:

  • pathParameters : Path parameters for the request
  • requestAdapter : The request adapter to use to execute the requests.

func (*RestoreRequestBuilder) CreatePostRequestInformation

Invoke action restore Parameters:

  • options : Options for the request

func (*RestoreRequestBuilder) Post

Invoke action restore Parameters:

  • options : Options for the request

type RestoreRequestBuilderPostOptions

type RestoreRequestBuilderPostOptions struct {
	//
	Body *RestoreRequestBody
	// Request headers
	H map[string]string
	// Request options
	O []ida96af0f171bb75f894a4013a6b3146a4397c58f11adb81a2b7cbea9314783a9.RequestOption
	// Response handler to use in place of the default response handling provided by the core service
	ResponseHandler ida96af0f171bb75f894a4013a6b3146a4397c58f11adb81a2b7cbea9314783a9.ResponseHandler
}

Options for Post

type RestoreResponse

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

Union type wrapper for classes driveItem

func NewRestoreResponse

func NewRestoreResponse() *RestoreResponse

Instantiates a new restoreResponse and sets the default values.

func (*RestoreResponse) GetAdditionalData

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

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 (*RestoreResponse) GetDriveItem

Gets the driveItem property value. Union type representation for type driveItem

func (*RestoreResponse) GetFieldDeserializers

The deserialization information for the current model

func (*RestoreResponse) IsNil

func (m *RestoreResponse) IsNil() bool

func (*RestoreResponse) Serialize

Serializes information the current object Parameters:

  • writer : Serialization writer to use to serialize this model

func (*RestoreResponse) SetAdditionalData

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

Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. Parameters:

  • value : Value to set for the AdditionalData property.

func (*RestoreResponse) SetDriveItem

Sets the driveItem property value. Union type representation for type driveItem Parameters:

  • value : Value to set for the driveItem property.

Jump to

Keyboard shortcuts

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