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

com.pulumi.azure.notificationhub.kotlin.outputs.HubApnsCredential.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.14.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.notificationhub.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property applicationMode The Application Mode which defines which server the APNS Messages should be sent to. Possible values are `Production` and `Sandbox`.
 * @property bundleId The Bundle ID of the iOS/macOS application to send push notifications for, such as `com.org.example`.
 * @property keyId The Apple Push Notifications Service (APNS) Key.
 * @property teamId The ID of the team the Token.
 * @property token The Push Token associated with the Apple Developer Account. This is the contents of the `key` downloaded from [the Apple Developer Portal](https://developer.apple.com/account/ios/authkey/) between the `-----BEGIN PRIVATE KEY-----` and `-----END PRIVATE KEY-----` blocks.
 */
public data class HubApnsCredential(
    public val applicationMode: String,
    public val bundleId: String,
    public val keyId: String,
    public val teamId: String,
    public val token: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.notificationhub.outputs.HubApnsCredential):
            HubApnsCredential = HubApnsCredential(
            applicationMode = javaType.applicationMode(),
            bundleId = javaType.bundleId(),
            keyId = javaType.keyId(),
            teamId = javaType.teamId(),
            token = javaType.token(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy