
aws.sdk.kotlin.services.pinpoint.model.ListJourneysResponse.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.pinpoint.model
class ListJourneysResponse private constructor(builder: Builder) {
/**
* Provides information about the status, configuration, and other settings for all the journeys that are associated with an application.
*/
val journeysResponse: aws.sdk.kotlin.services.pinpoint.model.JourneysResponse? = builder.journeysResponse
companion object {
operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.pinpoint.model.ListJourneysResponse = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("ListJourneysResponse(")
append("journeysResponse=$journeysResponse)")
}
override fun hashCode(): kotlin.Int {
var result = journeysResponse?.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 ListJourneysResponse
if (journeysResponse != other.journeysResponse) return false
return true
}
inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.pinpoint.model.ListJourneysResponse = Builder(this).apply(block).build()
class Builder {
/**
* Provides information about the status, configuration, and other settings for all the journeys that are associated with an application.
*/
var journeysResponse: aws.sdk.kotlin.services.pinpoint.model.JourneysResponse? = null
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.pinpoint.model.ListJourneysResponse) : this() {
this.journeysResponse = x.journeysResponse
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.pinpoint.model.ListJourneysResponse = ListJourneysResponse(this)
/**
* construct an [aws.sdk.kotlin.services.pinpoint.model.JourneysResponse] inside the given [block]
*/
fun journeysResponse(block: aws.sdk.kotlin.services.pinpoint.model.JourneysResponse.Builder.() -> kotlin.Unit) {
this.journeysResponse = aws.sdk.kotlin.services.pinpoint.model.JourneysResponse.invoke(block)
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy