C# 클래스 PodioAPI.Services.WidgetService

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

공개 메소드들

메소드 설명
CloneWidget ( int widgetId, string type, string id ) : Task

Clones the widget to a new position.

Podio API Reference: https://developers.podio.com/doc/widgets/clone-widget-105850650

CreateWidget ( string refType, int refId, string type, string title, dynamic config ) : Task

Create a new widget on the given reference.

Podio API Reference: https://developers.podio.com/doc/widgets/create-widget-22491

DeleteWidget ( int widgetId ) : Task

Deletes the given widget.

Podio API Reference: https://developers.podio.com/doc/widgets/delete-widget-22492

GetWidget ( int widgetId ) : Task

Returns the widget with the given id.

Podio API Reference: https://developers.podio.com/doc/widgets/get-widget-22489

GetWidgets ( string refType, int refId ) : Task>

Returns the widgets on the given reference.

Podio API Reference: https://developers.podio.com/doc/widgets/get-widgets-22494

UpdateWidget ( int widgetId, string title, dynamic config ) : Task

Updates a widget with a new title and configuration.

Podio API Reference: https://developers.podio.com/doc/widgets/update-widget-22490

UpdateWidgetOrder ( string refType, string refId, List widgetIds ) : Task

Updates the order of the widgets on a reference.

Podio API Reference: https://developers.podio.com/doc/widgets/update-widget-order-22495

WidgetService ( Podio currentInstance ) : System.Collections.Generic

메소드 상세

CloneWidget() 공개 메소드

Clones the widget to a new position.

Podio API Reference: https://developers.podio.com/doc/widgets/clone-widget-105850650

public CloneWidget ( int widgetId, string type, string id ) : Task
widgetId int Widget id to be cloned
type string The type of the new position, either "user" or "space",
id string The id of the new position
리턴 Task

CreateWidget() 공개 메소드

Create a new widget on the given reference.

Podio API Reference: https://developers.podio.com/doc/widgets/create-widget-22491

public CreateWidget ( string refType, int refId, string type, string title, dynamic config ) : Task
refType string
refId int
type string The type of widget, see the area for possible values
title string The title of the widget
config dynamic The configuration, depends on the types. See the area for details
리턴 Task

DeleteWidget() 공개 메소드

Deletes the given widget.

Podio API Reference: https://developers.podio.com/doc/widgets/delete-widget-22492

public DeleteWidget ( int widgetId ) : Task
widgetId int
리턴 Task

GetWidget() 공개 메소드

Returns the widget with the given id.

Podio API Reference: https://developers.podio.com/doc/widgets/get-widget-22489

public GetWidget ( int widgetId ) : Task
widgetId int
리턴 Task

GetWidgets() 공개 메소드

Returns the widgets on the given reference.

Podio API Reference: https://developers.podio.com/doc/widgets/get-widgets-22494

public GetWidgets ( string refType, int refId ) : Task>
refType string
refId int
리턴 Task>

UpdateWidget() 공개 메소드

Updates a widget with a new title and configuration.

Podio API Reference: https://developers.podio.com/doc/widgets/update-widget-22490

public UpdateWidget ( int widgetId, string title, dynamic config ) : Task
widgetId int
title string
config dynamic
리턴 Task

UpdateWidgetOrder() 공개 메소드

Updates the order of the widgets on a reference.

Podio API Reference: https://developers.podio.com/doc/widgets/update-widget-order-22495

public UpdateWidgetOrder ( string refType, string refId, List widgetIds ) : Task
refType string
refId string
widgetIds List The ids of the widgets in the new requested order.
리턴 Task

WidgetService() 공개 메소드

public WidgetService ( Podio currentInstance ) : System.Collections.Generic
currentInstance Podio
리턴 System.Collections.Generic