com.contrastsecurity.models.dtm.ApplicationCreateRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of contrast-sdk-java Show documentation
Show all versions of contrast-sdk-java Show documentation
SDK for accessing and using the Contrast TeamServer REST API in Java
package com.contrastsecurity.models.dtm;
import com.contrastsecurity.models.AgentType;
import com.google.gson.annotations.SerializedName;
import lombok.Getter;
import lombok.NonNull;
import lombok.Setter;
@Getter
@Setter
public class ApplicationCreateRequest {
@SerializedName("name")
@NonNull
private String appName;
@SerializedName("language")
@NonNull
private AgentType appLanguage;
@SerializedName("path")
private String appPath;
@SerializedName("shortName")
private String appShortName;
public ApplicationCreateRequest(String appName, AgentType appLanguage) {
this.appName = appName;
this.appLanguage = appLanguage;
}
}