C# Class PodioAPI.Services.ViewService

Mostrar archivo Open project: podio/podio-dotnet

Public Methods

Method Description
CreateView ( int appId, ViewCreateUpdateRequest request ) : Task

Creates a new view on the given app.

Podio API Reference: https://developers.podio.com/doc/views/create-view-27453

DeleteView ( int viewId ) : Task

Deletes the given view.

Podio API Reference: https://developers.podio.com/doc/views/delete-view-27454

GetView ( int appId, string viewIdOrName ) : Task

Returns the definition for the given view. The view can be either a view id, a standard view or "last" for the last view used.

Podio API Reference: https://developers.podio.com/doc/views/get-view-27450

GetViews ( int appId, bool includeStandardViews = false ) : Task>

Returns the views on the given app.

Podio API Reference: https://developers.podio.com/doc/views/get-views-27460

UpdateLastView ( int appId, ViewCreateUpdateRequest request ) : Task

Updates the last view for the active user.

Podio API Reference: https://developers.podio.com/doc/views/update-last-view-5988251

UpdateView ( int viewId, ViewCreateUpdateRequest request ) : Task

Updates the given view.

Podio API Reference: https://developers.podio.com/doc/views/update-view-20069949

ViewService ( Podio currentInstance ) : System.Collections.Generic

Method Details

CreateView() public method

Creates a new view on the given app.

Podio API Reference: https://developers.podio.com/doc/views/create-view-27453

public CreateView ( int appId, ViewCreateUpdateRequest request ) : Task
appId int
request PodioAPI.Models.Request.ViewCreateUpdateRequest
return Task

DeleteView() public method

Deletes the given view.

Podio API Reference: https://developers.podio.com/doc/views/delete-view-27454

public DeleteView ( int viewId ) : Task
viewId int
return Task

GetView() public method

Returns the definition for the given view. The view can be either a view id, a standard view or "last" for the last view used.

Podio API Reference: https://developers.podio.com/doc/views/get-view-27450

public GetView ( int appId, string viewIdOrName ) : Task
appId int
viewIdOrName string
return Task

GetViews() public method

Returns the views on the given app.

Podio API Reference: https://developers.podio.com/doc/views/get-views-27460

public GetViews ( int appId, bool includeStandardViews = false ) : Task>
appId int
includeStandardViews bool True if standard views should be included, false otherwise. Default value: false
return Task>

UpdateLastView() public method

Updates the last view for the active user.

Podio API Reference: https://developers.podio.com/doc/views/update-last-view-5988251

public UpdateLastView ( int appId, ViewCreateUpdateRequest request ) : Task
appId int
request PodioAPI.Models.Request.ViewCreateUpdateRequest
return Task

UpdateView() public method

Updates the given view.

Podio API Reference: https://developers.podio.com/doc/views/update-view-20069949

public UpdateView ( int viewId, ViewCreateUpdateRequest request ) : Task
viewId int
request PodioAPI.Models.Request.ViewCreateUpdateRequest
return Task

ViewService() public method

public ViewService ( Podio currentInstance ) : System.Collections.Generic
currentInstance Podio
return System.Collections.Generic