
commonMain.aws.sdk.kotlin.services.medialive.model.DescribeScheduleRequest.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.medialive.model
/**
* Placeholder documentation for DescribeScheduleRequest
*/
public class DescribeScheduleRequest private constructor(builder: Builder) {
/**
* Id of the channel whose schedule is being updated.
*/
public val channelId: kotlin.String? = requireNotNull(builder.channelId) { "A non-null value must be provided for channelId" }
/**
* Placeholder documentation for MaxResults
*/
public val maxResults: kotlin.Int = builder.maxResults
/**
* Placeholder documentation for __string
*/
public val nextToken: kotlin.String? = builder.nextToken
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.medialive.model.DescribeScheduleRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("DescribeScheduleRequest(")
append("channelId=$channelId,")
append("maxResults=$maxResults,")
append("nextToken=$nextToken")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = channelId?.hashCode() ?: 0
result = 31 * result + (maxResults)
result = 31 * result + (nextToken?.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 DescribeScheduleRequest
if (channelId != other.channelId) return false
if (maxResults != other.maxResults) return false
if (nextToken != other.nextToken) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.medialive.model.DescribeScheduleRequest = Builder(this).apply(block).build()
public class Builder {
/**
* Id of the channel whose schedule is being updated.
*/
public var channelId: kotlin.String? = null
/**
* Placeholder documentation for MaxResults
*/
public var maxResults: kotlin.Int = 0
/**
* Placeholder documentation for __string
*/
public var nextToken: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.medialive.model.DescribeScheduleRequest) : this() {
this.channelId = x.channelId
this.maxResults = x.maxResults
this.nextToken = x.nextToken
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.medialive.model.DescribeScheduleRequest = DescribeScheduleRequest(this)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy