Documentation ¶
Index ¶
- func CreateCopyPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- type CopyPostRequestBody
- func (m *CopyPostRequestBody) GetAdditionalData() map[string]interface{}
- func (m *CopyPostRequestBody) GetFieldDeserializers() ...
- func (m *CopyPostRequestBody) GetName() *string
- func (m *CopyPostRequestBody) GetParentReference() ...
- func (m *CopyPostRequestBody) Serialize(...) error
- func (m *CopyPostRequestBody) SetAdditionalData(value map[string]interface{})
- func (m *CopyPostRequestBody) SetName(value *string)
- func (m *CopyPostRequestBody) SetParentReference(...)
- type CopyPostRequestBodyable
- type CopyRequestBuilder
- func (m *CopyRequestBuilder) CreatePostRequestInformation(body CopyPostRequestBodyable) (...)
- func (m *CopyRequestBuilder) CreatePostRequestInformationWithRequestConfiguration(body CopyPostRequestBodyable, ...) (...)
- func (m *CopyRequestBuilder) Post(ctx context.Context, body CopyPostRequestBodyable, ...) (...)
- type CopyRequestBuilderPostRequestConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCopyPostRequestBodyFromDiscriminatorValue ¶
func CreateCopyPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateCopyPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
Types ¶
type CopyPostRequestBody ¶
type CopyPostRequestBody struct {
// contains filtered or unexported fields
}
CopyPostRequestBody provides operations to call the copy method.
func NewCopyPostRequestBody ¶
func NewCopyPostRequestBody() *CopyPostRequestBody
NewCopyPostRequestBody instantiates a new copyPostRequestBody and sets the default values.
func (*CopyPostRequestBody) GetAdditionalData ¶
func (m *CopyPostRequestBody) 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 (*CopyPostRequestBody) GetFieldDeserializers ¶
func (m *CopyPostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*CopyPostRequestBody) GetName ¶
func (m *CopyPostRequestBody) GetName() *string
GetName gets the name property value. The name property
func (*CopyPostRequestBody) GetParentReference ¶
func (m *CopyPostRequestBody) GetParentReference() iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemReferenceable
GetParentReference gets the parentReference property value. The parentReference property
func (*CopyPostRequestBody) Serialize ¶
func (m *CopyPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*CopyPostRequestBody) SetAdditionalData ¶
func (m *CopyPostRequestBody) 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 (*CopyPostRequestBody) SetName ¶
func (m *CopyPostRequestBody) SetName(value *string)
SetName sets the name property value. The name property
func (*CopyPostRequestBody) SetParentReference ¶
func (m *CopyPostRequestBody) SetParentReference(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemReferenceable)
SetParentReference sets the parentReference property value. The parentReference property
type CopyPostRequestBodyable ¶
type CopyPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetName() *string GetParentReference() iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemReferenceable SetName(value *string) SetParentReference(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemReferenceable) }
CopyPostRequestBodyable
type CopyRequestBuilder ¶
type CopyRequestBuilder struct {
// contains filtered or unexported fields
}
CopyRequestBuilder provides operations to call the copy method.
func NewCopyRequestBuilder ¶
func NewCopyRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *CopyRequestBuilder
NewCopyRequestBuilder instantiates a new CopyRequestBuilder and sets the default values.
func NewCopyRequestBuilderInternal ¶
func NewCopyRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *CopyRequestBuilder
NewCopyRequestBuilderInternal instantiates a new CopyRequestBuilder and sets the default values.
func (*CopyRequestBuilder) CreatePostRequestInformation ¶
func (m *CopyRequestBuilder) CreatePostRequestInformation(body CopyPostRequestBodyable) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
CreatePostRequestInformation asynchronously creates a copy of an [driveItem][item-resource] (including any children), under a new parent item or with a new name.
func (*CopyRequestBuilder) CreatePostRequestInformationWithRequestConfiguration ¶
func (m *CopyRequestBuilder) CreatePostRequestInformationWithRequestConfiguration(body CopyPostRequestBodyable, requestConfiguration *CopyRequestBuilderPostRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
CreatePostRequestInformationWithRequestConfiguration asynchronously creates a copy of an [driveItem][item-resource] (including any children), under a new parent item or with a new name.
func (*CopyRequestBuilder) Post ¶
func (m *CopyRequestBuilder) Post(ctx context.Context, body CopyPostRequestBodyable, requestConfiguration *CopyRequestBuilderPostRequestConfiguration) (iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DriveItemable, error)
Post asynchronously creates a copy of an [driveItem][item-resource] (including any children), under a new parent item or with a new name.
type CopyRequestBuilderPostRequestConfiguration ¶
type CopyRequestBuilderPostRequestConfiguration struct { // Request headers Headers map[string]string // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
CopyRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.