PHP Класс SevenShores\Hubspot\Resources\Timeline

Наследование: extends Resource
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
createEventType ( integer $appId, string $name, string | null $headerTemplate = null, string | null $detailTemplate = null, string | null $objectType = null ) : mixed Create Timeline Event Type
createEventTypeProperty ( integer $appId, integer $eventTypeId, string $name, string $label, string $propertyType, string | null $objectProperty = null, array $options = [] ) : mixed Create Property for Timeline Event Type
createOrUpdate ( integer $appId, integer $eventTypeId, string $id, integer | null $objectId = null, string | null $email = null, string | null $utk = null, array $extraData = [], mixed $timestamp = null, array $eventTypeData = [] ) : mixed Create or Update Timeline Event
deleteEventType ( integer $appId, integer $eventTypeId ) : mixed Delete Timeline Event Type
deleteEventTypeProperty ( integer $appId, integer $eventTypeId, integer $eventTypePropertyId ) : mixed Delete Property for Timeline Event Type
getEventTypeProperties ( integer $appId, integer $eventTypeId ) : mixed Get Properties for Timeline Event Type
getEventTypes ( integer $appId ) : mixed Get Timeline Event Types
updateEventType ( integer $appId, integer $eventTypeId, string | null $name = null, string | null $headerTemplate = null, string | null $detailTemplate = null, string | null $objectType = null ) : mixed Update Timeline Event Type
updateEventTypeProperty ( integer $appId, integer $eventTypeId, integer $eventTypePropertyId, string $name, string $label, string $propertyType, array | null $options = null ) : mixed Update Property for Timeline Event Type

Описание методов

createEventType() публичный Метод

Create Timeline Event Type
См. также: http://developers.hubspot.com/docs/methods/timeline/create-event-type
public createEventType ( integer $appId, string $name, string | null $headerTemplate = null, string | null $detailTemplate = null, string | null $objectType = null ) : mixed
$appId integer
$name string
$headerTemplate string | null
$detailTemplate string | null
$objectType string | null
Результат mixed

createEventTypeProperty() публичный Метод

Create Property for Timeline Event Type
См. также: http://developers.hubspot.com/docs/methods/timeline/create-timeline-event-type-property
public createEventTypeProperty ( integer $appId, integer $eventTypeId, string $name, string $label, string $propertyType, string | null $objectProperty = null, array $options = [] ) : mixed
$appId integer
$eventTypeId integer
$name string
$label string
$propertyType string
$objectProperty string | null
$options array
Результат mixed

createOrUpdate() публичный Метод

Create or Update Timeline Event
См. также: http://developers.hubspot.com/docs/methods/timeline/create-or-update-event
public createOrUpdate ( integer $appId, integer $eventTypeId, string $id, integer | null $objectId = null, string | null $email = null, string | null $utk = null, array $extraData = [], mixed $timestamp = null, array $eventTypeData = [] ) : mixed
$appId integer
$eventTypeId integer
$id string
$objectId integer | null
$email string | null
$utk string | null
$extraData array
$timestamp mixed
$eventTypeData array
Результат mixed

deleteEventType() публичный Метод

Delete Timeline Event Type
См. также: http://developers.hubspot.com/docs/methods/timeline/delete-event-type
public deleteEventType ( integer $appId, integer $eventTypeId ) : mixed
$appId integer
$eventTypeId integer
Результат mixed

deleteEventTypeProperty() публичный Метод

Delete Property for Timeline Event Type
См. также: http://developers.hubspot.com/docs/methods/timeline/delete-timeline-event-type-property
public deleteEventTypeProperty ( integer $appId, integer $eventTypeId, integer $eventTypePropertyId ) : mixed
$appId integer
$eventTypeId integer
$eventTypePropertyId integer
Результат mixed

getEventTypeProperties() публичный Метод

Get Properties for Timeline Event Type
См. также: http://developers.hubspot.com/docs/methods/timeline/get-timeline-event-type-properties
public getEventTypeProperties ( integer $appId, integer $eventTypeId ) : mixed
$appId integer
$eventTypeId integer
Результат mixed

getEventTypes() публичный Метод

Get Timeline Event Types
См. также: http://developers.hubspot.com/docs/methods/timeline/get-event-types
public getEventTypes ( integer $appId ) : mixed
$appId integer
Результат mixed

updateEventType() публичный Метод

Update Timeline Event Type
См. также: http://developers.hubspot.com/docs/methods/timeline/update-event-type
public updateEventType ( integer $appId, integer $eventTypeId, string | null $name = null, string | null $headerTemplate = null, string | null $detailTemplate = null, string | null $objectType = null ) : mixed
$appId integer
$eventTypeId integer
$name string | null
$headerTemplate string | null
$detailTemplate string | null
$objectType string | null
Результат mixed

updateEventTypeProperty() публичный Метод

Update Property for Timeline Event Type
См. также: http://developers.hubspot.com/docs/methods/timeline/udpate-timeline-event-type-property
public updateEventTypeProperty ( integer $appId, integer $eventTypeId, integer $eventTypePropertyId, string $name, string $label, string $propertyType, array | null $options = null ) : mixed
$appId integer
$eventTypeId integer
$eventTypePropertyId integer
$name string
$label string
$propertyType string
$options array | null
Результат mixed