TablesClient: add views api calls
This commit is contained in:
@@ -23,6 +23,11 @@ namespace Pilz.Networking.CloudProviders.Nextcloud.Client.Apps.Tables
|
||||
return Client.Ocs.GetApi<OcsApiTables>().GetRows(tableId);
|
||||
}
|
||||
|
||||
public Rows? GetViewRows(long viewId)
|
||||
{
|
||||
return Client.Ocs.GetApi<OcsApiTables>().GetViewRows(viewId);
|
||||
}
|
||||
|
||||
public Row? GetRow(long rowId)
|
||||
{
|
||||
return Client.Ocs.GetApi<OcsApiTables>().GetRow(rowId);
|
||||
@@ -33,6 +38,11 @@ namespace Pilz.Networking.CloudProviders.Nextcloud.Client.Apps.Tables
|
||||
return Client.Ocs.GetApi<OcsApiTables>().GetColumns(tableId);
|
||||
}
|
||||
|
||||
public Columns? GetViewColumns(long viewId)
|
||||
{
|
||||
return Client.Ocs.GetApi<OcsApiTables>().GetViewColumns(viewId);
|
||||
}
|
||||
|
||||
public Column? GetColumn(long columnId)
|
||||
{
|
||||
return Client.Ocs.GetApi<OcsApiTables>().GetColumn(columnId);
|
||||
|
||||
Reference in New Issue
Block a user