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.ExplicitlySetBmcModel
The 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 class
Publisher.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Publisher.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getContactEmail()
The email address of the publisher.String
getContactPhone()
The phone number of the publisher.String
getDescription()
A description of the publisher.String
getHqAddress()
The address of the publisher’s headquarters.String
getId()
Unique identifier for the publisher.List<Link>
getLinks()
Reference links.UploadData
getLogo()
String
getName()
The name of the publisher.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.
-
-
-
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:
toString
in 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:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-