src.index.PropertyActivationArgs.scala Maven / Gradle / Ivy
The newest version!
package besom.api.akamai
final case class PropertyActivationArgs private(
activationId: besom.types.Output[scala.Option[String]],
autoAcknowledgeRuleWarnings: besom.types.Output[scala.Option[Boolean]],
complianceRecord: besom.types.Output[scala.Option[besom.api.akamai.inputs.PropertyActivationComplianceRecordArgs]],
contacts: besom.types.Output[scala.collection.immutable.List[String]],
network: besom.types.Output[scala.Option[String]],
note: besom.types.Output[scala.Option[String]],
propertyId: besom.types.Output[String],
ruleErrors: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.akamai.inputs.PropertyActivationRuleErrorArgs]]],
timeouts: besom.types.Output[scala.Option[besom.api.akamai.inputs.PropertyActivationTimeoutsArgs]],
version: besom.types.Output[Int]
)
object PropertyActivationArgs:
def apply(
activationId: besom.types.Input.Optional[String] = scala.None,
autoAcknowledgeRuleWarnings: besom.types.Input.Optional[Boolean] = scala.None,
complianceRecord: besom.types.Input.Optional[besom.api.akamai.inputs.PropertyActivationComplianceRecordArgs] = scala.None,
contacts: besom.types.Input[scala.collection.immutable.List[besom.types.Input[String]]],
network: besom.types.Input.Optional[String] = scala.None,
note: besom.types.Input.Optional[String] = scala.None,
propertyId: besom.types.Input[String],
ruleErrors: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.akamai.inputs.PropertyActivationRuleErrorArgs]]] = scala.None,
timeouts: besom.types.Input.Optional[besom.api.akamai.inputs.PropertyActivationTimeoutsArgs] = scala.None,
version: besom.types.Input[Int]
)(using besom.types.Context): PropertyActivationArgs =
new PropertyActivationArgs(
activationId = activationId.asOptionOutput(isSecret = false),
autoAcknowledgeRuleWarnings = autoAcknowledgeRuleWarnings.asOptionOutput(isSecret = false),
complianceRecord = complianceRecord.asOptionOutput(isSecret = false),
contacts = contacts.asOutput(isSecret = false),
network = network.asOptionOutput(isSecret = false),
note = note.asOptionOutput(isSecret = false),
propertyId = propertyId.asOutput(isSecret = false),
ruleErrors = ruleErrors.asOptionOutput(isSecret = false),
timeouts = timeouts.asOptionOutput(isSecret = false),
version = version.asOutput(isSecret = false)
)
given encoder(using besom.types.Context): besom.types.Encoder[PropertyActivationArgs] =
besom.internal.Encoder.derived[PropertyActivationArgs]
given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[PropertyActivationArgs] =
besom.internal.ArgsEncoder.derived[PropertyActivationArgs]