C# 클래스 PodioAPI.Services.SubscriptionService

파일 보기 프로젝트 열기: podio/podio-dotnet

공개 메소드들

메소드 설명
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