
commonMain.aws.sdk.kotlin.services.schemas.model.GetDiscoveredSchemaResponse.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.schemas.model
public class GetDiscoveredSchemaResponse private constructor(builder: Builder) {
/**
* The source of the schema definition.
*/
public val content: kotlin.String? = builder.content
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.schemas.model.GetDiscoveredSchemaResponse = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("GetDiscoveredSchemaResponse(")
append("content=$content")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = content?.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 GetDiscoveredSchemaResponse
if (content != other.content) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.schemas.model.GetDiscoveredSchemaResponse = Builder(this).apply(block).build()
public class Builder {
/**
* The source of the schema definition.
*/
public var content: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.schemas.model.GetDiscoveredSchemaResponse) : this() {
this.content = x.content
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.schemas.model.GetDiscoveredSchemaResponse = GetDiscoveredSchemaResponse(this)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy