
commonMain.aws.sdk.kotlin.services.medialive.model.BatchStartRequest.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.medialive.model
/**
* A request to start resources
*/
public class BatchStartRequest private constructor(builder: Builder) {
/**
* List of channel IDs
*/
public val channelIds: List? = builder.channelIds
/**
* List of multiplex IDs
*/
public val multiplexIds: List? = builder.multiplexIds
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.medialive.model.BatchStartRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("BatchStartRequest(")
append("channelIds=$channelIds,")
append("multiplexIds=$multiplexIds")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = channelIds?.hashCode() ?: 0
result = 31 * result + (multiplexIds?.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 BatchStartRequest
if (channelIds != other.channelIds) return false
if (multiplexIds != other.multiplexIds) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.medialive.model.BatchStartRequest = Builder(this).apply(block).build()
public class Builder {
/**
* List of channel IDs
*/
public var channelIds: List? = null
/**
* List of multiplex IDs
*/
public var multiplexIds: List? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.medialive.model.BatchStartRequest) : this() {
this.channelIds = x.channelIds
this.multiplexIds = x.multiplexIds
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.medialive.model.BatchStartRequest = BatchStartRequest(this)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy