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

com.contrastsecurity.models.dtm.AttestationCreateRequest Maven / Gradle / Ivy

There is a newer version: 3.4.2
Show newest version
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 AttestationCreateRequest {
    @SerializedName("vulnerabilityStatuses")
    @NonNull
    private String[] vulnerabilityStatuses;

    @SerializedName("vulnerabilitySeverities")
    @NonNull
    private String[] vulnerabilitySeverities;

    @SerializedName("vulnerabilityTypes")
    @NonNull
    private String[] vulnerabilityTypes;

    @SerializedName("vulnerabilityTags")
    @NonNull
    private String[] vulnerabilityTags;

    @SerializedName("serverEnvironments")
    @NonNull
    private String[] serverEnvironments;

    @SerializedName("serverTags")
    @NonNull
    private String[] serverTags;

    @SerializedName("complianceReports")
    @NonNull
    private String[] complianceReports;

    @SerializedName("showVulnerabilityDetails")
    @NonNull
    private boolean showVulnerabilityDetails;

    public AttestationCreateRequest(String[] vulnerabilityStatuses, String[] vulnerabilitySeverities,
                                    String[] vulnerabilityTypes, String[] vulnerabilityTags, String[] serverEnvironments,
                                    String[] serverTags, String[] complianceReports, boolean showVulnerabilityDetails) {
        this.vulnerabilityStatuses = vulnerabilityStatuses;
        this.vulnerabilitySeverities = vulnerabilitySeverities;
        this.vulnerabilityTypes = vulnerabilityTypes;
        this.vulnerabilityTags = vulnerabilityTags;
        this.serverEnvironments = serverEnvironments;
        this.serverTags = serverTags;
        this.complianceReports = complianceReports;
        this.showVulnerabilityDetails=showVulnerabilityDetails;

    }


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy