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

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

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

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



/**
 * Placeholder documentation for DescribeScheduleResponse
 */
public class DescribeScheduleResponse private constructor(builder: Builder) {
    /**
     * The next token; for use in pagination.
     */
    public val nextToken: kotlin.String? = builder.nextToken
    /**
     * The list of actions in the schedule.
     */
    public val scheduleActions: List? = builder.scheduleActions

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

    override fun toString(): kotlin.String = buildString {
        append("DescribeScheduleResponse(")
        append("nextToken=$nextToken,")
        append("scheduleActions=$scheduleActions")
        append(")")
    }

    override fun hashCode(): kotlin.Int {
        var result = nextToken?.hashCode() ?: 0
        result = 31 * result + (scheduleActions?.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 DescribeScheduleResponse

        if (nextToken != other.nextToken) return false
        if (scheduleActions != other.scheduleActions) return false

        return true
    }

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

    public class Builder {
        /**
         * The next token; for use in pagination.
         */
        public var nextToken: kotlin.String? = null
        /**
         * The list of actions in the schedule.
         */
        public var scheduleActions: List? = null

        @PublishedApi
        internal constructor()
        @PublishedApi
        internal constructor(x: aws.sdk.kotlin.services.medialive.model.DescribeScheduleResponse) : this() {
            this.nextToken = x.nextToken
            this.scheduleActions = x.scheduleActions
        }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy