
commonMain.aws.sdk.kotlin.services.omics.model.SequenceInformation.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.omics.model
/**
* Details about a sequence.
*/
public class SequenceInformation private constructor(builder: Builder) {
/**
* The sequence's alignment setting.
*/
public val alignment: kotlin.String? = builder.alignment
/**
* Where the sequence originated.
*/
public val generatedFrom: kotlin.String? = builder.generatedFrom
/**
* The sequence's total base count.
*/
public val totalBaseCount: kotlin.Long? = builder.totalBaseCount
/**
* The sequence's total read count.
*/
public val totalReadCount: kotlin.Long? = builder.totalReadCount
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.omics.model.SequenceInformation = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("SequenceInformation(")
append("alignment=$alignment,")
append("generatedFrom=$generatedFrom,")
append("totalBaseCount=$totalBaseCount,")
append("totalReadCount=$totalReadCount")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = alignment?.hashCode() ?: 0
result = 31 * result + (generatedFrom?.hashCode() ?: 0)
result = 31 * result + (totalBaseCount?.hashCode() ?: 0)
result = 31 * result + (totalReadCount?.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 SequenceInformation
if (alignment != other.alignment) return false
if (generatedFrom != other.generatedFrom) return false
if (totalBaseCount != other.totalBaseCount) return false
if (totalReadCount != other.totalReadCount) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.omics.model.SequenceInformation = Builder(this).apply(block).build()
public class Builder {
/**
* The sequence's alignment setting.
*/
public var alignment: kotlin.String? = null
/**
* Where the sequence originated.
*/
public var generatedFrom: kotlin.String? = null
/**
* The sequence's total base count.
*/
public var totalBaseCount: kotlin.Long? = null
/**
* The sequence's total read count.
*/
public var totalReadCount: kotlin.Long? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.omics.model.SequenceInformation) : this() {
this.alignment = x.alignment
this.generatedFrom = x.generatedFrom
this.totalBaseCount = x.totalBaseCount
this.totalReadCount = x.totalReadCount
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.omics.model.SequenceInformation = SequenceInformation(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy