Class ListingRevision
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.marketplacepublisher.model.ListingRevision
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20220901") public final class ListingRevision extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelThe model for an Oracle Cloud Infrastructure Marketplace Publisher listing revision.
Note: Objects should always be created or deserialized using theListingRevision.Builder. 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 theListingRevision.Builder, which maintain a set of all explicitly set fields calledListingRevision.Builder.__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 classListingRevision.Builderstatic classListingRevision.LifecycleStateThe current state of the listing revision.static classListingRevision.PricingTypeThe pricing model for the listing revision.static classListingRevision.StatusThe current status for the Listing revision.
-
Constructor Summary
Constructors Constructor Description ListingRevision(String id, String listingId, String compartmentId, String displayName, String revisionNumber, VersionDetails versionDetails, String headline, String tagline, String keywords, String shortDescription, String usageInformation, String longDescription, String systemRequirements, Date timeCreated, Date timeUpdated, List<String> categories, List<String> markets, LanguageItem contentLanguage, List<LanguageItem> supportedlanguages, List<SupportContact> supportContacts, List<NamedLink> supportLinks, ListingRevisionIconAttachment icon, ListingRevision.Status status, String statusNotes, ListingRevision.LifecycleState lifecycleState, PackageType packageType, ListingRevision.PricingType pricingType, List<String> allowedTenancies, Boolean areInternalTenancyLaunchAllowed, 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 Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListingRevision.Builderbuilder()Create a new builder.booleanequals(Object o)List<String>getAllowedTenancies()Allowed tenancies provided when a listing revision is published as private.BooleangetAreInternalTenancyLaunchAllowed()Identifies whether publisher allows internal tenancy launches for the listing revision.List<String>getCategories()The categories for the listing revsion.StringgetCompartmentId()The unique identifier for the compartment.LanguageItemgetContentLanguage()Map<String,Map<String,Object>>getDefinedTags()Defined tags for this resource.StringgetDisplayName()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.StringgetHeadline()Single line introduction for the listing revision.ListingRevisionIconAttachmentgetIcon()StringgetId()Unique OCID identifier for the listing revision in Marketplace Publisher.StringgetKeywords()Keywords associated with the listing revision.ListingRevision.LifecycleStategetLifecycleState()The current state of the listing revision.StringgetListingId()The unique identifier for the listing this revision belongs to.StringgetLongDescription()A long description for the listing revision.List<String>getMarkets()The markets supported by the listing revision.PackageTypegetPackageType()The listing’s package type.ListingRevision.PricingTypegetPricingType()The pricing model for the listing revision.StringgetRevisionNumber()The revision number for the listing revision.StringgetShortDescription()A short description for the listing revision.ListingRevision.StatusgetStatus()The current status for the Listing revision.StringgetStatusNotes()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.StringgetSystemRequirements()System requirements for the listing revision.Map<String,Map<String,Object>>getSystemTags()System tags for this resource.StringgetTagline()The tagline of the listing revision.DategetTimeCreated()The time the listing revision was created.DategetTimeUpdated()The time the listing revision was updated.StringgetUsageInformation()Usage information for the listing revision.VersionDetailsgetVersionDetails()inthashCode()ListingRevision.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
ListingRevision
@Deprecated @ConstructorProperties({"id","listingId","compartmentId","displayName","revisionNumber","versionDetails","headline","tagline","keywords","shortDescription","usageInformation","longDescription","systemRequirements","timeCreated","timeUpdated","categories","markets","contentLanguage","supportedlanguages","supportContacts","supportLinks","icon","status","statusNotes","lifecycleState","packageType","pricingType","allowedTenancies","areInternalTenancyLaunchAllowed","extendedMetadata","freeformTags","definedTags","systemTags"}) public ListingRevision(String id, String listingId, String compartmentId, String displayName, String revisionNumber, VersionDetails versionDetails, String headline, String tagline, String keywords, String shortDescription, String usageInformation, String longDescription, String systemRequirements, Date timeCreated, Date timeUpdated, List<String> categories, List<String> markets, LanguageItem contentLanguage, List<LanguageItem> supportedlanguages, List<SupportContact> supportContacts, List<NamedLink> supportLinks, ListingRevisionIconAttachment icon, ListingRevision.Status status, String statusNotes, ListingRevision.LifecycleState lifecycleState, PackageType packageType, ListingRevision.PricingType pricingType, List<String> allowedTenancies, Boolean areInternalTenancyLaunchAllowed, Map<String,String> extendedMetadata, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags)
Deprecated.
-
-
Method Detail
-
builder
public static ListingRevision.Builder builder()
Create a new builder.
-
toBuilder
public ListingRevision.Builder toBuilder()
-
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
-
getVersionDetails
public VersionDetails getVersionDetails()
-
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
-
getSystemRequirements
public String getSystemRequirements()
System requirements 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
-
getCategories
public List<String> getCategories()
The categories for the listing revsion.- Returns:
- the value
-
getMarkets
public List<String> getMarkets()
The markets supported by the listing revision.- 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
-
getPricingType
public ListingRevision.PricingType getPricingType()
The pricing model for the listing revision.- Returns:
- the value
-
getAllowedTenancies
public List<String> getAllowedTenancies()
Allowed tenancies provided when a listing revision is published as private.- Returns:
- the value
-
getAreInternalTenancyLaunchAllowed
public Boolean getAreInternalTenancyLaunchAllowed()
Identifies whether publisher allows internal tenancy launches for the listing revision.- 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:
toStringin 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:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-