C# Класс PodioAPI.Services.SubscriptionService

Показать файл Открыть проект

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

Метод Описание
GetSubscriptionById ( int subscriptionId ) : Task

Returns the subscription with the given id.

Podio API Reference: https://developers.podio.com/doc/subscriptions/get-subscription-by-id-22446

GetSubscriptionByReference ( string refType, int refId ) : Task

Get the subscription for the given object.

Podio API Reference: https://developers.podio.com/doc/subscriptions/get-subscription-by-reference-22408

Subscribe ( string refType, int refId ) : Task

Subscribes the user to the given object. Based on the object type, the user will receive notifications when actions are performed on the object. See the area for more details.

Podio API Reference: https://developers.podio.com/doc/subscriptions/subscribe-22409

SubscriptionService ( Podio currentInstance ) : PodioAPI.Models
UnsubscribeById ( int subscriptionId ) : Task

Stops the subscription with the given id

Podio API Reference: https://developers.podio.com/doc/subscriptions/unsubscribe-by-id-22445

UnsubscribeByReference ( string refType, int refId ) : Task

Unsubscribe from getting notifications on actions on the given object.

Podio API Reference: https://developers.podio.com/doc/subscriptions/unsubscribe-by-reference-22410

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

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

Returns the subscription with the given id.

Podio API Reference: https://developers.podio.com/doc/subscriptions/get-subscription-by-id-22446

public GetSubscriptionById ( int subscriptionId ) : Task
subscriptionId int
Результат Task

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

Get the subscription for the given object.

Podio API Reference: https://developers.podio.com/doc/subscriptions/get-subscription-by-reference-22408

public GetSubscriptionByReference ( string refType, int refId ) : Task
refType string
refId int
Результат Task

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

Subscribes the user to the given object. Based on the object type, the user will receive notifications when actions are performed on the object. See the area for more details.

Podio API Reference: https://developers.podio.com/doc/subscriptions/subscribe-22409

public Subscribe ( string refType, int refId ) : Task
refType string
refId int
Результат Task

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

public SubscriptionService ( Podio currentInstance ) : PodioAPI.Models
currentInstance Podio
Результат PodioAPI.Models

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

Stops the subscription with the given id

Podio API Reference: https://developers.podio.com/doc/subscriptions/unsubscribe-by-id-22445

public UnsubscribeById ( int subscriptionId ) : Task
subscriptionId int
Результат Task

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

Unsubscribe from getting notifications on actions on the given object.

Podio API Reference: https://developers.podio.com/doc/subscriptions/unsubscribe-by-reference-22410

public UnsubscribeByReference ( string refType, int refId ) : Task
refType string
refId int
Результат Task