commonMain.aws.sdk.kotlin.services.medicalimaging.model.GetImageFrameRequest.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of medicalimaging-jvm Show documentation
Show all versions of medicalimaging-jvm Show documentation
The AWS SDK for Kotlin client for Medical Imaging
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.medicalimaging.model
import aws.smithy.kotlin.runtime.SdkDsl
public class GetImageFrameRequest private constructor(builder: Builder) {
/**
* The data store identifier.
*/
public val datastoreId: kotlin.String? = builder.datastoreId
/**
* Information about the image frame (pixel data) identifier.
*/
public val imageFrameInformation: aws.sdk.kotlin.services.medicalimaging.model.ImageFrameInformation? = builder.imageFrameInformation
/**
* The image set identifier.
*/
public val imageSetId: kotlin.String? = builder.imageSetId
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.medicalimaging.model.GetImageFrameRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("GetImageFrameRequest(")
append("datastoreId=$datastoreId,")
append("imageFrameInformation=$imageFrameInformation,")
append("imageSetId=$imageSetId")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = datastoreId?.hashCode() ?: 0
result = 31 * result + (imageFrameInformation?.hashCode() ?: 0)
result = 31 * result + (imageSetId?.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 GetImageFrameRequest
if (datastoreId != other.datastoreId) return false
if (imageFrameInformation != other.imageFrameInformation) return false
if (imageSetId != other.imageSetId) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.medicalimaging.model.GetImageFrameRequest = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* The data store identifier.
*/
public var datastoreId: kotlin.String? = null
/**
* Information about the image frame (pixel data) identifier.
*/
public var imageFrameInformation: aws.sdk.kotlin.services.medicalimaging.model.ImageFrameInformation? = null
/**
* The image set identifier.
*/
public var imageSetId: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.medicalimaging.model.GetImageFrameRequest) : this() {
this.datastoreId = x.datastoreId
this.imageFrameInformation = x.imageFrameInformation
this.imageSetId = x.imageSetId
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.medicalimaging.model.GetImageFrameRequest = GetImageFrameRequest(this)
/**
* construct an [aws.sdk.kotlin.services.medicalimaging.model.ImageFrameInformation] inside the given [block]
*/
public fun imageFrameInformation(block: aws.sdk.kotlin.services.medicalimaging.model.ImageFrameInformation.Builder.() -> kotlin.Unit) {
this.imageFrameInformation = aws.sdk.kotlin.services.medicalimaging.model.ImageFrameInformation.invoke(block)
}
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy