commonMain.aws.sdk.kotlin.services.datazone.model.PostTimeSeriesDataPointsResponse.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of datazone-jvm Show documentation
Show all versions of datazone-jvm Show documentation
The AWS SDK for Kotlin client for DataZone
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.datazone.model
import aws.smithy.kotlin.runtime.SdkDsl
public class PostTimeSeriesDataPointsResponse private constructor(builder: Builder) {
/**
* The ID of the Amazon DataZone domain in which you want to post time series data points.
*/
public val domainId: kotlin.String? = builder.domainId
/**
* The ID of the asset for which you want to post time series data points.
*/
public val entityId: kotlin.String? = builder.entityId
/**
* The type of the asset for which you want to post data points.
*/
public val entityType: aws.sdk.kotlin.services.datazone.model.TimeSeriesEntityType? = builder.entityType
/**
* The forms that contain the data points that you have posted.
*/
public val forms: List? = builder.forms
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.datazone.model.PostTimeSeriesDataPointsResponse = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("PostTimeSeriesDataPointsResponse(")
append("domainId=$domainId,")
append("entityId=$entityId,")
append("entityType=$entityType,")
append("forms=$forms")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = domainId?.hashCode() ?: 0
result = 31 * result + (entityId?.hashCode() ?: 0)
result = 31 * result + (entityType?.hashCode() ?: 0)
result = 31 * result + (forms?.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 PostTimeSeriesDataPointsResponse
if (domainId != other.domainId) return false
if (entityId != other.entityId) return false
if (entityType != other.entityType) return false
if (forms != other.forms) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.datazone.model.PostTimeSeriesDataPointsResponse = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* The ID of the Amazon DataZone domain in which you want to post time series data points.
*/
public var domainId: kotlin.String? = null
/**
* The ID of the asset for which you want to post time series data points.
*/
public var entityId: kotlin.String? = null
/**
* The type of the asset for which you want to post data points.
*/
public var entityType: aws.sdk.kotlin.services.datazone.model.TimeSeriesEntityType? = null
/**
* The forms that contain the data points that you have posted.
*/
public var forms: List? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.datazone.model.PostTimeSeriesDataPointsResponse) : this() {
this.domainId = x.domainId
this.entityId = x.entityId
this.entityType = x.entityType
this.forms = x.forms
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.datazone.model.PostTimeSeriesDataPointsResponse = PostTimeSeriesDataPointsResponse(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy