src.index.EdgeKvArgs.scala Maven / Gradle / Ivy
The newest version!
package besom.api.akamai
final case class EdgeKvArgs private(
geoLocation: besom.types.Output[scala.Option[String]],
groupId: besom.types.Output[Int],
initialDatas: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.akamai.inputs.EdgeKvInitialDataArgs]]],
namespaceName: besom.types.Output[String],
network: besom.types.Output[String],
retentionInSeconds: besom.types.Output[Int]
)
object EdgeKvArgs:
def apply(
geoLocation: besom.types.Input.Optional[String] = scala.None,
groupId: besom.types.Input[Int],
initialDatas: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.akamai.inputs.EdgeKvInitialDataArgs]]] = scala.None,
namespaceName: besom.types.Input[String],
network: besom.types.Input[String],
retentionInSeconds: besom.types.Input[Int]
)(using besom.types.Context): EdgeKvArgs =
new EdgeKvArgs(
geoLocation = geoLocation.asOptionOutput(isSecret = false),
groupId = groupId.asOutput(isSecret = false),
initialDatas = initialDatas.asOptionOutput(isSecret = false),
namespaceName = namespaceName.asOutput(isSecret = false),
network = network.asOutput(isSecret = false),
retentionInSeconds = retentionInSeconds.asOutput(isSecret = false)
)
given encoder(using besom.types.Context): besom.types.Encoder[EdgeKvArgs] =
besom.internal.Encoder.derived[EdgeKvArgs]
given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[EdgeKvArgs] =
besom.internal.ArgsEncoder.derived[EdgeKvArgs]