Skip to content

Commit

Permalink
Update to newly built Swift 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 20f4b80 commit 837b5f4
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 99 deletions.
2 changes: 1 addition & 1 deletion Sources/CumulocityCoreLibrary/Api/GroupsApi.swift
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public class GroupsApi: AdaptableApi {
/// 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)).
/// - 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)).
public func getUserGroups(tenantId: String, currentPage: Int? = nil, pageSize: Int? = nil, withTotalElements: Bool? = nil, withTotalPages: Bool? = nil) throws -> AnyPublisher<C8yUserGroupCollection, Swift.Error> {
public func getTenantUserGroups(tenantId: String, currentPage: Int? = nil, pageSize: Int? = nil, withTotalElements: Bool? = nil, withTotalPages: Bool? = nil) throws -> AnyPublisher<C8yUserGroupCollection, Swift.Error> {
var queryItems: [URLQueryItem] = []
if let parameter = currentPage { queryItems.append(URLQueryItem(name: "currentPage", value: String(parameter))) }
if let parameter = pageSize { queryItems.append(URLQueryItem(name: "pageSize", value: String(parameter))) }
Expand Down
55 changes: 0 additions & 55 deletions Sources/CumulocityCoreLibrary/Api/InventoryApi.swift

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,6 @@ extension Cumulocity {

private var factory: Core

public lazy var inventoryApi: InventoryApi = InventoryApi(requestBuilder: factory.requestBuilder, withSession: factory.session)
public lazy var managedObjectsApi: ManagedObjectsApi = ManagedObjectsApi(requestBuilder: factory.requestBuilder, withSession: factory.session)
public lazy var binariesApi: BinariesApi = BinariesApi(requestBuilder: factory.requestBuilder, withSession: factory.session)
public lazy var childOperationsApi: ChildOperationsApi = ChildOperationsApi(requestBuilder: factory.requestBuilder, withSession: factory.session)
Expand Down
42 changes: 0 additions & 42 deletions Tests/CumulocityCoreLibraryTests/Api/InventoryApiTest.swift

This file was deleted.

0 comments on commit 837b5f4

Please sign in to comment.