C# Class PodioAPI.Services.WidgetService

Afficher le fichier Open project: podio/podio-dotnet

Méthodes publiques

Méthode Description
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

Method Details

CloneWidget() public méthode

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
Résultat Task

CreateWidget() public méthode

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
Résultat Task

DeleteWidget() public méthode

Deletes the given widget.

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

public DeleteWidget ( int widgetId ) : Task
widgetId int
Résultat Task

GetWidget() public méthode

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
Résultat Task

GetWidgets() public méthode

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
Résultat Task>

UpdateWidget() public méthode

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
Résultat Task

UpdateWidgetOrder() public méthode

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.
Résultat Task

WidgetService() public méthode

public WidgetService ( Podio currentInstance ) : System.Collections.Generic
currentInstance Podio
Résultat System.Collections.Generic