@Generated(value="OracleSDKGenerator", comments="API Version: 20220901") public final class Publisher extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
The model for a publisher details.
Note: Objects should always be created or deserialized using the Publisher.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 Publisher.Builder
, which maintain a
set of all explicitly set fields called Publisher.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 |
Publisher.Builder |
static class |
Publisher.PublisherStatus
publisher status.
|
static class |
Publisher.PublisherType
publisher type.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
static Publisher.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getCompartmentId()
The root compartment of the Publisher.
|
String |
getContactEmail()
The public email address of the publisher for customers.
|
String |
getContactPhone()
The phone number of the publisher in E.164 format.
|
Map<String,Map<String,Object>> |
getDefinedTags()
Defined tags for this resource.
|
String |
getDescription()
A description of the publisher.
|
String |
getDisplayName()
The name of the publisher.
|
String |
getFacebookUrl()
Publisher’s Facebook URL
|
Map<String,String> |
getFreeformTags()
Simple key-value pair that is applied without any predefined name, type or scope.
|
String |
getHqAddress()
The address of the publisher’s headquarters.
|
String |
getId()
Unique OCID identifier for the publisher.
|
String |
getLegacyId()
Unique legacy service identifier for the publisher.
|
String |
getLinkedinUrl()
Publisher’s LinkedIn URL
|
UploadData |
getLogo() |
String |
getNotificationEmail()
The private email address of the publisher product team.
|
OpnMembership |
getOpnMembership() |
PrivateOfferAccountDetails |
getPrivateOfferAccountDetails() |
Publisher.PublisherStatus |
getPublisherStatus()
publisher status.
|
Publisher.PublisherType |
getPublisherType()
publisher type.
|
String |
getRegistryNamespace()
The namespace for the publisher registry to persist artifacts.
|
Map<String,Map<String,Object>> |
getSystemTags()
System tags for this resource.
|
Date |
getTimeCreated()
The time the publisher was created.
|
Date |
getTimeUpdated()
The time the publisher was updated.
|
String |
getTwitterUrl()
Publisher’s Twitter URL
|
String |
getWebsiteUrl()
The publisher’s website.
|
Long |
getYearFounded()
The year the publisher’s company or organization was founded.
|
int |
hashCode() |
Publisher.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"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)
public static Publisher.Builder builder()
Create a new builder.
public Publisher.Builder toBuilder()
public Publisher.PublisherStatus getPublisherStatus()
publisher status.
public String getNotificationEmail()
The private email address of the publisher product team.
public OpnMembership getOpnMembership()
public PrivateOfferAccountDetails getPrivateOfferAccountDetails()
public String getId()
Unique OCID identifier for the publisher.
public String getCompartmentId()
The root compartment of the Publisher.
public String getRegistryNamespace()
The namespace for the publisher registry to persist artifacts.
public String getLegacyId()
Unique legacy service identifier for the publisher.
public String getDisplayName()
The name of the publisher.
public String getDescription()
A description of the publisher.
public Long getYearFounded()
The year the publisher’s company or organization was founded.
public String getWebsiteUrl()
The publisher’s website.
public String getContactEmail()
The public email address of the publisher for customers.
public String getContactPhone()
The phone number of the publisher in E.164 format.
public String getHqAddress()
The address of the publisher’s headquarters.
public UploadData getLogo()
public String getFacebookUrl()
Publisher’s Facebook URL
public String getTwitterUrl()
Publisher’s Twitter URL
public String getLinkedinUrl()
Publisher’s LinkedIn URL
public Publisher.PublisherType getPublisherType()
publisher type.
public Date getTimeCreated()
The time the publisher was created. An RFC3339 formatted datetime string.
public Date getTimeUpdated()
The time the publisher was updated. An RFC3339 formatted datetime string.
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.