Class ListingRevision
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.marketplacepublisher.model.ListingRevision
-
- Direct Known Subclasses:
LeadGenListingRevision
,OciListingRevision
,ServiceListingRevision
@Generated(value="OracleSDKGenerator", comments="API Version: 20241201") public class ListingRevision extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
The model for an Oracle Cloud Infrastructure Marketplace Publisher listing revision.
Note: Objects should always be created or deserialized using theBuilder
. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theBuilder
, which maintain a set of all explicitly set fields calledBuilder#__explicitlySet__
. ThehashCode()
andequals(Object)
methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ListingRevision.LifecycleState
The current state of the listing revision.static class
ListingRevision.Status
The current status for the Listing revision.
-
Constructor Summary
Constructors Modifier Constructor Description protected
ListingRevision(String id, String listingId, String compartmentId, String displayName, String revisionNumber, String headline, String tagline, String keywords, String shortDescription, String usageInformation, String longDescription, Date timeCreated, Date timeUpdated, LanguageItem contentLanguage, List<LanguageItem> supportedlanguages, List<SupportContact> supportContacts, List<NamedLink> supportLinks, ListingRevisionIconAttachment icon, ListingRevision.Status status, String statusNotes, ListingRevision.LifecycleState lifecycleState, PackageType packageType, Map<String,String> extendedMetadata, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getCompartmentId()
The unique identifier for the compartment.LanguageItem
getContentLanguage()
Map<String,Map<String,Object>>
getDefinedTags()
Defined tags for this resource.String
getDisplayName()
The name for the listing revision.Map<String,String>
getExtendedMetadata()
Additional metadata key/value pairs for the listing revision summary.Map<String,String>
getFreeformTags()
Simple key-value pair that is applied without any predefined name, type or scope.String
getHeadline()
Single line introduction for the listing revision.ListingRevisionIconAttachment
getIcon()
String
getId()
Unique OCID identifier for the listing revision in Marketplace Publisher.String
getKeywords()
Keywords associated with the listing revision.ListingRevision.LifecycleState
getLifecycleState()
The current state of the listing revision.String
getListingId()
The unique identifier for the listing this revision belongs to.String
getLongDescription()
A long description for the listing revision.PackageType
getPackageType()
The listing’s package type.String
getRevisionNumber()
The revision number for the listing revision.String
getShortDescription()
A short description for the listing revision.ListingRevision.Status
getStatus()
The current status for the Listing revision.String
getStatusNotes()
Status notes for the listing revision.List<SupportContact>
getSupportContacts()
Contact information to use to get support from the publisher for the listing revision.List<LanguageItem>
getSupportedlanguages()
Languages supported by the publisher for the listing revision.List<NamedLink>
getSupportLinks()
Links to support resources for the listing revision.Map<String,Map<String,Object>>
getSystemTags()
System tags for this resource.String
getTagline()
The tagline of the listing revision.Date
getTimeCreated()
The time the listing revision was created.Date
getTimeUpdated()
The time the listing revision was updated.String
getUsageInformation()
Usage information for the listing revision.int
hashCode()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
ListingRevision
@Deprecated @ConstructorProperties({"id","listingId","compartmentId","displayName","revisionNumber","headline","tagline","keywords","shortDescription","usageInformation","longDescription","timeCreated","timeUpdated","contentLanguage","supportedlanguages","supportContacts","supportLinks","icon","status","statusNotes","lifecycleState","packageType","extendedMetadata","freeformTags","definedTags","systemTags"}) protected ListingRevision(String id, String listingId, String compartmentId, String displayName, String revisionNumber, String headline, String tagline, String keywords, String shortDescription, String usageInformation, String longDescription, Date timeCreated, Date timeUpdated, LanguageItem contentLanguage, List<LanguageItem> supportedlanguages, List<SupportContact> supportContacts, List<NamedLink> supportLinks, ListingRevisionIconAttachment icon, ListingRevision.Status status, String statusNotes, ListingRevision.LifecycleState lifecycleState, PackageType packageType, Map<String,String> extendedMetadata, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags)
Deprecated.
-
-
Method Detail
-
getId
public String getId()
Unique OCID identifier for the listing revision in Marketplace Publisher.- Returns:
- the value
-
getListingId
public String getListingId()
The unique identifier for the listing this revision belongs to.- Returns:
- the value
-
getCompartmentId
public String getCompartmentId()
The unique identifier for the compartment.- Returns:
- the value
-
getDisplayName
public String getDisplayName()
The name for the listing revision.- Returns:
- the value
-
getRevisionNumber
public String getRevisionNumber()
The revision number for the listing revision.This is an internal attribute
- Returns:
- the value
-
getHeadline
public String getHeadline()
Single line introduction for the listing revision.- Returns:
- the value
-
getTagline
public String getTagline()
The tagline of the listing revision.- Returns:
- the value
-
getKeywords
public String getKeywords()
Keywords associated with the listing revision.- Returns:
- the value
-
getShortDescription
public String getShortDescription()
A short description for the listing revision.- Returns:
- the value
-
getUsageInformation
public String getUsageInformation()
Usage information for the listing revision.- Returns:
- the value
-
getLongDescription
public String getLongDescription()
A long description for the listing revision.- Returns:
- the value
-
getTimeCreated
public Date getTimeCreated()
The time the listing revision was created.An RFC3339 formatted datetime string.
- Returns:
- the value
-
getTimeUpdated
public Date getTimeUpdated()
The time the listing revision was updated.An RFC3339 formatted datetime string.
- Returns:
- the value
-
getContentLanguage
public LanguageItem getContentLanguage()
-
getSupportedlanguages
public List<LanguageItem> getSupportedlanguages()
Languages supported by the publisher for the listing revision.- Returns:
- the value
-
getSupportContacts
public List<SupportContact> getSupportContacts()
Contact information to use to get support from the publisher for the listing revision.- Returns:
- the value
-
getSupportLinks
public List<NamedLink> getSupportLinks()
Links to support resources for the listing revision.- Returns:
- the value
-
getIcon
public ListingRevisionIconAttachment getIcon()
-
getStatus
public ListingRevision.Status getStatus()
The current status for the Listing revision.- Returns:
- the value
-
getStatusNotes
public String getStatusNotes()
Status notes for the listing revision.- Returns:
- the value
-
getLifecycleState
public ListingRevision.LifecycleState getLifecycleState()
The current state of the listing revision.- Returns:
- the value
-
getPackageType
public PackageType getPackageType()
The listing’s package type.Populated from the listing.
- Returns:
- the value
-
getExtendedMetadata
public Map<String,String> getExtendedMetadata()
Additional metadata key/value pairs for the listing revision summary.- Returns:
- the value
-
getFreeformTags
public Map<String,String> getFreeformTags()
Simple key-value pair that is applied without any predefined name, type or scope.Exists for cross-compatibility only. Example: {“bar-key”: “value”}
- Returns:
- the value
-
getDefinedTags
public Map<String,Map<String,Object>> getDefinedTags()
Defined tags for this resource.Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Returns:
- the value
-
getSystemTags
public Map<String,Map<String,Object>> getSystemTags()
System tags for this resource.Each key is predefined and scoped to a namespace. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-