src.index.GetAppSecApiEndpointsArgs.scala Maven / Gradle / Ivy
The newest version!
package besom.api.akamai
final case class GetAppSecApiEndpointsArgs private(
apiName: besom.types.Output[scala.Option[String]],
configId: besom.types.Output[Int],
securityPolicyId: besom.types.Output[scala.Option[String]]
)
object GetAppSecApiEndpointsArgs:
def apply(
apiName: besom.types.Input.Optional[String] = scala.None,
configId: besom.types.Input[Int],
securityPolicyId: besom.types.Input.Optional[String] = scala.None
)(using besom.types.Context): GetAppSecApiEndpointsArgs =
new GetAppSecApiEndpointsArgs(
apiName = apiName.asOptionOutput(isSecret = false),
configId = configId.asOutput(isSecret = false),
securityPolicyId = securityPolicyId.asOptionOutput(isSecret = false)
)
given encoder(using besom.types.Context): besom.types.Encoder[GetAppSecApiEndpointsArgs] =
besom.internal.Encoder.derived[GetAppSecApiEndpointsArgs]
given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[GetAppSecApiEndpointsArgs] =
besom.internal.ArgsEncoder.derived[GetAppSecApiEndpointsArgs]