begin implementing Tables API
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
using System;
|
||||
using Pilz.Networking.CloudProviders.Nextcloud.Client.Apps.Tables;
|
||||
using Pilz.Networking.CloudProviders.Nextcloud.Client.Apps.Tables.Model;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
@@ -14,5 +16,30 @@ namespace Pilz.Networking.CloudProviders.Nextcloud.Client
|
||||
{
|
||||
Client = client;
|
||||
}
|
||||
|
||||
public RowsSimple? GetRowsSimple(long tableId)
|
||||
{
|
||||
return Client.Ocs.GetApi<OcsApiTables>().GetRowsSimple(tableId);
|
||||
}
|
||||
|
||||
public Rows? GetRows(long tableId)
|
||||
{
|
||||
return Client.Ocs.GetApi<OcsApiTables>().GetRows(tableId);
|
||||
}
|
||||
|
||||
public Row? GetRow(long rowId)
|
||||
{
|
||||
return Client.Ocs.GetApi<OcsApiTables>().GetRow(rowId);
|
||||
}
|
||||
|
||||
public Columns? GetColumns(long tableId)
|
||||
{
|
||||
return Client.Ocs.GetApi<OcsApiTables>().GetColumns(tableId);
|
||||
}
|
||||
|
||||
public Column? GetColumn(long columnId)
|
||||
{
|
||||
return Client.Ocs.GetApi<OcsApiTables>().GetColumn(columnId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user