C# 클래스 CloudinaryDotNet.Actions.ArchiveParams

Parameters for working with archives, common for both of the methods (create and download)
상속: BaseParams
파일 보기 프로젝트 열기: cloudinary/CloudinaryDotNet 1 사용 예제들

공개 메소드들

메소드 설명
Async ( bool async ) : ArchiveParams

Set whether to perform the archive generation in the background (asynchronously). Default: false. Relevant only for create call.

Check ( ) : void

Validate object model

ExpiresAt ( int expiresAt ) : ArchiveParams

Set the Unix time in seconds when the generated download URL expires (e.g., 1415060076). If this parameter is omitted then the generated download URL expires after 1 hour. Note: Relevant only for download call.

ExpiresAt ( ) : int

Get the Unix time in seconds when the generated download URL expires.

FlattenFolders ( bool flattenFolders ) : ArchiveParams

Determines whether to flatten all files to be in the root of the archive file (no sub-folders).

FlattenTransformations ( bool flattenTransformations ) : ArchiveParams

Determines whether to flatten the folder structure of the derived images and store the transformation details on the file name instead.

IsAsync ( ) : bool

Get whether to perform the archive generation in the background (asynchronously).

IsFlattenFolders ( ) : bool

Get whether to flatten all files to be in the root of the archive file (no sub-folders).

IsFlattenTransformations ( ) : bool

Get whether to flatten the folder structure of the derived images and store the transformation details on the file name instead.

IsKeepDerived ( ) : bool

Get whether to keep the derived images used for generating the archive or not.

IsUseOriginalFilename ( ) : bool

Get whether to use the original file name of the included images (if available) instead of the Public ID.

KeepDerived ( bool keepDerived ) : ArchiveParams

Set whether to keep the derived images used for generating the archive or not.

Mode ( ) : ArchiveCallMode

Get Mode whether to return the generated archive file (download) or to store it as a raw resource (create)

Mode ( ArchiveCallMode mode ) : ArchiveParams

Determines whether to return the generated archive file (download) or to store it as a raw resource in your Cloudinary account and return a JSON with the URLs for accessing the archive file (create)

NotificationUrl ( string notificationUrl ) : ArchiveParams

Set an HTTP or HTTPS URL to notify your application (a webhook) when the process has completed.

NotificationUrl ( ) : string

Get an HTTP or HTTPS URL to notify your application (a webhook) when the process has completed.

Prefixes ( List prefixes ) : ArchiveParams

Set a list of prefixes of Public IDs (e.g., folders). All images with this tag(s) will be included in the archive. Setting this parameter to a slash (/) is a shortcut for including all images in the account for the given resource type and type (up to the max files limit).

Prefixes ( ) : List

Get a list of prefixes of Public IDs (e.g., folders).

PublicIds ( List publicIds ) : ArchiveParams

Set a list of Public IDs for the specific images to be included in the archive

PublicIds ( ) : List

Get a list of Public IDs for the specific images to be included in the archive

ResourceType ( string resourceType ) : ArchiveParams

Set the resource type (image, video or raw) of files to include in the archive: Default: image.

ResourceType ( ) : string

Get the resource type (image, video or raw) of files to include in the archive.

Tags ( List tags ) : ArchiveParams

Set a list of tag names. All images with this tag(s) will be included in the archive

Tags ( ) : List

Get a list of tag names. All images with this tag(s) will be included in the archive

TargetFormat ( ) : ArchiveFormat

Get the format for the generated archive.

TargetFormat ( ArchiveFormat targetFormat ) : ArchiveParams

Set the format for the generated archive. Currently only 'zip' is supported.

TargetPublicId ( string targetPublicId ) : ArchiveParams

Set the Public ID to assign to the generated archive. relevant only for create call.

TargetPublicId ( ) : string

Get the Public ID to assign to the generated archive.

TargetTags ( List targetTags ) : ArchiveParams

Set a list of tag names to assign to the generated archive. Relevant only for create call.

