Constructor used to create a Cloudwords file resource
- id: int The file resource id
- filename: string The filename of the file resource
- lang: array The language of the file resource that contains a display name and language code
- contentPath: string The content path to the file resource
- sizeInKilobytes: int The file resource size in kilobytes
- fileContents: string The file contents containing within the file resource
- createdDate: string The file resource created date
- path: string The api url to retrieve file resource metadata
CloudwordsFile
__construct
(array $params)
-
array
$params: The parameters used to initialize a project instance
void
getSizeInKilobytes
()
void
setContentPath
( $contentPath)
void
setCreatedDate
( $createdDate)
void
setFileContents
( $fileContents)
void
setFilename
( $filename)
void
setSizeInKilobytes
( $sizeInKilobytes)