src.index.inputs.GetCpsEnrollmentCsrArgs.scala Maven / Gradle / Ivy
The newest version!
package besom.api.akamai.inputs
final case class GetCpsEnrollmentCsrArgs private(
city: besom.types.Output[String],
countryCode: besom.types.Output[String],
organization: besom.types.Output[String],
organizationalUnit: besom.types.Output[String],
preferredTrustChain: besom.types.Output[String],
state: besom.types.Output[String]
)
object GetCpsEnrollmentCsrArgs:
def apply(
city: besom.types.Input[String],
countryCode: besom.types.Input[String],
organization: besom.types.Input[String],
organizationalUnit: besom.types.Input[String],
preferredTrustChain: besom.types.Input[String],
state: besom.types.Input[String]
)(using besom.types.Context): GetCpsEnrollmentCsrArgs =
new GetCpsEnrollmentCsrArgs(
city = city.asOutput(isSecret = false),
countryCode = countryCode.asOutput(isSecret = false),
organization = organization.asOutput(isSecret = false),
organizationalUnit = organizationalUnit.asOutput(isSecret = false),
preferredTrustChain = preferredTrustChain.asOutput(isSecret = false),
state = state.asOutput(isSecret = false)
)
given encoder(using besom.types.Context): besom.types.Encoder[GetCpsEnrollmentCsrArgs] =
besom.internal.Encoder.derived[GetCpsEnrollmentCsrArgs]
given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[GetCpsEnrollmentCsrArgs] =
besom.internal.ArgsEncoder.derived[GetCpsEnrollmentCsrArgs]