src.index.inputs.GetPropertyRulesBuilderRulesV20230105CriterionUserLocationArgs.scala Maven / Gradle / Ivy
The newest version!
package besom.api.akamai.inputs
final case class GetPropertyRulesBuilderRulesV20230105CriterionUserLocationArgs private(
checkIps: besom.types.Output[scala.Option[String]],
continentValues: besom.types.Output[scala.Option[scala.collection.immutable.List[String]]],
countryValues: besom.types.Output[scala.Option[scala.collection.immutable.List[String]]],
field: besom.types.Output[scala.Option[String]],
locked: besom.types.Output[scala.Option[Boolean]],
matchOperator: besom.types.Output[scala.Option[String]],
regionValues: besom.types.Output[scala.Option[scala.collection.immutable.List[String]]],
templateUuid: besom.types.Output[scala.Option[String]],
useOnlyFirstXForwardedForIp: besom.types.Output[scala.Option[Boolean]],
uuid: besom.types.Output[scala.Option[String]]
)
object GetPropertyRulesBuilderRulesV20230105CriterionUserLocationArgs:
def apply(
checkIps: besom.types.Input.Optional[String] = scala.None,
continentValues: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[String]]] = scala.None,
countryValues: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[String]]] = scala.None,
field: besom.types.Input.Optional[String] = scala.None,
locked: besom.types.Input.Optional[Boolean] = scala.None,
matchOperator: besom.types.Input.Optional[String] = scala.None,
regionValues: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[String]]] = scala.None,
templateUuid: besom.types.Input.Optional[String] = scala.None,
useOnlyFirstXForwardedForIp: besom.types.Input.Optional[Boolean] = scala.None,
uuid: besom.types.Input.Optional[String] = scala.None
)(using besom.types.Context): GetPropertyRulesBuilderRulesV20230105CriterionUserLocationArgs =
new GetPropertyRulesBuilderRulesV20230105CriterionUserLocationArgs(
checkIps = checkIps.asOptionOutput(isSecret = false),
continentValues = continentValues.asOptionOutput(isSecret = false),
countryValues = countryValues.asOptionOutput(isSecret = false),
field = field.asOptionOutput(isSecret = false),
locked = locked.asOptionOutput(isSecret = false),
matchOperator = matchOperator.asOptionOutput(isSecret = false),
regionValues = regionValues.asOptionOutput(isSecret = false),
templateUuid = templateUuid.asOptionOutput(isSecret = false),
useOnlyFirstXForwardedForIp = useOnlyFirstXForwardedForIp.asOptionOutput(isSecret = false),
uuid = uuid.asOptionOutput(isSecret = false)
)
given encoder(using besom.types.Context): besom.types.Encoder[GetPropertyRulesBuilderRulesV20230105CriterionUserLocationArgs] =
besom.internal.Encoder.derived[GetPropertyRulesBuilderRulesV20230105CriterionUserLocationArgs]
given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[GetPropertyRulesBuilderRulesV20230105CriterionUserLocationArgs] =
besom.internal.ArgsEncoder.derived[GetPropertyRulesBuilderRulesV20230105CriterionUserLocationArgs]