Aspose::Email::Mapi::ReferenceAttachmentOptions Class Reference

Represents configuration options for adding a reference attachment to a MAPI message. More...

Inherits Object.

Public Member Functions

System::String get_SharedLink () const
 Gets the shared link of the reference attachment. This is the URL to the shared resource, such as a file on a cloud storage provider. More...
 
void set_SharedLink (System::String value)
 Sets the shared link of the reference attachment. This is the URL to the shared resource, such as a file on a cloud storage provider. More...
 
System::String get_Url () const
 Gets the direct URL for accessing the reference attachment. This may point to the specific resource within the provider's interface. More...
 
void set_Url (System::String value)
 Sets the direct URL for accessing the reference attachment. This may point to the specific resource within the provider's interface. More...
 
System::String get_ProviderName () const
 Gets the name of the provider for the reference attachment. Examples include "GoogleDrive", "OneDrive", etc. More...
 
void set_ProviderName (System::String value)
 Sets the name of the provider for the reference attachment. Examples include "GoogleDrive", "OneDrive", etc. More...
 
AttachmentPermissionType get_PermissionType () const
 Gets the permission type for the reference attachment. Indicates the level of access granted. The default value is AnyoneCanEdit. More...
 
void set_PermissionType (AttachmentPermissionType value)
 Sets the permission type for the reference attachment. Indicates the level of access granted. The default value is AnyoneCanEdit. More...
 
AttachmentPermissionType get_OriginalPermissionType () const
 Gets the original permission type for the reference attachment. Used to specify the original permission level before any modifications. The default value is None. More...
 
void set_OriginalPermissionType (AttachmentPermissionType value)
 Sets the original permission type for the reference attachment. Used to specify the original permission level before any modifications. The default value is None. More...
 
bool get_IsFolder () const
 Gets a value indicating whether the reference attachment is a folder. The default value is false. More...
 
void set_IsFolder (bool value)
 Sets a value indicating whether the reference attachment is a folder. The default value is false. More...
 
System::String get_ProviderEndpointUrl () const
 Gets the provider endpoint URL. Typically used for specifying the base URL of the cloud provider API. The default value is Empty. More...
 
void set_ProviderEndpointUrl (System::String value)
 Sets the provider endpoint URL. Typically used for specifying the base URL of the cloud provider API. The default value is Empty. More...
 
System::String get_PreviewUrl () const
 Gets the preview URL of the reference attachment. This URL can be used to generate a preview of the resource, if supported by the provider. The default value is Empty. More...
 
void set_PreviewUrl (System::String value)
 Sets the preview URL of the reference attachment. This URL can be used to generate a preview of the resource, if supported by the provider. The default value is Empty. More...
 
System::String get_ThumbnailUrl () const
 Gets the thumbnail URL of the reference attachment. The URL points to a thumbnail image of the resource for visual representation. The default value is Empty. More...
 
void set_ThumbnailUrl (System::String value)
 Sets the thumbnail URL of the reference attachment. The URL points to a thumbnail image of the resource for visual representation. The default value is Empty. More...
 
 ReferenceAttachmentOptions (System::String sharedLink, System::String url, System::String providerName)
 Initializes a new instance of the ReferenceAttachmentOptions class with the specified shared link, URL, and provider name. More...
 

Detailed Description

Represents configuration options for adding a reference attachment to a MAPI message.

Constructor & Destructor Documentation

◆ ReferenceAttachmentOptions()

Aspose::Email::Mapi::ReferenceAttachmentOptions::ReferenceAttachmentOptions ( System::String  sharedLink,
System::String  url,
System::String  providerName 
)

Initializes a new instance of the ReferenceAttachmentOptions class with the specified shared link, URL, and provider name.

Parameters
sharedLinkThe shared link of the reference attachment.
urlThe direct URL for accessing the reference attachment.
providerNameThe name of the provider for the reference attachment.

Member Function Documentation

◆ get_IsFolder()

bool Aspose::Email::Mapi::ReferenceAttachmentOptions::get_IsFolder ( ) const

Gets a value indicating whether the reference attachment is a folder. The default value is false.

◆ get_OriginalPermissionType()

AttachmentPermissionType Aspose::Email::Mapi::ReferenceAttachmentOptions::get_OriginalPermissionType ( ) const

