Multi-part form data class.
More...
|
| Form (string s) |
| Make a multi-part form object from a string. More...
|
|
| Form (int n) |
| Make a multi-part form object from an int. More...
|
|
| Form (byte[] contents, string fileName=null, string mimeType=null) |
| Make a multi-part form object from binary data. More...
|
|
|
bool | IsBinary [get, set] |
| True if the contained data is binary. More...
|
|
object | BoxedObject [get, set] |
| The boxed POD data type, only set if IsBinary is false. More...
|
|
byte[] | Contents [get, set] |
| If IsBinary is true, then this will contain the binary data. More...
|
|
string | FileName [get, set] |
| The filename of the binary data. More...
|
|
string | MimeType [get, set] |
| The Mime-Type of the binary data. More...
|
|
Multi-part form data class.
IBM.Watson.DeveloperCloud.Connection.RESTConnector.Form.Form |
( |
string |
s | ) |
|
|
inline |
Make a multi-part form object from a string.
- Parameters
-
IBM.Watson.DeveloperCloud.Connection.RESTConnector.Form.Form |
( |
int |
n | ) |
|
|
inline |
Make a multi-part form object from an int.
- Parameters
-
IBM.Watson.DeveloperCloud.Connection.RESTConnector.Form.Form |
( |
byte[] |
contents, |
|
|
string |
fileName = null , |
|
|
string |
mimeType = null |
|
) |
| |
|
inline |
Make a multi-part form object from binary data.
- Parameters
-
contents | The binary data. |
fileName | The filename of the binary data. |
mimeType | The mime type of the data. |
object IBM.Watson.DeveloperCloud.Connection.RESTConnector.Form.BoxedObject |
|
getset |
The boxed POD data type, only set if IsBinary is false.
byte [] IBM.Watson.DeveloperCloud.Connection.RESTConnector.Form.Contents |
|
getset |
If IsBinary is true, then this will contain the binary data.
string IBM.Watson.DeveloperCloud.Connection.RESTConnector.Form.FileName |
|
getset |
The filename of the binary data.
bool IBM.Watson.DeveloperCloud.Connection.RESTConnector.Form.IsBinary |
|
getset |
True if the contained data is binary.
string IBM.Watson.DeveloperCloud.Connection.RESTConnector.Form.MimeType |
|
getset |
The Mime-Type of the binary data.
The documentation for this class was generated from the following file: