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

com.atlan.pkg.RuntimeConfig.kt Maven / Gradle / Ivy

There is a newer version: 3.1.2
Show newest version
/* SPDX-License-Identifier: Apache-2.0
   Copyright 2023 Atlan Pte. Ltd. */
package com.atlan.pkg

import com.fasterxml.jackson.annotation.JsonAutoDetect
import com.fasterxml.jackson.annotation.JsonProperty

/**
 * All runtime configuration comes through these settings:
 *
 * @param userId user through whom to impersonate any activities
 * @param agent type of agent being used (for example, workflow)
 * @param agentId unique ID of the agent
 * @param agentPackageName unique name of the package that runs the agent
 * @param agentWorkflowId unique instance of the run of the package
 */
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY)
data class RuntimeConfig(
    @JsonProperty("user-id") val userId: String?,
    @JsonProperty("x-atlan-agent") val agent: String?,
    @JsonProperty("x-atlan-agent-id") val agentId: String?,
    @JsonProperty("x-atlan-agent-package-name") val agentPackageName: String?,
    @JsonProperty("x-atlan-agent-workflow-id") val agentWorkflowId: String?,
)




© 2015 - 2025 Weber Informatics LLC | Privacy Policy