src.index.outputs.PropertyHostname.scala Maven / Gradle / Ivy
The newest version!
package besom.api.akamai.outputs
final case class PropertyHostname private(
certProvisioningType: String,
certStatuses: scala.Option[scala.collection.immutable.List[besom.api.akamai.outputs.PropertyHostnameCertStatus]],
cnameFrom: String,
cnameTo: String,
cnameType: scala.Option[String],
edgeHostnameId: scala.Option[String]
)
object PropertyHostname :
given decoder(using besom.types.Context): besom.types.Decoder[PropertyHostname] =
besom.internal.Decoder.derived[PropertyHostname]
given outputOps: {} with
extension(output: besom.types.Output[PropertyHostname])
def certProvisioningType : besom.types.Output[String] = output.map(_.certProvisioningType)
def certStatuses : besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.akamai.outputs.PropertyHostnameCertStatus]]] = output.map(_.certStatuses)
def cnameFrom : besom.types.Output[String] = output.map(_.cnameFrom)
def cnameTo : besom.types.Output[String] = output.map(_.cnameTo)
def cnameType : besom.types.Output[scala.Option[String]] = output.map(_.cnameType)
def edgeHostnameId : besom.types.Output[scala.Option[String]] = output.map(_.edgeHostnameId)
given optionOutputOps: {} with
extension(output: besom.types.Output[scala.Option[PropertyHostname]])
def certProvisioningType : besom.types.Output[scala.Option[String]] = output.map(_.map(_.certProvisioningType))
def certStatuses : besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.akamai.outputs.PropertyHostnameCertStatus]]] = output.map(_.flatMap(_.certStatuses))
def cnameFrom : besom.types.Output[scala.Option[String]] = output.map(_.map(_.cnameFrom))
def cnameTo : besom.types.Output[scala.Option[String]] = output.map(_.map(_.cnameTo))
def cnameType : besom.types.Output[scala.Option[String]] = output.map(_.flatMap(_.cnameType))
def edgeHostnameId : besom.types.Output[scala.Option[String]] = output.map(_.flatMap(_.edgeHostnameId))