[I] HttpOperationFileBody
The type of an HTTP body that is a file upload or download.
Extends
Section titled “Extends”Properties
Section titled “Properties”| Property | Modifier | Type | Description | Overrides | Inherited from | 
|---|---|---|---|---|---|
| bodyKind | readonly | "file" | - | - | - | 
| contents | readonly | ModelProperty&object | The contentsproperty. | - | - | 
| contentTypeProperty | readonly | ModelProperty | The contentTypeproperty. | HttpOperationBodyBase.contentTypeProperty | - | 
| contentTypes | readonly | string[] | The list of inner media types of the file. In other words, what kind of files can be returned. This is determined by the contentTypeproperty of the file model. | HttpOperationBodyBase.contentTypes | - | 
| filename | readonly | ModelProperty | The filename property. | - | - | 
| isText | readonly | boolean | Whether the file contents should be represented as a string or raw byte stream. True if the contentsproperty is astring,falseif it isbytes. Emitters may choose to represent textual files as strings or streams of textual characters. If this property isfalse, emitters must expect that the contents may contain non-textual data. | - | - | 
| property? | readonly | ModelProperty | The payload property that defined this body, if any. | - | HttpOperationBodyBase.property | 
| type | readonly | Model | The model type of the body that is or extends Http.File. | - | - |