Class File
Represents a single File in a Constant Contact Library
- Ctct\Components\Component
- Ctct\Components\Library\File
Package: Components\Library
Author: Constant Contact
Located at Components/Library/File.php
public static
|
|
public
String
|
getValue()
|
public
String
|
$id
The ID of the file |
|
public
String
|
$name
The name of the file |
|
public
String
|
$description
The file's description |
|
public
String
|
$folder
The name of the folder that the file is in |
|
public
String
|
$folder_id
The ID of the folder that the file is in |
|
public
Boolean
|
$is_image
Is this file an image? |
|
public
String
|
$type
Type of the file, must be one of "JPG", "GIF", "PDF", "PNG", "DOC", "XLS", "PPT", "DOCX", "XLSX", "PPTX" |
|
public
integer
|
$height
File's height in pixels, if File is an image |
|
public
integer
|
$width
File's width in pixels, if File is an image |
|
public
integer
|
$size
File's size in bytes |
|
public
String
|
$url
URL of the image hosted by Constant Contact |
|
public
String
|
$source
Source of the image, must be one of "ALL", "MY_COMPUTER", "STOCK_IMAGE", "FACEBOOK", "INSTAGRAM", "SHUTTERSTOCK", "MOBILE" |
|
public
String
|
$status
Status of the file, must be one of "ACTIVE", "PROCESSING", "UPLOADED", "VIRUS_FOUND", "FAILED", "DELETED" |
|
public
|
$thumbnail
Thumbnail of the file, if File is an image |
|
public
String
|
$created_date
Date the file was created, in ISO-8601 format |
|
public
String
|
$modified_date
Date the file was last modified, in ISO-8601 format |
|
public
String
|
$file_type
The file's type. (PNG, JPEG, PDF, etc.) |