All Downloads are FREE. Search and download functionalities are using the official Maven repository.

src.cloudchannel.v1.CustomerArgs.scala Maven / Gradle / Ivy

There is a newer version: 0.32.0-core.0.4
Show newest version
package besom.api.googlenative.cloudchannel.v1

final case class CustomerArgs private(
  accountId: besom.types.Output[String],
  alternateEmail: besom.types.Output[scala.Option[String]],
  channelPartnerId: besom.types.Output[scala.Option[String]],
  channelPartnerLinkId: besom.types.Output[String],
  correlationId: besom.types.Output[scala.Option[String]],
  domain: besom.types.Output[String],
  languageCode: besom.types.Output[scala.Option[String]],
  orgDisplayName: besom.types.Output[String],
  orgPostalAddress: besom.types.Output[besom.api.googlenative.cloudchannel.v1.inputs.GoogleTypePostalAddressArgs],
  primaryContactInfo: besom.types.Output[scala.Option[besom.api.googlenative.cloudchannel.v1.inputs.GoogleCloudChannelV1ContactInfoArgs]]
)

object CustomerArgs:
  def apply(
    accountId: besom.types.Input[String],
    alternateEmail: besom.types.Input.Optional[String] = scala.None,
    channelPartnerId: besom.types.Input.Optional[String] = scala.None,
    channelPartnerLinkId: besom.types.Input[String],
    correlationId: besom.types.Input.Optional[String] = scala.None,
    domain: besom.types.Input[String],
    languageCode: besom.types.Input.Optional[String] = scala.None,
    orgDisplayName: besom.types.Input[String],
    orgPostalAddress: besom.types.Input[besom.api.googlenative.cloudchannel.v1.inputs.GoogleTypePostalAddressArgs],
    primaryContactInfo: besom.types.Input.Optional[besom.api.googlenative.cloudchannel.v1.inputs.GoogleCloudChannelV1ContactInfoArgs] = scala.None
  )(using besom.types.Context): CustomerArgs =
    new CustomerArgs(
      accountId = accountId.asOutput(isSecret = false),
      alternateEmail = alternateEmail.asOptionOutput(isSecret = false),
      channelPartnerId = channelPartnerId.asOptionOutput(isSecret = false),
      channelPartnerLinkId = channelPartnerLinkId.asOutput(isSecret = false),
      correlationId = correlationId.asOptionOutput(isSecret = false),
      domain = domain.asOutput(isSecret = false),
      languageCode = languageCode.asOptionOutput(isSecret = false),
      orgDisplayName = orgDisplayName.asOutput(isSecret = false),
      orgPostalAddress = orgPostalAddress.asOutput(isSecret = false),
      primaryContactInfo = primaryContactInfo.asOptionOutput(isSecret = false)
    )

  given encoder(using besom.types.Context): besom.types.Encoder[CustomerArgs] =
    besom.internal.Encoder.derived[CustomerArgs]
  given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[CustomerArgs] =
    besom.internal.ArgsEncoder.derived[CustomerArgs]






© 2015 - 2025 Weber Informatics LLC | Privacy Policy