All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.billing.kotlin.outputs.InvoiceSectionPropertiesResponse.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.billing.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map

/**
 * An invoice section.
 * @property displayName The name of the invoice section.
 * @property provisioningState The provisioning state of the resource during a long-running operation.
 * @property reasonCode Reason for the specified invoice section status.
 * @property state Identifies the status of an invoice section.
 * @property systemId The system generated unique identifier for an invoice section.
 * @property tags Dictionary of metadata associated with the resource. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? /
 * @property targetCloud Identifies the cloud environments that are associated with an invoice section. This is a system managed optional field and gets updated as the invoice section gets associated with accounts in various clouds.
 */
public data class InvoiceSectionPropertiesResponse(
    public val displayName: String? = null,
    public val provisioningState: String,
    public val reasonCode: String? = null,
    public val state: String? = null,
    public val systemId: String,
    public val tags: Map? = null,
    public val targetCloud: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azurenative.billing.outputs.InvoiceSectionPropertiesResponse): InvoiceSectionPropertiesResponse = InvoiceSectionPropertiesResponse(
            displayName = javaType.displayName().map({ args0 -> args0 }).orElse(null),
            provisioningState = javaType.provisioningState(),
            reasonCode = javaType.reasonCode().map({ args0 -> args0 }).orElse(null),
            state = javaType.state().map({ args0 -> args0 }).orElse(null),
            systemId = javaType.systemId(),
            tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
            targetCloud = javaType.targetCloud().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy