
commonMain.aws.sdk.kotlin.services.customerprofiles.model.GetWorkflowStepsResponse.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.customerprofiles.model
public class GetWorkflowStepsResponse private constructor(builder: Builder) {
/**
* List containing workflow step details.
*/
public val items: List? = builder.items
/**
* If there are additional results, this is the token for the next set of results.
*/
public val nextToken: kotlin.String? = builder.nextToken
/**
* Unique identifier for the workflow.
*/
public val workflowId: kotlin.String? = builder.workflowId
/**
* The type of workflow. The only supported value is APPFLOW_INTEGRATION.
*/
public val workflowType: aws.sdk.kotlin.services.customerprofiles.model.WorkflowType? = builder.workflowType
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.customerprofiles.model.GetWorkflowStepsResponse = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("GetWorkflowStepsResponse(")
append("items=$items,")
append("nextToken=$nextToken,")
append("workflowId=$workflowId,")
append("workflowType=$workflowType")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = items?.hashCode() ?: 0
result = 31 * result + (nextToken?.hashCode() ?: 0)
result = 31 * result + (workflowId?.hashCode() ?: 0)
result = 31 * result + (workflowType?.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 GetWorkflowStepsResponse
if (items != other.items) return false
if (nextToken != other.nextToken) return false
if (workflowId != other.workflowId) return false
if (workflowType != other.workflowType) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.customerprofiles.model.GetWorkflowStepsResponse = Builder(this).apply(block).build()
public class Builder {
/**
* List containing workflow step details.
*/
public var items: List? = null
/**
* If there are additional results, this is the token for the next set of results.
*/
public var nextToken: kotlin.String? = null
/**
* Unique identifier for the workflow.
*/
public var workflowId: kotlin.String? = null
/**
* The type of workflow. The only supported value is APPFLOW_INTEGRATION.
*/
public var workflowType: aws.sdk.kotlin.services.customerprofiles.model.WorkflowType? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.customerprofiles.model.GetWorkflowStepsResponse) : this() {
this.items = x.items
this.nextToken = x.nextToken
this.workflowId = x.workflowId
this.workflowType = x.workflowType
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.customerprofiles.model.GetWorkflowStepsResponse = GetWorkflowStepsResponse(this)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy