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