Gets the original permission type for the reference attachment. Used to specify the original permission level before any modifications. The default value is None.

◆ get_PermissionType()

AttachmentPermissionType Aspose::Email::Mapi::ReferenceAttachmentOptions::get_PermissionType ( ) const

Gets the permission type for the reference attachment. Indicates the level of access granted. The default value is AnyoneCanEdit.

◆ get_PreviewUrl()

System::String Aspose::Email::Mapi::ReferenceAttachmentOptions::get_PreviewUrl ( ) const

Gets the preview URL of the reference attachment. This URL can be used to generate a preview of the resource, if supported by the provider. The default value is Empty.

◆ get_ProviderEndpointUrl()

System::String Aspose::Email::Mapi::ReferenceAttachmentOptions::get_ProviderEndpointUrl ( ) const

Gets the provider endpoint URL. Typically used for specifying the base URL of the cloud provider API. The default value is Empty.

◆ get_ProviderName()

System::String Aspose::Email::Mapi::ReferenceAttachmentOptions::get_ProviderName ( ) const

Gets the name of the provider for the reference attachment. Examples include "GoogleDrive", "OneDrive", etc.

◆ get_SharedLink()

System::String Aspose::Email::Mapi::ReferenceAttachmentOptions::get_SharedLink ( ) const

Gets the shared link of the reference attachment. This is the URL to the shared resource, such as a file on a cloud storage provider.

◆ get_ThumbnailUrl()

System::String Aspose::Email::Mapi::ReferenceAttachmentOptions::get_ThumbnailUrl ( ) const

Gets the thumbnail URL of the reference attachment. The URL points to a thumbnail image of the resource for visual representation. The default value is Empty.

◆ get_Url()

System::String Aspose::Email::Mapi::ReferenceAttachmentOptions::get_Url ( ) const

Gets the direct URL for accessing the reference attachment. This may point to the specific resource within the provider's interface.

◆ set_IsFolder()

void Aspose::Email::Mapi::ReferenceAttachmentOptions::set_IsFolder ( bool  value)

Sets a value indicating whether the reference attachment is a folder. The default value is false.

◆ set_OriginalPermissionType()

void Aspose::Email::Mapi::ReferenceAttachmentOptions::set_OriginalPermissionType ( AttachmentPermissionType  value)

Sets the original permission type for the reference attachment. Used to specify the original permission level before any modifications. The default value is None.

◆ set_PermissionType()

void Aspose::Email::Mapi::ReferenceAttachmentOptions::set_PermissionType ( AttachmentPermissionType  value)

Sets the permission type for the reference attachment. Indicates the level of access granted. The default value is AnyoneCanEdit.

◆ set_PreviewUrl()

void Aspose::Email::Mapi::ReferenceAttachmentOptions::set_PreviewUrl ( System::String  value)

Sets the preview URL of the reference attachment. This URL can be used to generate a preview of the resource, if supported by the provider. The default value is Empty.

◆ set_ProviderEndpointUrl()

void Aspose::Email::Mapi::ReferenceAttachmentOptions::set_ProviderEndpointUrl ( System::String  value)

Sets the provider endpoint URL. Typically used for specifying the base URL of the cloud provider API. The default value is Empty.

◆ set_ProviderName()

void Aspose::Email::Mapi::ReferenceAttachmentOptions::set_ProviderName ( System::String  value)

Sets the name of the provider for the reference attachment. Examples include "GoogleDrive", "OneDrive", etc.

◆ set_SharedLink()

void Aspose::Email::Mapi::ReferenceAttachmentOptions::set_SharedLink ( System::String  value)

Sets the shared link of the reference attachment. This is the URL to the shared resource, such as a file on a cloud storage provider.

◆ set_ThumbnailUrl()

void Aspose::Email::Mapi::ReferenceAttachmentOptions::set_ThumbnailUrl ( System::String  value)

Sets the thumbnail URL of the reference attachment. The URL points to a thumbnail image of the resource for visual representation. The default value is Empty.

◆ set_Url()

void Aspose::Email::Mapi::ReferenceAttachmentOptions::set_Url ( System::String  value)

Sets the direct URL for accessing the reference attachment. This may point to the specific resource within the provider's interface.