Class Publisher
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.marketplacepublisher.model.Publisher
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20241201") public final class Publisher extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelThe model for a publisher details.
Note: Objects should always be created or deserialized using thePublisher.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 thePublisher.Builder, which maintain a set of all explicitly set fields calledPublisher.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 classPublisher.Builderstatic classPublisher.PublisherStatuspublisher status.static classPublisher.PublisherTypepublisher type.
-
Constructor Summary
Constructors Constructor Description Publisher(Publisher.PublisherStatus publisherStatus, String notificationEmail, OpnMembership opnMembership, PrivateOfferAccountDetails privateOfferAccountDetails, String id, String compartmentId, String registryNamespace, String legacyId, String displayName, String description, Long yearFounded, String websiteUrl, String contactEmail, String contactPhone, String hqAddress, UploadData logo, String facebookUrl, String twitterUrl, String linkedinUrl, Publisher.PublisherType publisherType, Date timeCreated, Date timeUpdated, 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 Publisher.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetCompartmentId()The root compartment of the Publisher.StringgetContactEmail()The public email address of the publisher for customers.StringgetContactPhone()The phone number of the publisher in E.164 format.Map<String,Map<String,Object>>getDefinedTags()Defined tags for this resource.StringgetDescription()A description of the publisher.StringgetDisplayName()The name of the publisher.StringgetFacebookUrl()Publisher’s Facebook URLMap<String,String>getFreeformTags()Simple key-value pair that is applied without any predefined name, type or scope.StringgetHqAddress()The address of the publisher’s headquarters.StringgetId()Unique OCID identifier for the publisher.StringgetLegacyId()Unique legacy service identifier for the publisher.StringgetLinkedinUrl()Publisher’s LinkedIn URLUploadDatagetLogo()StringgetNotificationEmail()The private email address of the publisher product team.OpnMembershipgetOpnMembership()PrivateOfferAccountDetailsgetPrivateOfferAccountDetails()Publisher.PublisherStatusgetPublisherStatus()publisher status.Publisher.PublisherTypegetPublisherType()publisher type.StringgetRegistryNamespace()The namespace for the publisher registry to persist artifacts.Map<String,Map<String,Object>>getSystemTags()System tags for this resource.DategetTimeCreated()The time the publisher was created.DategetTimeUpdated()The time the publisher was updated.StringgetTwitterUrl()Publisher’s Twitter URLStringgetWebsiteUrl()The publisher’s website.LonggetYearFounded()The year the publisher’s company or organization was founded.inthashCode()Publisher.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
Publisher
@Deprecated @ConstructorProperties({"publisherStatus","notificationEmail","opnMembership","privateOfferAccountDetails","id","compartmentId","registryNamespace","legacyId","displayName","description","yearFounded","websiteUrl","contactEmail","contactPhone","hqAddress","logo","facebookUrl","twitterUrl","linkedinUrl","publisherType","timeCreated","timeUpdated","freeformTags","definedTags","systemTags"}) public Publisher(Publisher.PublisherStatus publisherStatus, String notificationEmail, OpnMembership opnMembership, PrivateOfferAccountDetails privateOfferAccountDetails, String id, String compartmentId, String registryNamespace, String legacyId, String displayName, String description, Long yearFounded, String websiteUrl, String contactEmail, String contactPhone, String hqAddress, UploadData logo, String facebookUrl, String twitterUrl, String linkedinUrl, Publisher.PublisherType publisherType, Date timeCreated, Date timeUpdated, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags)
Deprecated.
-
-
Method Detail
-
builder
public static Publisher.Builder builder()
Create a new builder.
-
toBuilder
public Publisher.Builder toBuilder()
-
getPublisherStatus
public Publisher.PublisherStatus getPublisherStatus()
publisher status.- Returns:
- the value
-
getNotificationEmail
public String getNotificationEmail()
The private email address of the publisher product team.- Returns:
- the value
-
getOpnMembership
public OpnMembership getOpnMembership()
-
getPrivateOfferAccountDetails
public PrivateOfferAccountDetails getPrivateOfferAccountDetails()
-
getId
public String getId()
Unique OCID identifier for the publisher.- Returns:
- the value
-
getCompartmentId
public String getCompartmentId()
The root compartment of the Publisher.- Returns:
- the value
-
getRegistryNamespace
public String getRegistryNamespace()
The namespace for the publisher registry to persist artifacts.- Returns:
- the value
-
getLegacyId
public String getLegacyId()
Unique legacy service identifier for the publisher.- Returns:
- the value
-
getDisplayName
public String getDisplayName()
The name of the publisher.- Returns:
- the value
-
getDescription
public String getDescription()
A description of the publisher.- Returns:
- the value
-
getYearFounded
public Long getYearFounded()
The year the publisher’s company or organization was founded.- Returns:
- the value
-
getWebsiteUrl
public String getWebsiteUrl()
The publisher’s website.- Returns:
- the value
-
getContactEmail
public String getContactEmail()
The public email address of the publisher for customers.- Returns:
- the value
-
getContactPhone
public String getContactPhone()
The phone number of the publisher in E.164 format.- Returns:
- the value
-
getHqAddress
public String getHqAddress()
The address of the publisher’s headquarters.- Returns:
- the value
-
getLogo
public UploadData getLogo()
-
getFacebookUrl
public String getFacebookUrl()
Publisher’s Facebook URL- Returns:
- the value
-
getTwitterUrl
public String getTwitterUrl()
Publisher’s Twitter URL- Returns:
- the value
-
getLinkedinUrl
public String getLinkedinUrl()
Publisher’s LinkedIn URL- Returns:
- the value
-
getPublisherType
public Publisher.PublisherType getPublisherType()
publisher type.- Returns:
- the value
-
getTimeCreated
public Date getTimeCreated()
The time the publisher was created.An RFC3339 formatted datetime string.
- Returns:
- the value
-
getTimeUpdated
public Date getTimeUpdated()
The time the publisher was updated.An RFC3339 formatted datetime string.
- 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
-
-