Skip to content

Commit a36b3ad

Browse files
Commit via running: make Sources/hosted-compute
1 parent b79e0d4 commit a36b3ad

File tree

1 file changed

+20
-4
lines changed

1 file changed

+20
-4
lines changed

Sources/hosted-compute/Types.swift

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,14 @@ public enum Components {
224224
///
225225
/// - Remark: Generated from `#/components/schemas/network-configuration/network_settings_ids`.
226226
public var networkSettingsIds: [Swift.String]?
227+
/// The unique identifier of each failover network settings in the configuration.
228+
///
229+
/// - Remark: Generated from `#/components/schemas/network-configuration/failover_network_settings_ids`.
230+
public var failoverNetworkSettingsIds: [Swift.String]?
231+
/// Indicates whether the failover network resource is enabled.
232+
///
233+
/// - Remark: Generated from `#/components/schemas/network-configuration/failover_network_enabled`.
234+
public var failoverNetworkEnabled: Swift.Bool?
227235
/// The time at which the network configuration was created, in ISO 8601 format.
228236
///
229237
/// - Remark: Generated from `#/components/schemas/network-configuration/created_on`.
@@ -235,25 +243,33 @@ public enum Components {
235243
/// - name: The name of the network configuration.
236244
/// - computeService: The hosted compute service the network configuration supports.
237245
/// - networkSettingsIds: The unique identifier of each network settings in the configuration.
246+
/// - failoverNetworkSettingsIds: The unique identifier of each failover network settings in the configuration.
247+
/// - failoverNetworkEnabled: Indicates whether the failover network resource is enabled.
238248
/// - createdOn: The time at which the network configuration was created, in ISO 8601 format.
239249
public init(
240250
id: Swift.String,
241251
name: Swift.String,
242252
computeService: Components.Schemas.NetworkConfiguration.ComputeServicePayload? = nil,
243253
networkSettingsIds: [Swift.String]? = nil,
254+
failoverNetworkSettingsIds: [Swift.String]? = nil,
255+
failoverNetworkEnabled: Swift.Bool? = nil,
244256
createdOn: Foundation.Date? = nil
245257
) {
246258
self.id = id
247259
self.name = name
248260
self.computeService = computeService
249261
self.networkSettingsIds = networkSettingsIds
262+
self.failoverNetworkSettingsIds = failoverNetworkSettingsIds
263+
self.failoverNetworkEnabled = failoverNetworkEnabled
250264
self.createdOn = createdOn
251265
}
252266
public enum CodingKeys: String, CodingKey {
253267
case id
254268
case name
255269
case computeService = "compute_service"
256270
case networkSettingsIds = "network_settings_ids"
271+
case failoverNetworkSettingsIds = "failover_network_settings_ids"
272+
case failoverNetworkEnabled = "failover_network_enabled"
257273
case createdOn = "created_on"
258274
}
259275
}
@@ -607,7 +623,7 @@ public enum Operations {
607623
///
608624
/// - Remark: Generated from `#/paths/orgs/{org}/settings/network-configurations/POST/requestBody/json/compute_service`.
609625
public var computeService: Operations.HostedComputeCreateNetworkConfigurationForOrg.Input.Body.JsonPayload.ComputeServicePayload?
610-
/// The identifier of the network settings to use for the network configuration. Exactly one network settings must be specified.
626+
/// A list of identifiers of the network settings resources to use for the network configuration. Exactly one resource identifier must be specified in the list.
611627
///
612628
/// - Remark: Generated from `#/paths/orgs/{org}/settings/network-configurations/POST/requestBody/json/network_settings_ids`.
613629
public var networkSettingsIds: [Swift.String]
@@ -616,7 +632,7 @@ public enum Operations {
616632
/// - Parameters:
617633
/// - name: Name of the network configuration. Must be between 1 and 100 characters and may only contain upper and lowercase letters a-z, numbers 0-9, '.', '-', and '_'.
618634
/// - computeService: The hosted compute service to use for the network configuration.
619-
/// - networkSettingsIds: The identifier of the network settings to use for the network configuration. Exactly one network settings must be specified.
635+
/// - networkSettingsIds: A list of identifiers of the network settings resources to use for the network configuration. Exactly one resource identifier must be specified in the list.
620636
public init(
621637
name: Swift.String,
622638
computeService: Operations.HostedComputeCreateNetworkConfigurationForOrg.Input.Body.JsonPayload.ComputeServicePayload? = nil,
@@ -963,7 +979,7 @@ public enum Operations {
963979
///
964980
/// - Remark: Generated from `#/paths/orgs/{org}/settings/network-configurations/{network_configuration_id}/PATCH/requestBody/json/compute_service`.
965981
public var computeService: Operations.HostedComputeUpdateNetworkConfigurationForOrg.Input.Body.JsonPayload.ComputeServicePayload?
966-
/// The identifier of the network settings to use for the network configuration. Exactly one network settings must be specified.
982+
/// A list of identifiers of the network settings resources to use for the network configuration. Exactly one resource identifier must be specified in the list.
967983
///
968984
/// - Remark: Generated from `#/paths/orgs/{org}/settings/network-configurations/{network_configuration_id}/PATCH/requestBody/json/network_settings_ids`.
969985
public var networkSettingsIds: [Swift.String]?
@@ -972,7 +988,7 @@ public enum Operations {
972988
/// - Parameters:
973989
/// - name: Name of the network configuration. Must be between 1 and 100 characters and may only contain upper and lowercase letters a-z, numbers 0-9, '.', '-', and '_'.
974990
/// - computeService: The hosted compute service to use for the network configuration.
975-
/// - networkSettingsIds: The identifier of the network settings to use for the network configuration. Exactly one network settings must be specified.
991+
/// - networkSettingsIds: A list of identifiers of the network settings resources to use for the network configuration. Exactly one resource identifier must be specified in the list.
976992
public init(
977993
name: Swift.String? = nil,
978994
computeService: Operations.HostedComputeUpdateNetworkConfigurationForOrg.Input.Body.JsonPayload.ComputeServicePayload? = nil,

0 commit comments

Comments
 (0)