Skip to content

Commit

Permalink
Update to newly built .Net 6 Client from GH Run 167
Browse files Browse the repository at this point in the history
  • Loading branch information
openapi-bot committed Oct 5, 2022
1 parent f9f00dc commit dae6026
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Client/Com/Cumulocity/Client/Api/GroupsApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public GroupsApi(HttpClient httpClient) : base(httpClient)
}

/// <inheritdoc />
public async Task<UserGroupCollection?> GetUserGroups(string tenantId, int? currentPage = null, int? pageSize = null, bool? withTotalElements = null, bool? withTotalPages = null)
public async Task<UserGroupCollection?> GetTenantUserGroups(string tenantId, int? currentPage = null, int? pageSize = null, bool? withTotalElements = null, bool? withTotalPages = null)
{
var client = HttpClient;
var resourcePath = $"/user/{tenantId}/groups";
Expand Down
2 changes: 1 addition & 1 deletion Client/Com/Cumulocity/Client/Api/IGroupsApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public interface IGroupsApi
/// <param name="withTotalElements">When set to `true`, the returned result will contain in the statistics object the total number of elements. Only applicable on [range queries](https://en.wikipedia.org/wiki/Range_query_(database)).</param>
/// <param name="withTotalPages">When set to `true`, the returned result will contain in the statistics object the total number of pages. Only applicable on [range queries](https://en.wikipedia.org/wiki/Range_query_(database)).</param>
/// <returns></returns>
Task<UserGroupCollection?> GetUserGroups(string tenantId, int? currentPage = null, int? pageSize = null, bool? withTotalElements = null, bool? withTotalPages = null);
Task<UserGroupCollection?> GetTenantUserGroups(string tenantId, int? currentPage = null, int? pageSize = null, bool? withTotalElements = null, bool? withTotalPages = null);

/// <summary>
/// Create a user group for a specific tenant<br/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@ public class DevicecontrolFactory

public class InventoryFactory
{
public IInventoryApi InventoryApi => new InventoryApi(Instance.HttpClient);
public IManagedObjectsApi ManagedObjectsApi => new ManagedObjectsApi(Instance.HttpClient);
public IBinariesApi BinariesApi => new BinariesApi(Instance.HttpClient);
public IChildOperationsApi ChildOperationsApi => new ChildOperationsApi(Instance.HttpClient);
Expand Down

0 comments on commit dae6026

Please sign in to comment.