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

commonMain.aws.sdk.kotlin.services.medialive.model.NielsenNaesIiNw.kt Maven / Gradle / Ivy

// Code generated by smithy-kotlin-codegen. DO NOT EDIT!

package aws.sdk.kotlin.services.medialive.model



/**
 * Nielsen Naes Ii Nw
 */
public class NielsenNaesIiNw private constructor(builder: Builder) {
    /**
     * Enter the check digit string for the watermark
     */
    public val checkDigitString: kotlin.String? = builder.checkDigitString
    /**
     * Enter the Nielsen Source ID (SID) to include in the watermark
     */
    public val sid: kotlin.Double = builder.sid
    /**
     * Choose the timezone for the time stamps in the watermark. If not provided, the timestamps will be in Coordinated Universal Time (UTC)
     */
    public val timezone: aws.sdk.kotlin.services.medialive.model.NielsenWatermarkTimezones? = builder.timezone

    public companion object {
        public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.medialive.model.NielsenNaesIiNw = Builder().apply(block).build()
    }

    override fun toString(): kotlin.String = buildString {
        append("NielsenNaesIiNw(")
        append("checkDigitString=$checkDigitString,")
        append("sid=$sid,")
        append("timezone=$timezone")
        append(")")
    }

    override fun hashCode(): kotlin.Int {
        var result = checkDigitString?.hashCode() ?: 0
        result = 31 * result + (sid.hashCode())
        result = 31 * result + (timezone?.hashCode() ?: 0)
        return result
    }

    override fun equals(other: kotlin.Any?): kotlin.Boolean {
        if (this === other) return true
        if (other == null || this::class != other::class) return false

        other as NielsenNaesIiNw

        if (checkDigitString != other.checkDigitString) return false
        if (sid != other.sid) return false
        if (timezone != other.timezone) return false

        return true
    }

    public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.medialive.model.NielsenNaesIiNw = Builder(this).apply(block).build()

    public class Builder {
        /**
         * Enter the check digit string for the watermark
         */
        public var checkDigitString: kotlin.String? = null
        /**
         * Enter the Nielsen Source ID (SID) to include in the watermark
         */
        public var sid: kotlin.Double = 0.0
        /**
         * Choose the timezone for the time stamps in the watermark. If not provided, the timestamps will be in Coordinated Universal Time (UTC)
         */
        public var timezone: aws.sdk.kotlin.services.medialive.model.NielsenWatermarkTimezones? = null

        @PublishedApi
        internal constructor()
        @PublishedApi
        internal constructor(x: aws.sdk.kotlin.services.medialive.model.NielsenNaesIiNw) : this() {
            this.checkDigitString = x.checkDigitString
            this.sid = x.sid
            this.timezone = x.timezone
        }

        @PublishedApi
        internal fun build(): aws.sdk.kotlin.services.medialive.model.NielsenNaesIiNw = NielsenNaesIiNw(this)
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy