프로퍼티 | 타입 | 설명 | |
---|---|---|---|
auth | string>.Dictionary | ||
fields | object>.Dictionary | ||
fileIncrement | int | ||
files | string>.Dictionary | ||
notifyURL | string | ||
signature | string | ||
steps | Dictionary |
||
templateID | string |
메소드 | 설명 | |
---|---|---|
AddFile ( string path ) : void |
Adds file to the current assembly
|
|
AddFile ( string key, string path ) : void |
Adds file to the current assembly with specific key
|
|
AddStep ( string name, IStep step ) : void |
Adds step to the current assembly
|
|
AssemblyBuilder ( ) : System |
Creates a new TransloaditAssemblyBuilder object; sets steps, auth and files to empty collections
|
|
GetParams ( ) : object>.Dictionary |
Generates and gets the parameter tree of an assembly
|
|
HasNotifyUrl ( ) : bool |
Checks whether the assembly has notify URL
|
|
HasSteps ( ) : bool |
Checks whether the assembly has steps
|
|
HasTemplateID ( ) : bool |
Checks whether the assembly has template ID
|
|
SetAuthExpires ( System.DateTime dateTime ) : void |
Sets the expiration datetime of the assembly (as UTC date)
|
|
SetAuthKey ( string key ) : void |
Sets the authentication key for the assembly
|
|
SetAuthMaxSize ( int maxSize ) : void |
Sets the maximum size of the assembly
|
|
SetField ( string key, object value ) : void |
Sets a custom field in the current assembly
|
|
SetNotifyURL ( string notifyURL ) : void |
Sets the notification URL of the assembly, which will be requested after assembly is completed
|
|
SetTemplateID ( string templateID ) : void |
Sets the used template ID of the assmebly (you can create multiple Transloadit templates under your account,please use its unique ID here)
|
|
ToApiData ( ) : ApiData |
Converts the builder to ApiData and gets the object, which will be the base of the sent Transloadit request
|
|
ToJsonString ( ) : string |
Converts the builder to JSON string and gets it
|
메소드 | 설명 | |
---|---|---|
ValidateKey ( string key ) : void |
Validates the passed key
|
public AddFile ( string key, string path ) : void | ||
key | string | Key of the file to be uploaded |
path | string | Path of the file |
리턴 | void |
public AddStep ( string name, IStep step ) : void | ||
name | string | Name of the step |
step | IStep | Step to be added |
리턴 | void |
public SetAuthExpires ( System.DateTime dateTime ) : void | ||
dateTime | System.DateTime | Expiration datetime |
리턴 | void |
public SetAuthMaxSize ( int maxSize ) : void | ||
maxSize | int | Maximum size (in bytes) |
리턴 | void |
public SetField ( string key, object value ) : void | ||
key | string | Key of the field |
value | object | Value of the field |
리턴 | void |
public SetNotifyURL ( string notifyURL ) : void | ||
notifyURL | string | Notification URL (e.g.: 'http://my.domain.me/application') |
리턴 | void |
public SetTemplateID ( string templateID ) : void | ||
templateID | string | Template ID of the assmebly |
리턴 | void |
protected ValidateKey ( string key ) : void | ||
key | string | Key to be validated |
리턴 | void |