Skip to content

Commit

Permalink
Updates service models to 2023-08-18
Browse files Browse the repository at this point in the history
  • Loading branch information
stevapple committed Aug 20, 2023
1 parent a04c3a2 commit aeb0296
Show file tree
Hide file tree
Showing 2,084 changed files with 11,310 additions and 4,948 deletions.
3 changes: 3 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,7 @@ let package = Package(
.library(name: "TecoTmtV20180321", targets: ["TecoTmtV20180321"]),
.library(name: "TecoTourismV20230215", targets: ["TecoTourismV20230215"]),
.library(name: "TecoTrdpV20220726", targets: ["TecoTrdpV20220726"]),
.library(name: "TecoTrocketV20230308", targets: ["TecoTrocketV20230308"]),
.library(name: "TecoTrpV20210515", targets: ["TecoTrpV20210515"]),
.library(name: "TecoTrroV20220325", targets: ["TecoTrroV20220325"]),
.library(name: "TecoTrtcV20190722", targets: ["TecoTrtcV20190722"]),
Expand Down Expand Up @@ -535,6 +536,7 @@ let package = Package(
.target(name: "TecoTmtV20180321", dependencies: [.product(name: "TecoCore", package: "teco-core")], path: "./Sources/Teco/Tmt/V20180321"),
.target(name: "TecoTourismV20230215", dependencies: [.product(name: "TecoCore", package: "teco-core")], path: "./Sources/Teco/Tourism/V20230215"),
.target(name: "TecoTrdpV20220726", dependencies: [.product(name: "TecoCore", package: "teco-core")], path: "./Sources/Teco/Trdp/V20220726"),
.target(name: "TecoTrocketV20230308", dependencies: [.product(name: "TecoCore", package: "teco-core")], path: "./Sources/Teco/Trocket/V20230308"),
.target(name: "TecoTrpV20210515", dependencies: [.product(name: "TecoCore", package: "teco-core")], path: "./Sources/Teco/Trp/V20210515"),
.target(name: "TecoTrroV20220325", dependencies: [.product(name: "TecoCore", package: "teco-core")], path: "./Sources/Teco/Trro/V20220325"),
.target(name: "TecoTrtcV20190722", dependencies: [.product(name: "TecoCore", package: "teco-core")], path: "./Sources/Teco/Trtc/V20190722"),
Expand Down Expand Up @@ -562,4 +564,5 @@ let package = Package(
.target(name: "TecoYunsouV20180504", dependencies: [.product(name: "TecoCore", package: "teco-core")], path: "./Sources/Teco/Yunsou/V20180504"),
.target(name: "TecoZjV20190121", dependencies: [.product(name: "TecoCore", package: "teco-core")], path: "./Sources/Teco/Zj/V20190121"),
]

)
1 change: 1 addition & 0 deletions Sources/Teco/Aa/V20200224/client.swift
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ public struct Aa: TCService {
errorType: TCAaError.self,
timeout: timeout,
byteBufferAllocator: byteBufferAllocator

)
}
}
Expand Down
1 change: 1 addition & 0 deletions Sources/Teco/Aai/V20180522/client.swift
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ public struct Aai: TCService {
errorType: TCAaiError.self,
timeout: timeout,
byteBufferAllocator: byteBufferAllocator

)
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ extension Acp {
guard !response.getItems().isEmpty else {
return nil
}
return DescribeScanTaskListRequest(source: self.source, platform: self.platform, taskStatuses: self.taskStatuses, taskTypes: self.taskTypes, pageNo: self.pageNo + 1, pageSize: self.pageSize, appName: self.appName, startTime: self.startTime, endTime: self.endTime)
return .init(source: self.source, platform: self.platform, taskStatuses: self.taskStatuses, taskTypes: self.taskTypes, pageNo: self.pageNo + 1, pageSize: self.pageSize, appName: self.appName, startTime: self.startTime, endTime: self.endTime)
}
}

Expand Down
1 change: 1 addition & 0 deletions Sources/Teco/Acp/V20220105/client.swift
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ public struct Acp: TCService {
errorType: TCAcpError.self,
timeout: timeout,
byteBufferAllocator: byteBufferAllocator

)
}
}
Expand Down
1 change: 1 addition & 0 deletions Sources/Teco/Advisor/V20200721/client.swift
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ public struct Advisor: TCService {
errorType: TCAdvisorError.self,
timeout: timeout,
byteBufferAllocator: byteBufferAllocator

)
}
}
Expand Down
1 change: 1 addition & 0 deletions Sources/Teco/Af/V20200226/client.swift
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ public struct Af: TCService {
errorType: TCAfError.self,
timeout: timeout,
byteBufferAllocator: byteBufferAllocator

)
}
}
Expand Down
1 change: 1 addition & 0 deletions Sources/Teco/Afc/V20200226/client.swift
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ public struct Afc: TCService {
errorType: TCAfcError.self,
timeout: timeout,
byteBufferAllocator: byteBufferAllocator

)
}
}
Expand Down
1 change: 1 addition & 0 deletions Sources/Teco/Aiart/V20221229/client.swift
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ public struct Aiart: TCService {
errorType: TCAiartError.self,
timeout: timeout,
byteBufferAllocator: byteBufferAllocator

)
}
}
Expand Down
2 changes: 1 addition & 1 deletion Sources/Teco/Ame/V20190916/actions/DescribeAuthInfo.swift
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ extension Ame {
guard !response.getItems().isEmpty else {
return nil
}
return DescribeAuthInfoRequest(offset: (self.offset ?? 0) + .init(response.getItems().count), limit: self.limit, key: self.key)
return .init(offset: (self.offset ?? 0) + .init(response.getItems().count), limit: self.limit, key: self.key)
}
}

Expand Down
2 changes: 1 addition & 1 deletion Sources/Teco/Ame/V20190916/actions/DescribeItems.swift
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ extension Ame {
guard response.haveMore > 0 else {
return nil
}
return DescribeItemsRequest(offset: self.offset + .init(response.getItems().count), limit: self.limit, categoryId: self.categoryId, categoryCode: self.categoryCode)
return .init(offset: self.offset + .init(response.getItems().count), limit: self.limit, categoryId: self.categoryId, categoryCode: self.categoryCode)
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ extension Ame {
guard !response.getItems().isEmpty else {
return nil
}
return DescribeKTVPlaylistDetailRequest(playlistId: self.playlistId, offset: (self.offset ?? 0) + .init(response.getItems().count), limit: self.limit)
return .init(playlistId: self.playlistId, offset: (self.offset ?? 0) + .init(response.getItems().count), limit: self.limit)
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ extension Ame {
guard !response.getItems().isEmpty else {
return nil
}
return DescribeKTVPlaylistsRequest(type: self.type, offset: (self.offset ?? 0) + .init(response.getItems().count), limit: self.limit)
return .init(type: self.type, offset: (self.offset ?? 0) + .init(response.getItems().count), limit: self.limit)
}
}

Expand Down
2 changes: 1 addition & 1 deletion Sources/Teco/Ame/V20190916/actions/DescribeKTVRobots.swift
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ extension Ame {
guard !response.getItems().isEmpty else {
return nil
}
return DescribeKTVRobotsRequest(robotIds: self.robotIds, statuses: self.statuses, createTime: self.createTime, offset: (self.offset ?? 0) + .init(response.getItems().count), limit: self.limit)
return .init(robotIds: self.robotIds, statuses: self.statuses, createTime: self.createTime, offset: (self.offset ?? 0) + .init(response.getItems().count), limit: self.limit)
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ extension Ame {
guard !response.getItems().isEmpty else {
return nil
}
return DescribeKTVSingerMusicsRequest(singerId: self.singerId, offset: (self.offset ?? 0) + .init(response.getItems().count), limit: self.limit)
return .init(singerId: self.singerId, offset: (self.offset ?? 0) + .init(response.getItems().count), limit: self.limit)
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ extension Ame {
guard !response.getItems().isEmpty else {
return nil
}
return DescribeKTVSingersRequest(singerIds: self.singerIds, genders: self.genders, areas: self.areas, sort: self.sort, offset: (self.offset ?? 0) + .init(response.getItems().count), limit: self.limit)
return .init(singerIds: self.singerIds, genders: self.genders, areas: self.areas, sort: self.sort, offset: (self.offset ?? 0) + .init(response.getItems().count), limit: self.limit)
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ extension Ame {
guard !response.getItems().isEmpty else {
return nil
}
return DescribePackageItemsRequest(orderId: self.orderId, offset: (self.offset ?? 0) + .init(response.getItems().count), length: self.length)
return .init(orderId: self.orderId, offset: (self.offset ?? 0) + .init(response.getItems().count), length: self.length)
}
}

Expand Down
2 changes: 1 addition & 1 deletion Sources/Teco/Ame/V20190916/actions/DescribePackages.swift
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ extension Ame {
guard !response.getItems().isEmpty else {
return nil
}
return DescribePackagesRequest(offset: (self.offset ?? 0) + .init(response.getItems().count), length: self.length)
return .init(offset: (self.offset ?? 0) + .init(response.getItems().count), length: self.length)
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ extension Ame {
guard !response.getItems().isEmpty else {
return nil
}
return DescribePkgOfflineMusicRequest(packageOrderId: self.packageOrderId, limit: self.limit, offset: (self.offset ?? 0) + .init(response.getItems().count))
return .init(packageOrderId: self.packageOrderId, limit: self.limit, offset: (self.offset ?? 0) + .init(response.getItems().count))
}
}

Expand Down
2 changes: 1 addition & 1 deletion Sources/Teco/Ame/V20190916/actions/DescribeStations.swift
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ extension Ame {
guard response.haveMore > 0 else {
return nil
}
return DescribeStationsRequest(limit: self.limit, offset: self.offset + .init(response.getItems().count))
return .init(limit: self.limit, offset: self.offset + .init(response.getItems().count))
}
}

Expand Down
2 changes: 1 addition & 1 deletion Sources/Teco/Ame/V20190916/actions/SearchKTVMusics.swift
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ extension Ame {
guard !response.getItems().isEmpty else {
return nil
}
return SearchKTVMusicsRequest(keyWord: self.keyWord, offset: self.offset + .init(response.getItems().count), limit: self.limit, sort: self.sort, tagIds: self.tagIds)
return .init(keyWord: self.keyWord, offset: self.offset + .init(response.getItems().count), limit: self.limit, sort: self.sort, tagIds: self.tagIds)
}
}

Expand Down
1 change: 1 addition & 0 deletions Sources/Teco/Ame/V20190916/client.swift
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ public struct Ame: TCService {
errorType: TCAmeError.self,
timeout: timeout,
byteBufferAllocator: byteBufferAllocator

)
}
}
Expand Down
2 changes: 1 addition & 1 deletion Sources/Teco/Ams/V20200608/actions/DescribeAmsList.swift
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ extension Ams {
guard !response.getItems().isEmpty else {
return nil
}
return DescribeAmsListRequest(pageToken: response.pageToken, limit: self.limit, pageDirection: self.pageDirection, filters: self.filters)
return .init(pageToken: response.pageToken, limit: self.limit, pageDirection: self.pageDirection, filters: self.filters)
}
}

Expand Down
1 change: 1 addition & 0 deletions Sources/Teco/Ams/V20200608/client.swift
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ public struct Ams: TCService {
errorType: nil,
timeout: timeout,
byteBufferAllocator: byteBufferAllocator

)
}
}
Expand Down
2 changes: 1 addition & 1 deletion Sources/Teco/Ams/V20201229/actions/DescribeTasks.swift
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ extension Ams {
guard response.pageToken != nil else {
return nil
}
return DescribeTasksRequest(limit: self.limit, filter: self.filter, pageToken: response.pageToken, startTime: self.startTime, endTime: self.endTime)
return .init(limit: self.limit, filter: self.filter, pageToken: response.pageToken, startTime: self.startTime, endTime: self.endTime)
}
}

Expand Down
1 change: 1 addition & 0 deletions Sources/Teco/Ams/V20201229/client.swift
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ public struct Ams: TCService {
errorType: TCAmsError.self,
timeout: timeout,
byteBufferAllocator: byteBufferAllocator

)
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ extension Anicloud {
guard !response.getItems().isEmpty else {
return nil
}
return QueryResourceRequest(type: self.type, pageNumber: self.pageNumber + 1, pageSize: self.pageSize)
return .init(type: self.type, pageNumber: self.pageNumber + 1, pageSize: self.pageSize)
}
}

Expand Down
1 change: 1 addition & 0 deletions Sources/Teco/Anicloud/V20220923/client.swift
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ public struct Anicloud: TCService {
errorType: TCAnicloudError.self,
timeout: timeout,
byteBufferAllocator: byteBufferAllocator

)
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ extension Antiddos {
guard !response.getItems().isEmpty else {
return nil
}
return DescribeCCLevelListRequest(business: self.business, offset: self.offset + .init(response.getItems().count), limit: self.limit, instanceId: self.instanceId)
return .init(business: self.business, offset: self.offset + .init(response.getItems().count), limit: self.limit, instanceId: self.instanceId)
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ extension Antiddos {
guard !response.getItems().isEmpty else {
return nil
}
return DescribeCCPrecisionPlyListRequest(business: self.business, offset: self.offset + .init(response.getItems().count), limit: self.limit, instanceId: self.instanceId, ip: self.ip, domain: self.domain, protocol: self.protocol)
return .init(business: self.business, offset: self.offset + .init(response.getItems().count), limit: self.limit, instanceId: self.instanceId, ip: self.ip, domain: self.domain, protocol: self.protocol)
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ extension Antiddos {
guard !response.getItems().isEmpty else {
return nil
}
return DescribeCCReqLimitPolicyListRequest(business: self.business, offset: self.offset + .init(response.getItems().count), limit: self.limit, instanceId: self.instanceId, ip: self.ip, domain: self.domain, protocol: self.protocol)
return .init(business: self.business, offset: self.offset + .init(response.getItems().count), limit: self.limit, instanceId: self.instanceId, ip: self.ip, domain: self.domain, protocol: self.protocol)
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ extension Antiddos {
guard !response.getItems().isEmpty else {
return nil
}
return DescribeCCThresholdListRequest(business: self.business, offset: self.offset + .init(response.getItems().count), limit: self.limit, instanceId: self.instanceId)
return .init(business: self.business, offset: self.offset + .init(response.getItems().count), limit: self.limit, instanceId: self.instanceId)
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ extension Antiddos {
guard !response.getItems().isEmpty else {
return nil
}
return DescribeCcBlackWhiteIpListRequest(business: self.business, instanceId: self.instanceId, offset: self.offset + .init(response.getItems().count), limit: self.limit, ip: self.ip, domain: self.domain, protocol: self.protocol, filterIp: self.filterIp, filterType: self.filterType)
return .init(business: self.business, instanceId: self.instanceId, offset: self.offset + .init(response.getItems().count), limit: self.limit, ip: self.ip, domain: self.domain, protocol: self.protocol, filterIp: self.filterIp, filterType: self.filterType)
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ extension Antiddos {
guard !response.getItems().isEmpty else {
return nil
}
return DescribeCcGeoIPBlockConfigListRequest(business: self.business, offset: self.offset + .init(response.getItems().count), limit: self.limit, instanceId: self.instanceId, ip: self.ip, domain: self.domain, protocol: self.protocol)
return .init(business: self.business, offset: self.offset + .init(response.getItems().count), limit: self.limit, instanceId: self.instanceId, ip: self.ip, domain: self.domain, protocol: self.protocol)
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ extension Antiddos {
guard !response.getItems().isEmpty else {
return nil
}
return DescribeDDoSConnectLimitListRequest(offset: self.offset + .init(response.getItems().count), limit: self.limit, filterIp: self.filterIp, filterInstanceId: self.filterInstanceId)
return .init(offset: self.offset + .init(response.getItems().count), limit: self.limit, filterIp: self.filterIp, filterInstanceId: self.filterInstanceId)
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ extension Antiddos {
guard !response.getItems().isEmpty else {
return nil
}
return DescribeListBGPIPInstancesRequest(offset: self.offset + .init(response.getItems().count), limit: self.limit, filterIp: self.filterIp, filterInstanceId: self.filterInstanceId, filterLine: self.filterLine, filterRegion: self.filterRegion, filterName: self.filterName, filterEipType: self.filterEipType, filterEipEipAddressStatus: self.filterEipEipAddressStatus, filterDamDDoSStatus: self.filterDamDDoSStatus, filterStatus: self.filterStatus, filterCname: self.filterCname, filterInstanceIdList: self.filterInstanceIdList, filterTag: self.filterTag, filterPackType: self.filterPackType, filterConvoy: self.filterConvoy)
return .init(offset: self.offset + .init(response.getItems().count), limit: self.limit, filterIp: self.filterIp, filterInstanceId: self.filterInstanceId, filterLine: self.filterLine, filterRegion: self.filterRegion, filterName: self.filterName, filterEipType: self.filterEipType, filterEipEipAddressStatus: self.filterEipEipAddressStatus, filterDamDDoSStatus: self.filterDamDDoSStatus, filterStatus: self.filterStatus, filterCname: self.filterCname, filterInstanceIdList: self.filterInstanceIdList, filterTag: self.filterTag, filterPackType: self.filterPackType, filterConvoy: self.filterConvoy)
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ extension Antiddos {
guard !response.getItems().isEmpty else {
return nil
}
return DescribeListBGPInstancesRequest(offset: self.offset + .init(response.getItems().count), limit: self.limit, filterIp: self.filterIp, filterInstanceId: self.filterInstanceId, filterRegion: self.filterRegion, filterName: self.filterName, filterLine: self.filterLine, filterStatus: self.filterStatus, filterBoundStatus: self.filterBoundStatus, filterInstanceIdList: self.filterInstanceIdList, filterEnterpriseFlag: self.filterEnterpriseFlag, filterLightFlag: self.filterLightFlag, filterChannelFlag: self.filterChannelFlag, filterTag: self.filterTag, filterTrialFlag: self.filterTrialFlag, filterConvoy: self.filterConvoy, excludeAdvancedInfo: self.excludeAdvancedInfo, filterAssetIpList: self.filterAssetIpList, filterBasicPlusFlag: self.filterBasicPlusFlag)
return .init(offset: self.offset + .init(response.getItems().count), limit: self.limit, filterIp: self.filterIp, filterInstanceId: self.filterInstanceId, filterRegion: self.filterRegion, filterName: self.filterName, filterLine: self.filterLine, filterStatus: self.filterStatus, filterBoundStatus: self.filterBoundStatus, filterInstanceIdList: self.filterInstanceIdList, filterEnterpriseFlag: self.filterEnterpriseFlag, filterLightFlag: self.filterLightFlag, filterChannelFlag: self.filterChannelFlag, filterTag: self.filterTag, filterTrialFlag: self.filterTrialFlag, filterConvoy: self.filterConvoy, excludeAdvancedInfo: self.excludeAdvancedInfo, filterAssetIpList: self.filterAssetIpList, filterBasicPlusFlag: self.filterBasicPlusFlag)
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ extension Antiddos {
guard !response.getItems().isEmpty else {
return nil
}
return DescribeListBlackWhiteIpListRequest(offset: self.offset + .init(response.getItems().count), limit: self.limit, filterInstanceId: self.filterInstanceId, filterIp: self.filterIp)
return .init(offset: self.offset + .init(response.getItems().count), limit: self.limit, filterInstanceId: self.filterInstanceId, filterIp: self.filterIp)
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ extension Antiddos {
guard !response.getItems().isEmpty else {
return nil
}
return DescribeListDDoSAIRequest(offset: self.offset + .init(response.getItems().count), limit: self.limit, filterInstanceId: self.filterInstanceId, filterIp: self.filterIp)
return .init(offset: self.offset + .init(response.getItems().count), limit: self.limit, filterInstanceId: self.filterInstanceId, filterIp: self.filterIp)
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ extension Antiddos {
guard !response.getItems().isEmpty else {
return nil
}
return DescribeListDDoSGeoIPBlockConfigRequest(offset: self.offset + .init(response.getItems().count), limit: self.limit, filterInstanceId: self.filterInstanceId, filterIp: self.filterIp)
return .init(offset: self.offset + .init(response.getItems().count), limit: self.limit, filterInstanceId: self.filterInstanceId, filterIp: self.filterIp)
}
}

Expand Down
Loading

0 comments on commit aeb0296

Please sign in to comment.