TargetTags ( ) : List

Get a list of tag names to assign to the generated archive.

ToParamsDictionary ( ) : object>.SortedDictionary

Maps object model to dictionary of parameters in cloudinary notation

Transformations ( List transformations ) : ArchiveParams

Set a list of transformations to apply to the images before they are included in the generated archive.

Transformations ( ) : List

Get a list of transformations applied to the images before they are included in the generated archive.

Type ( string type ) : ArchiveParams

Set the specific file type of resources to include in the archive (upload/private/authenticated). Default: upload.

Type ( ) : string

Get the specific file type of resources to include in the archive (upload/private/authenticated).

UseOriginalFilename ( bool useOriginalFilename ) : ArchiveParams

Set whether to use the original file name of the included images (if available) instead of the Public ID.

메소드 상세

Async() 공개 메소드

Set whether to perform the archive generation in the background (asynchronously). Default: false. Relevant only for create call.
public Async ( bool async ) : ArchiveParams
async bool
리턴 ArchiveParams

Check() 공개 메소드

Validate object model
public Check ( ) : void
리턴 void

ExpiresAt() 공개 메소드

Set the Unix time in seconds when the generated download URL expires (e.g., 1415060076). If this parameter is omitted then the generated download URL expires after 1 hour. Note: Relevant only for download call.
public ExpiresAt ( int expiresAt ) : ArchiveParams
expiresAt int
리턴 ArchiveParams

ExpiresAt() 공개 메소드

Get the Unix time in seconds when the generated download URL expires.
public ExpiresAt ( ) : int
리턴 int

FlattenFolders() 공개 메소드

Determines whether to flatten all files to be in the root of the archive file (no sub-folders).
public FlattenFolders ( bool flattenFolders ) : ArchiveParams
flattenFolders bool
리턴 ArchiveParams

FlattenTransformations() 공개 메소드

Determines whether to flatten the folder structure of the derived images and store the transformation details on the file name instead.
public FlattenTransformations ( bool flattenTransformations ) : ArchiveParams
flattenTransformations bool
리턴 ArchiveParams

IsAsync() 공개 메소드

Get whether to perform the archive generation in the background (asynchronously).
public IsAsync ( ) : bool
리턴 bool

IsFlattenFolders() 공개 메소드

Get whether to flatten all files to be in the root of the archive file (no sub-folders).
public IsFlattenFolders ( ) : bool
리턴 bool

IsFlattenTransformations() 공개 메소드

Get whether to flatten the folder structure of the derived images and store the transformation details on the file name instead.
public IsFlattenTransformations ( ) : bool
리턴 bool

IsKeepDerived() 공개 메소드

Get whether to keep the derived images used for generating the archive or not.
public IsKeepDerived ( ) : bool
리턴 bool

IsUseOriginalFilename() 공개 메소드

Get whether to use the original file name of the included images (if available) instead of the Public ID.
public IsUseOriginalFilename ( ) : bool
리턴 bool

KeepDerived() 공개 메소드

Set whether to keep the derived images used for generating the archive or not.
public KeepDerived ( bool keepDerived ) : ArchiveParams
keepDerived bool
리턴 ArchiveParams

Mode() 공개 메소드

Get Mode whether to return the generated archive file (download) or to store it as a raw resource (create)
public Mode ( ) : ArchiveCallMode
리턴 ArchiveCallMode

Mode() 공개 메소드

Determines whether to return the generated archive file (download) or to store it as a raw resource in your Cloudinary account and return a JSON with the URLs for accessing the archive file (create)
public Mode ( ArchiveCallMode mode ) : ArchiveParams
mode ArchiveCallMode
리턴 ArchiveParams

NotificationUrl() 공개 메소드

Set an HTTP or HTTPS URL to notify your application (a webhook) when the process has completed.
public NotificationUrl ( string notificationUrl ) : ArchiveParams
notificationUrl string
리턴 ArchiveParams

NotificationUrl() 공개 메소드

Get an HTTP or HTTPS URL to notify your application (a webhook) when the process has completed.
public NotificationUrl ( ) : string
리턴 string

Prefixes() 공개 메소드

Set a list of prefixes of Public IDs (e.g., folders). All images with this tag(s) will be included in the archive. Setting this parameter to a slash (/) is a shortcut for including all images in the account for the given resource type and type (up to the max files limit).
public Prefixes ( List prefixes ) : ArchiveParams
prefixes List
리턴 ArchiveParams

Prefixes() 공개 메소드

Get a list of prefixes of Public IDs (e.g., folders).
public Prefixes ( ) : List
리턴 List

PublicIds() 공개 메소드

Set a list of Public IDs for the specific images to be included in the archive
public PublicIds ( List publicIds ) : ArchiveParams
publicIds List
리턴 ArchiveParams

PublicIds() 공개 메소드

Get a list of Public IDs for the specific images to be included in the archive
public PublicIds ( ) : List
리턴 List

ResourceType() 공개 메소드

Set the resource type (image, video or raw) of files to include in the archive: Default: image.
public ResourceType ( string resourceType ) : ArchiveParams
resourceType string
리턴 ArchiveParams

ResourceType() 공개 메소드

Get the resource type (image, video or raw) of files to include in the archive.
public ResourceType ( ) : string
리턴 string

Tags() 공개 메소드

Set a list of tag names. All images with this tag(s) will be included in the archive
public Tags ( List tags ) : ArchiveParams
tags List
리턴 ArchiveParams

Tags() 공개 메소드

Get a list of tag names. All images with this tag(s) will be included in the archive
public Tags ( ) : List
리턴 List

TargetFormat() 공개 메소드

Get the format for the generated archive.
public TargetFormat ( ) : ArchiveFormat
리턴 ArchiveFormat

TargetFormat() 공개 메소드

Set the format for the generated archive. Currently only 'zip' is supported.
public TargetFormat ( ArchiveFormat targetFormat ) : ArchiveParams
targetFormat ArchiveFormat
리턴 ArchiveParams

TargetPublicId() 공개 메소드

Set the Public ID to assign to the generated archive. relevant only for create call.
public TargetPublicId ( string targetPublicId ) : ArchiveParams
targetPublicId string
리턴 ArchiveParams

TargetPublicId() 공개 메소드

Get the Public ID to assign to the generated archive.
public TargetPublicId ( ) : string
리턴 string

TargetTags() 공개 메소드

Set a list of tag names to assign to the generated archive. Relevant only for create call.
public TargetTags ( List targetTags ) : ArchiveParams
targetTags List
리턴 ArchiveParams

TargetTags() 공개 메소드

Get a list of tag names to assign to the generated archive.
public TargetTags ( ) : List
리턴 List

ToParamsDictionary() 공개 메소드

Maps object model to dictionary of parameters in cloudinary notation
public ToParamsDictionary ( ) : object>.SortedDictionary
리턴 object>.SortedDictionary

Transformations() 공개 메소드

Set a list of transformations to apply to the images before they are included in the generated archive.
public Transformations ( List transformations ) : ArchiveParams
transformations List
리턴 ArchiveParams

Transformations() 공개 메소드

Get a list of transformations applied to the images before they are included in the generated archive.
public Transformations ( ) : List
리턴 List

Type() 공개 메소드

Set the specific file type of resources to include in the archive (upload/private/authenticated). Default: upload.
public Type ( string type ) : ArchiveParams
type string
리턴 ArchiveParams

Type() 공개 메소드

Get the specific file type of resources to include in the archive (upload/private/authenticated).
public Type ( ) : string
리턴 string

UseOriginalFilename() 공개 메소드

Set whether to use the original file name of the included images (if available) instead of the Public ID.
public UseOriginalFilename ( bool useOriginalFilename ) : ArchiveParams
useOriginalFilename bool
리턴 ArchiveParams