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