createlink

package
v0.44.0 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateCreateLinkPostRequestBodyFromDiscriminatorValue

CreateCreateLinkPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value

Types

type CreateLinkPostRequestBody

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

CreateLinkPostRequestBody provides operations to call the createLink method.

func NewCreateLinkPostRequestBody

func NewCreateLinkPostRequestBody() *CreateLinkPostRequestBody

NewCreateLinkPostRequestBody instantiates a new createLinkPostRequestBody and sets the default values.

func (*CreateLinkPostRequestBody) GetAdditionalData

func (m *CreateLinkPostRequestBody) 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 (*CreateLinkPostRequestBody) GetExpirationDateTime

GetExpirationDateTime gets the expirationDateTime property value. The expirationDateTime property

func (*CreateLinkPostRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*CreateLinkPostRequestBody) GetMessage

func (m *CreateLinkPostRequestBody) GetMessage() *string

GetMessage gets the message property value. The message property

func (*CreateLinkPostRequestBody) GetPassword

func (m *CreateLinkPostRequestBody) GetPassword() *string

GetPassword gets the password property value. The password property

func (*CreateLinkPostRequestBody) GetRetainInheritedPermissions

func (m *CreateLinkPostRequestBody) GetRetainInheritedPermissions() *bool

GetRetainInheritedPermissions gets the retainInheritedPermissions property value. The retainInheritedPermissions property

func (*CreateLinkPostRequestBody) GetScope

func (m *CreateLinkPostRequestBody) GetScope() *string

GetScope gets the scope property value. The scope property

func (*CreateLinkPostRequestBody) GetType

func (m *CreateLinkPostRequestBody) GetType() *string

GetType gets the type property value. The type property

func (*CreateLinkPostRequestBody) Serialize

Serialize serializes information the current object

func (*CreateLinkPostRequestBody) SetAdditionalData

func (m *CreateLinkPostRequestBody) 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 (*CreateLinkPostRequestBody) SetExpirationDateTime

SetExpirationDateTime sets the expirationDateTime property value. The expirationDateTime property

func (*CreateLinkPostRequestBody) SetMessage

func (m *CreateLinkPostRequestBody) SetMessage(value *string)

SetMessage sets the message property value. The message property

func (*CreateLinkPostRequestBody) SetPassword

func (m *CreateLinkPostRequestBody) SetPassword(value *string)

SetPassword sets the password property value. The password property

func (*CreateLinkPostRequestBody) SetRetainInheritedPermissions

func (m *CreateLinkPostRequestBody) SetRetainInheritedPermissions(value *bool)

SetRetainInheritedPermissions sets the retainInheritedPermissions property value. The retainInheritedPermissions property

func (*CreateLinkPostRequestBody) SetScope

func (m *CreateLinkPostRequestBody) SetScope(value *string)

SetScope sets the scope property value. The scope property

func (*CreateLinkPostRequestBody) SetType

func (m *CreateLinkPostRequestBody) SetType(value *string)

SetType sets the type property value. The type property

type CreateLinkPostRequestBodyable

type CreateLinkPostRequestBodyable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetExpirationDateTime() *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time
	GetMessage() *string
	GetPassword() *string
	GetRetainInheritedPermissions() *bool
	GetScope() *string
	GetType() *string
	SetExpirationDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)
	SetMessage(value *string)
	SetPassword(value *string)
	SetRetainInheritedPermissions(value *bool)
	SetScope(value *string)
	SetType(value *string)
}

CreateLinkPostRequestBodyable

type CreateLinkRequestBuilder

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

CreateLinkRequestBuilder provides operations to call the createLink method.

func NewCreateLinkRequestBuilder

NewCreateLinkRequestBuilder instantiates a new CreateLinkRequestBuilder and sets the default values.

func NewCreateLinkRequestBuilderInternal

func NewCreateLinkRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *CreateLinkRequestBuilder

NewCreateLinkRequestBuilderInternal instantiates a new CreateLinkRequestBuilder and sets the default values.

func (*CreateLinkRequestBuilder) CreatePostRequestInformation

CreatePostRequestInformation you can use **createLink** action to share a DriveItem via a sharing link. The **createLink** action will create a new sharing link if the specified link type doesn't already exist for the calling application.If a sharing link of the specified type already exists for the app, the existing sharing link will be returned. DriveItem resources inherit sharing permissions from their ancestors.

func (*CreateLinkRequestBuilder) Post

Post you can use **createLink** action to share a DriveItem via a sharing link. The **createLink** action will create a new sharing link if the specified link type doesn't already exist for the calling application.If a sharing link of the specified type already exists for the app, the existing sharing link will be returned. DriveItem resources inherit sharing permissions from their ancestors.

type CreateLinkRequestBuilderPostRequestConfiguration

type CreateLinkRequestBuilderPostRequestConfiguration struct {
	// Request headers
	Headers map[string]string
	// Request options
	Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption
}

CreateLinkRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.

Jump to

Keyboard shortcuts

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