@Generated(value="OracleSDKGenerator", comments="API Version: 20220901") public final 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 the ListingRevision.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 the ListingRevision.Builder
, which maintain a
set of all explicitly set fields called ListingRevision.Builder.__explicitlySet__
. The hashCode()
and equals(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
).
Modifier and Type | Class and Description |
---|---|
static class |
ListingRevision.Builder |
static class |
ListingRevision.LifecycleState
The current state of the listing revision.
|
static class |
ListingRevision.PricingType
The pricing model for the listing revision.
|
static class |
ListingRevision.Status
The current status for the Listing revision.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
static ListingRevision.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
List<String> |
getAllowedTenancies()
Allowed tenancies provided when a listing revision is published as private.
|
Boolean |
getAreInternalTenancyLaunchAllowed()
Identifies whether publisher allows internal tenancy launches for the listing revision.
|
List<String> |
getCategories()
The categories for the listing revsion.
|
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.
|
List<String> |
getMarkets()
The markets supported by the listing revision.
|
PackageType |
getPackageType()
The listing’s package type.
|
ListingRevision.PricingType |
getPricingType()
The pricing model for the listing revision.
|
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.
|
String |
getSystemRequirements()
System requirements 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.
|
VersionDetails |
getVersionDetails() |
int |
hashCode() |
ListingRevision.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"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)
public static ListingRevision.Builder builder()
Create a new builder.
public ListingRevision.Builder toBuilder()
public String getId()
Unique OCID identifier for the listing revision in Marketplace Publisher.
public String getListingId()
The unique identifier for the listing this revision belongs to.
public String getCompartmentId()
The unique identifier for the compartment.
public String getDisplayName()
The name for the listing revision.
public String getRevisionNumber()
The revision number for the listing revision. This is an internal attribute
public VersionDetails getVersionDetails()
public String getHeadline()
Single line introduction for the listing revision.
public String getTagline()
The tagline of the listing revision.
public String getKeywords()
Keywords associated with the listing revision.
public String getShortDescription()
A short description for the listing revision.
public String getUsageInformation()
Usage information for the listing revision.
public String getLongDescription()
A long description for the listing revision.
public String getSystemRequirements()
System requirements for the listing revision.
public Date getTimeCreated()
The time the listing revision was created. An RFC3339 formatted datetime string.
public Date getTimeUpdated()
The time the listing revision was updated. An RFC3339 formatted datetime string.
public List<String> getCategories()
The categories for the listing revsion.
public List<String> getMarkets()
The markets supported by the listing revision.
public LanguageItem getContentLanguage()
public List<LanguageItem> getSupportedlanguages()
Languages supported by the publisher for the listing revision.
public List<SupportContact> getSupportContacts()
Contact information to use to get support from the publisher for the listing revision.
public List<NamedLink> getSupportLinks()
Links to support resources for the listing revision.
public ListingRevisionIconAttachment getIcon()
public ListingRevision.Status getStatus()
The current status for the Listing revision.
public String getStatusNotes()
Status notes for the listing revision.
public ListingRevision.LifecycleState getLifecycleState()
The current state of the listing revision.
public PackageType getPackageType()
The listing’s package type. Populated from the listing.
public ListingRevision.PricingType getPricingType()
The pricing model for the listing revision.
public List<String> getAllowedTenancies()
Allowed tenancies provided when a listing revision is published as private.
public Boolean getAreInternalTenancyLaunchAllowed()
Identifies whether publisher allows internal tenancy launches for the listing revision.
public Map<String,String> getExtendedMetadata()
Additional metadata key/value pairs for the listing revision summary.
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"}
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"}}
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"}}
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.