src.index.GetCloudwrapperCapacitiesArgs.scala Maven / Gradle / Ivy
The newest version!
package besom.api.akamai
final case class GetCloudwrapperCapacitiesArgs private(
capacities: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.akamai.inputs.GetCloudwrapperCapacitiesCapacityArgs]]],
contractIds: besom.types.Output[scala.Option[scala.collection.immutable.List[String]]]
)
object GetCloudwrapperCapacitiesArgs:
def apply(
capacities: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.akamai.inputs.GetCloudwrapperCapacitiesCapacityArgs]]] = scala.None,
contractIds: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[String]]] = scala.None
)(using besom.types.Context): GetCloudwrapperCapacitiesArgs =
new GetCloudwrapperCapacitiesArgs(
capacities = capacities.asOptionOutput(isSecret = false),
contractIds = contractIds.asOptionOutput(isSecret = false)
)
given encoder(using besom.types.Context): besom.types.Encoder[GetCloudwrapperCapacitiesArgs] =
besom.internal.Encoder.derived[GetCloudwrapperCapacitiesArgs]
given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[GetCloudwrapperCapacitiesArgs] =
besom.internal.ArgsEncoder.derived[GetCloudwrapperCapacitiesArgs]