Package com.datadog.api.client.v2.model
Class LicensesListResponseDataAttributesLicensesItems
java.lang.Object
com.datadog.api.client.v2.model.LicensesListResponseDataAttributesLicensesItems
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class LicensesListResponseDataAttributesLicensesItems
extends Object
An SPDX license entry returned by the licenses list endpoint.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLicensesListResponseDataAttributesLicensesItems(String displayName, String identifier, String shortName) -
Method Summary
Modifier and TypeMethodDescriptiondisplayName(String displayName) booleanReturn true if this LicensesListResponseDataAttributesLicensesItems object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The human-readable name of the license.The SPDX identifier of the license.The short name of the license, typically matching the SPDX identifier.inthashCode()identifier(String identifier) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetDisplayName(String displayName) voidsetIdentifier(String identifier) voidsetShortName(String shortName) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DISPLAY_NAME
- See Also:
-
JSON_PROPERTY_IDENTIFIER
- See Also:
-
JSON_PROPERTY_SHORT_NAME
- See Also:
-
-
Constructor Details
-
LicensesListResponseDataAttributesLicensesItems
public LicensesListResponseDataAttributesLicensesItems() -
LicensesListResponseDataAttributesLicensesItems
-
-
Method Details
-
displayName
-
getDisplayName
The human-readable name of the license.- Returns:
- displayName
-
setDisplayName
-
identifier
-
getIdentifier
The SPDX identifier of the license.- Returns:
- identifier
-
setIdentifier
-
shortName
-
getShortName
The short name of the license, typically matching the SPDX identifier.- Returns:
- shortName
-
setShortName
-
putAdditionalProperty
public LicensesListResponseDataAttributesLicensesItems putAdditionalProperty(String key, 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- The arbitrary key to setvalue- The associated value- Returns:
- LicensesListResponseDataAttributesLicensesItems
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- The arbitrary key to get- Returns:
- The specific additional property for the given key
-
equals
Return true if this LicensesListResponseDataAttributesLicensesItems object is equal to o. -
hashCode
public int hashCode() -
toString
-