Class PostDeploymentEventInput


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               date="2026-03-05T10:45:26.516033Z[Etc/UTC]",
               comments="Generator version: 7.18.0")
    public class PostDeploymentEventInput
    extends java.lang.Object
    PostDeploymentEventInput
    • Field Detail

      • SERIALIZED_NAME_PROJECT_KEY

        public static final java.lang.String SERIALIZED_NAME_PROJECT_KEY
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_ENVIRONMENT_KEY

        public static final java.lang.String SERIALIZED_NAME_ENVIRONMENT_KEY
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_APPLICATION_KEY

        public static final java.lang.String SERIALIZED_NAME_APPLICATION_KEY
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_APPLICATION_NAME

        public static final java.lang.String SERIALIZED_NAME_APPLICATION_NAME
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_APPLICATION_KIND

        public static final java.lang.String SERIALIZED_NAME_APPLICATION_KIND
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_VERSION

        public static final java.lang.String SERIALIZED_NAME_VERSION
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_VERSION_NAME

        public static final java.lang.String SERIALIZED_NAME_VERSION_NAME
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_EVENT_TYPE

        public static final java.lang.String SERIALIZED_NAME_EVENT_TYPE
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_EVENT_TIME

        public static final java.lang.String SERIALIZED_NAME_EVENT_TIME
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_EVENT_METADATA

        public static final java.lang.String SERIALIZED_NAME_EVENT_METADATA
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_DEPLOYMENT_METADATA

        public static final java.lang.String SERIALIZED_NAME_DEPLOYMENT_METADATA
        See Also:
        Constant Field Values
      • openapiFields

        public static java.util.HashSet<java.lang.String> openapiFields
      • openapiRequiredFields

        public static java.util.HashSet<java.lang.String> openapiRequiredFields
    • Constructor Detail

      • PostDeploymentEventInput

        public PostDeploymentEventInput()
    • Method Detail

      • getProjectKey

        @Nonnull
        public java.lang.String getProjectKey()
        The project key
        Returns:
        projectKey
      • setProjectKey

        public void setProjectKey​(@Nonnull
                                  java.lang.String projectKey)
      • getEnvironmentKey

        @Nonnull
        public java.lang.String getEnvironmentKey()
        The environment key
        Returns:
        environmentKey
      • setEnvironmentKey

        public void setEnvironmentKey​(@Nonnull
                                      java.lang.String environmentKey)
      • getApplicationKey

        @Nonnull
        public java.lang.String getApplicationKey()
        The application key. This defines the granularity at which you want to view your insights metrics. Typically it is the name of one of the GitHub repositories that you use in this project.<br/><br/>LaunchDarkly automatically creates a new application each time you send a unique application key.
        Returns:
        applicationKey
      • setApplicationKey

        public void setApplicationKey​(@Nonnull
                                      java.lang.String applicationKey)
      • getApplicationName

        @Nullable
        public java.lang.String getApplicationName()
        The application name. This defines how the application is displayed
        Returns:
        applicationName
      • setApplicationName

        public void setApplicationName​(@Nullable
                                       java.lang.String applicationName)
      • getVersion

        @Nonnull
        public java.lang.String getVersion()
        The application version. You can set the application version to any string that includes only letters, numbers, periods (<code>.</code>), hyphens (<code>-</code>), or underscores (<code>_</code>).<br/><br/>We recommend setting the application version to at least the first seven characters of the SHA or to the tag of the GitHub commit for this deployment.
        Returns:
        version
      • setVersion

        public void setVersion​(@Nonnull
                               java.lang.String version)
      • getVersionName

        @Nullable
        public java.lang.String getVersionName()
        The version name. This defines how the version is displayed
        Returns:
        versionName
      • setVersionName

        public void setVersionName​(@Nullable
                                   java.lang.String versionName)
      • getEventTime

        @Nullable
        public java.lang.Long getEventTime()
        Get eventTime
        Returns:
        eventTime
      • setEventTime

        public void setEventTime​(@Nullable
                                 java.lang.Long eventTime)
      • eventMetadata

        public PostDeploymentEventInput eventMetadata​(@Nullable
                                                      java.util.Map<java.lang.String,​java.lang.Object> eventMetadata)
      • putEventMetadataItem

        public PostDeploymentEventInput putEventMetadataItem​(java.lang.String key,
                                                             java.lang.Object eventMetadataItem)
      • getEventMetadata

        @Nullable
        public java.util.Map<java.lang.String,​java.lang.Object> getEventMetadata()
        A JSON object containing metadata about the event
        Returns:
        eventMetadata
      • setEventMetadata

        public void setEventMetadata​(@Nullable
                                     java.util.Map<java.lang.String,​java.lang.Object> eventMetadata)
      • deploymentMetadata

        public PostDeploymentEventInput deploymentMetadata​(@Nullable
                                                           java.util.Map<java.lang.String,​java.lang.Object> deploymentMetadata)
      • putDeploymentMetadataItem

        public PostDeploymentEventInput putDeploymentMetadataItem​(java.lang.String key,
                                                                  java.lang.Object deploymentMetadataItem)
      • getDeploymentMetadata

        @Nullable
        public java.util.Map<java.lang.String,​java.lang.Object> getDeploymentMetadata()
        A JSON object containing metadata about the deployment
        Returns:
        deploymentMetadata
      • setDeploymentMetadata

        public void setDeploymentMetadata​(@Nullable
                                          java.util.Map<java.lang.String,​java.lang.Object> deploymentMetadata)
      • putAdditionalProperty

        public PostDeploymentEventInput putAdditionalProperty​(java.lang.String key,
                                                              java.lang.Object value)
        Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.
        Parameters:
        key - name of the property
        value - value of the property
        Returns:
        the PostDeploymentEventInput instance itself
      • getAdditionalProperties

        public java.util.Map<java.lang.String,​java.lang.Object> getAdditionalProperties()
        Return the additional (undeclared) property.
        Returns:
        a map of objects
      • getAdditionalProperty

        public java.lang.Object getAdditionalProperty​(java.lang.String key)
        Return the additional (undeclared) property with the specified name.
        Parameters:
        key - name of the property
        Returns:
        an object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • validateJsonElement

        public static void validateJsonElement​(com.google.gson.JsonElement jsonElement)
                                        throws java.io.IOException
        Validates the JSON Element and throws an exception if issues found
        Parameters:
        jsonElement - JSON Element
        Throws:
        java.io.IOException - if the JSON Element is invalid with respect to PostDeploymentEventInput
      • fromJson

        public static PostDeploymentEventInput fromJson​(java.lang.String jsonString)
                                                 throws java.io.IOException
        Create an instance of PostDeploymentEventInput given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of PostDeploymentEventInput
        Throws:
        java.io.IOException - if the JSON string is invalid with respect to PostDeploymentEventInput
      • toJson

        public java.lang.String toJson()
        Convert an instance of PostDeploymentEventInput to an JSON string
        Returns:
        JSON string