Class ComponentVersionView
- java.lang.Object
-
- com.synopsys.integration.util.Stringable
-
- com.synopsys.integration.blackduck.api.core.BlackDuckComponent
-
- com.synopsys.integration.blackduck.api.core.BlackDuckResponse
-
- com.synopsys.integration.blackduck.api.core.BlackDuckView
-
- com.synopsys.integration.blackduck.api.generated.view.ComponentVersionView
-
public class ComponentVersionView extends BlackDuckView
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCOMPONENT_LINKstatic LinkSingleResponse<ComponentView>COMPONENT_LINK_RESPONSEstatic java.util.Map<java.lang.String,LinkResponse>linksstatic java.lang.StringORIGINS_LINKstatic LinkMultipleResponses<OriginView>ORIGINS_LINK_RESPONSEstatic java.lang.StringUPGRADE_GUIDANCE_LINKstatic LinkSingleResponse<ComponentVersionUpgradeGuidanceView>UPGRADE_GUIDANCE_LINK_RESPONSEstatic java.lang.StringVULNERABILITIES_LINKstatic LinkMultipleResponses<VulnerabilityView>VULNERABILITIES_LINK_RESPONSE
-
Constructor Summary
Constructors Constructor Description ComponentVersionView()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.String>getAdditionalHomepages()LicenseStatusTypegetApprovalStatus()ComponentVersionLicenseViewgetLicense()java.lang.BooleangetMigrated()java.lang.StringgetNotes()java.util.DategetReleasedOn()OriginSourceTypegetSource()ComponentVersionTypegetType()java.lang.StringgetVersionName()voidsetAdditionalHomepages(java.util.List<java.lang.String> additionalHomepages)voidsetApprovalStatus(LicenseStatusType approvalStatus)voidsetLicense(ComponentVersionLicenseView license)voidsetMigrated(java.lang.Boolean migrated)voidsetNotes(java.lang.String notes)voidsetReleasedOn(java.util.Date releasedOn)voidsetSource(OriginSourceType source)voidsetType(ComponentVersionType type)voidsetVersionName(java.lang.String versionName)-
Methods inherited from class com.synopsys.integration.blackduck.api.core.BlackDuckView
getAllowedMethods, getAvailableLinks, getFirstLink, getFirstLinkSafely, getHref, getLinks, getMediaType, getMeta, getResourceLinks, getResourceMetadata, hasLink, setMeta
-
Methods inherited from class com.synopsys.integration.blackduck.api.core.BlackDuckResponse
getGson, getJson, getJsonElement, getPatch, getSubclass, hasSubclasses, setGson, setJson, setJsonElement, setPatch
-
-
-
-
Field Detail
-
links
public static final java.util.Map<java.lang.String,LinkResponse> links
-
COMPONENT_LINK
public static final java.lang.String COMPONENT_LINK
- See Also:
- Constant Field Values
-
ORIGINS_LINK
public static final java.lang.String ORIGINS_LINK
- See Also:
- Constant Field Values
-
UPGRADE_GUIDANCE_LINK
public static final java.lang.String UPGRADE_GUIDANCE_LINK
- See Also:
- Constant Field Values
-
VULNERABILITIES_LINK
public static final java.lang.String VULNERABILITIES_LINK
- See Also:
- Constant Field Values
-
COMPONENT_LINK_RESPONSE
public static final LinkSingleResponse<ComponentView> COMPONENT_LINK_RESPONSE
-
ORIGINS_LINK_RESPONSE
public static final LinkMultipleResponses<OriginView> ORIGINS_LINK_RESPONSE
-
UPGRADE_GUIDANCE_LINK_RESPONSE
public static final LinkSingleResponse<ComponentVersionUpgradeGuidanceView> UPGRADE_GUIDANCE_LINK_RESPONSE
-
VULNERABILITIES_LINK_RESPONSE
public static final LinkMultipleResponses<VulnerabilityView> VULNERABILITIES_LINK_RESPONSE
-
-
Method Detail
-
getAdditionalHomepages
public java.util.List<java.lang.String> getAdditionalHomepages()
-
setAdditionalHomepages
public void setAdditionalHomepages(java.util.List<java.lang.String> additionalHomepages)
-
getApprovalStatus
public LicenseStatusType getApprovalStatus()
-
setApprovalStatus
public void setApprovalStatus(LicenseStatusType approvalStatus)
-
getLicense
public ComponentVersionLicenseView getLicense()
-
setLicense
public void setLicense(ComponentVersionLicenseView license)
-
getMigrated
public java.lang.Boolean getMigrated()
-
setMigrated
public void setMigrated(java.lang.Boolean migrated)
-
getNotes
public java.lang.String getNotes()
-
setNotes
public void setNotes(java.lang.String notes)
-
getReleasedOn
public java.util.Date getReleasedOn()
-
setReleasedOn
public void setReleasedOn(java.util.Date releasedOn)
-
getSource
public OriginSourceType getSource()
-
setSource
public void setSource(OriginSourceType source)
-
getType
public ComponentVersionType getType()
-
setType
public void setType(ComponentVersionType type)
-
getVersionName
public java.lang.String getVersionName()
-
setVersionName
public void setVersionName(java.lang.String versionName)
-
-