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

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

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

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



/**
 * Placeholder documentation for DeleteScheduleRequest
 */
public class DeleteScheduleRequest private constructor(builder: Builder) {
    /**
     * Id of the channel whose schedule is being deleted.
     */
    public val channelId: kotlin.String? = requireNotNull(builder.channelId) { "A non-null value must be provided for channelId" }

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

    override fun toString(): kotlin.String = buildString {
        append("DeleteScheduleRequest(")
        append("channelId=$channelId")
        append(")")
    }

    override fun hashCode(): kotlin.Int {
        var result = channelId?.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 DeleteScheduleRequest

        if (channelId != other.channelId) return false

        return true
    }

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

    public class Builder {
        /**
         * Id of the channel whose schedule is being deleted.
         */
        public var channelId: kotlin.String? = null

        @PublishedApi
        internal constructor()
        @PublishedApi
        internal constructor(x: aws.sdk.kotlin.services.medialive.model.DeleteScheduleRequest) : this() {
            this.channelId = x.channelId
        }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy