Package com.oracle.bmc.marketplace.model
Class Publisher
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.marketplace.model.Publisher
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20181001") public final class Publisher extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelThe model for a publisher.
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.Builder
-
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)StringgetContactEmail()The email address of the publisher.StringgetContactPhone()The phone number of the publisher.StringgetDescription()A description of the publisher.StringgetHqAddress()The address of the publisher’s headquarters.StringgetId()Unique identifier for the publisher.List<Link>getLinks()Reference links.UploadDatagetLogo()StringgetName()The name of the publisher.StringgetWebsiteUrl()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({"id","name","description","yearFounded","websiteUrl","contactEmail","contactPhone","hqAddress","logo","links"}) public Publisher(String id, String name, String description, Long yearFounded, String websiteUrl, String contactEmail, String contactPhone, String hqAddress, UploadData logo, List<Link> links)
Deprecated.
-
-
Method Detail
-
builder
public static Publisher.Builder builder()
Create a new builder.
-
toBuilder
public Publisher.Builder toBuilder()
-
getId
public String getId()
Unique identifier for the publisher.- Returns:
- the value
-
getName
public String getName()
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 email address of the publisher.- Returns:
- the value
-
getContactPhone
public String getContactPhone()
The phone number of the publisher.- Returns:
- the value
-
getHqAddress
public String getHqAddress()
The address of the publisher’s headquarters.- Returns:
- the value
-
getLogo
public UploadData getLogo()
-
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
-
-