\FuelSdkET_Asset

An asset is an instance of any kind of content in the CMS.

Summary

Methods
Properties
Constants
post()
patch()
delete()
get()
getMoreResults()
__construct()
upload()
$authStub
$props
$organizationId
$organizationKey
No constants found
No protected methods found
$folderProperty
$folderMediaType
$lastPageNumber
$endpoint
$urlProps
$urlPropsRequired
N/A
No private methods found
No private properties found
N/A

Properties

$authStub

$authStub : \FuelSdk\ET_Client

Type

\FuelSdk\ET_Client — The ET client object which performs the auth token, refresh token using clientID clientSecret

$props

$props : array

Type

array — Dictionary type array which may hold e.g. array('id' => '', 'key' => '')

$organizationId

$organizationId : string

Type

string — Organization Identifier.

$organizationKey

$organizationKey : string

Type

string — Organization Key.

$folderProperty

$folderProperty : string

Type

string — Folder property e.g. "Category", "CategoryID", etc.

$folderMediaType

$folderMediaType : string

Type

string — Folder Media Type e.g. "dataextension", "triggered_send", etc.

$lastPageNumber

$lastPageNumber : integer

Type

integer — The last page number

$endpoint

$endpoint : string

Type

string — URL of the API endpoint

$urlProps

$urlProps : array<mixed,string>

Type

array<mixed,string> — array of string having properties or fields name found in the endpoint URL

$urlPropsRequired

$urlPropsRequired : array<mixed,string>

Type

array<mixed,string> — array of string having only required fields

Methods

post()

post() : \FuelSdk\ET_PostRest

Returns

\FuelSdk\ET_PostRest

Object of type ET_PostRest which contains http status code, response, etc from the POST REST service

patch()

patch() : null

Returns

null

delete()

delete() : null

Returns

null

get()

get() : \FuelSdk\ET_GetRest

Returns

\FuelSdk\ET_GetRest

Object of type ET_GetRest which contains http status code, response, etc from the GET REST service

getMoreResults()

getMoreResults() : \FuelSdk\ET_GetRest

Returns

\FuelSdk\ET_GetRest

returns more response from the GET REST service of type ET_GetRest Object

__construct()

__construct() 

The constructor will assign endpoint, urlProps, urlPropsRequired fields of parent ET_BaseObjectRest

upload()

upload() : object

Returns

object —

The stdClass object with property httpcode and body from the REST service after upload is finished