
commonMain.aws.sdk.kotlin.services.medialive.model.DescribeInputDeviceThumbnailResponse.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.medialive.model
import aws.smithy.kotlin.runtime.content.ByteStream
import aws.smithy.kotlin.runtime.time.Instant
/**
* Placeholder documentation for DescribeInputDeviceThumbnailResponse
*/
public class DescribeInputDeviceThumbnailResponse private constructor(builder: Builder) {
/**
* The binary data for the thumbnail that the Link device has most recently sent to MediaLive.
*/
public val body: aws.smithy.kotlin.runtime.content.ByteStream? = builder.body
/**
* The length of the content.
*/
public val contentLength: kotlin.Long = builder.contentLength
/**
* Specifies the media type of the thumbnail.
*/
public val contentType: aws.sdk.kotlin.services.medialive.model.ContentType? = builder.contentType
/**
* The unique, cacheable version of this thumbnail.
*/
public val eTag: kotlin.String? = builder.eTag
/**
* The date and time the thumbnail was last updated at the device.
*/
public val lastModified: aws.smithy.kotlin.runtime.time.Instant? = builder.lastModified
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.medialive.model.DescribeInputDeviceThumbnailResponse = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("DescribeInputDeviceThumbnailResponse(")
append("body=$body,")
append("contentLength=$contentLength,")
append("contentType=$contentType,")
append("eTag=$eTag,")
append("lastModified=$lastModified")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = body?.hashCode() ?: 0
result = 31 * result + (contentLength.hashCode())
result = 31 * result + (contentType?.hashCode() ?: 0)
result = 31 * result + (eTag?.hashCode() ?: 0)
result = 31 * result + (lastModified?.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 DescribeInputDeviceThumbnailResponse
if (body != other.body) return false
if (contentLength != other.contentLength) return false
if (contentType != other.contentType) return false
if (eTag != other.eTag) return false
if (lastModified != other.lastModified) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.medialive.model.DescribeInputDeviceThumbnailResponse = Builder(this).apply(block).build()
public class Builder {
/**
* The binary data for the thumbnail that the Link device has most recently sent to MediaLive.
*/
public var body: aws.smithy.kotlin.runtime.content.ByteStream? = null
/**
* The length of the content.
*/
public var contentLength: kotlin.Long = 0L
/**
* Specifies the media type of the thumbnail.
*/
public var contentType: aws.sdk.kotlin.services.medialive.model.ContentType? = null
/**
* The unique, cacheable version of this thumbnail.
*/
public var eTag: kotlin.String? = null
/**
* The date and time the thumbnail was last updated at the device.
*/
public var lastModified: aws.smithy.kotlin.runtime.time.Instant? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.medialive.model.DescribeInputDeviceThumbnailResponse) : this() {
this.body = x.body
this.contentLength = x.contentLength
this.contentType = x.contentType
this.eTag = x.eTag
this.lastModified = x.lastModified
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.medialive.model.DescribeInputDeviceThumbnailResponse = DescribeInputDeviceThumbnailResponse(this)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy