Documentation ¶
Index ¶
- func CreateCreateLinkPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- type CreateLinkPostRequestBody
- func (m *CreateLinkPostRequestBody) GetAdditionalData() map[string]interface{}
- func (m *CreateLinkPostRequestBody) GetExpirationDateTime() *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time
- func (m *CreateLinkPostRequestBody) GetFieldDeserializers() ...
- func (m *CreateLinkPostRequestBody) GetMessage() *string
- func (m *CreateLinkPostRequestBody) GetPassword() *string
- func (m *CreateLinkPostRequestBody) GetRetainInheritedPermissions() *bool
- func (m *CreateLinkPostRequestBody) GetScope() *string
- func (m *CreateLinkPostRequestBody) GetType() *string
- func (m *CreateLinkPostRequestBody) Serialize(...) error
- func (m *CreateLinkPostRequestBody) SetAdditionalData(value map[string]interface{})
- func (m *CreateLinkPostRequestBody) SetExpirationDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)
- func (m *CreateLinkPostRequestBody) SetMessage(value *string)
- func (m *CreateLinkPostRequestBody) SetPassword(value *string)
- func (m *CreateLinkPostRequestBody) SetRetainInheritedPermissions(value *bool)
- func (m *CreateLinkPostRequestBody) SetScope(value *string)
- func (m *CreateLinkPostRequestBody) SetType(value *string)
- type CreateLinkPostRequestBodyable
- type CreateLinkRequestBuilder
- type CreateLinkRequestBuilderPostRequestConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCreateLinkPostRequestBodyFromDiscriminatorValue ¶
func CreateCreateLinkPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
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 ¶
func (m *CreateLinkPostRequestBody) GetExpirationDateTime() *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time
GetExpirationDateTime gets the expirationDateTime property value. The expirationDateTime property
func (*CreateLinkPostRequestBody) GetFieldDeserializers ¶
func (m *CreateLinkPostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
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 ¶
func (m *CreateLinkPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
func (m *CreateLinkPostRequestBody) SetExpirationDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)
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 ¶
func NewCreateLinkRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *CreateLinkRequestBuilder
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 ¶
func (m *CreateLinkRequestBuilder) CreatePostRequestInformation(ctx context.Context, body CreateLinkPostRequestBodyable, requestConfiguration *CreateLinkRequestBuilderPostRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *CreateLinkRequestBuilder) Post(ctx context.Context, body CreateLinkPostRequestBodyable, requestConfiguration *CreateLinkRequestBuilderPostRequestConfiguration) (iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Permissionable, error)
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.