Class AdminOpnPartnerSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.marketplacepublisher.model.AdminOpnPartnerSummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20241201") public final class AdminOpnPartnerSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelOPN partner summary.
Note: Objects should always be created or deserialized using theAdminOpnPartnerSummary.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 theAdminOpnPartnerSummary.Builder, which maintain a set of all explicitly set fields calledAdminOpnPartnerSummary.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 classAdminOpnPartnerSummary.Builderstatic classAdminOpnPartnerSummary.MembershipStatusThe OPN membership status.
-
Constructor Summary
Constructors Constructor Description AdminOpnPartnerSummary(String companyId, String partnerName, String levelProgramName, String startDate, String endDate, AdminOpnPartnerSummary.MembershipStatus membershipStatus, String membershipType, String streetAddress1, String streetAddress2, String city, String state, String zipcode, String country, String phoneNumber, String partnerUrl, String numberOfEmployees, String lastUpdated, 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 AdminOpnPartnerSummary.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetCity()CityStringgetCompanyId()The id for company.StringgetCountry()CountryMap<String,Map<String,Object>>getDefinedTags()Defined tags for this resource.StringgetEndDate()The end date.Map<String,String>getFreeformTags()Simple key-value pair that is applied without any predefined name, type or scope.StringgetLastUpdated()The last updated timestamp in format “yyyy-MM-dd HH:mm:ss.S”.StringgetLevelProgramName()Partner Name.AdminOpnPartnerSummary.MembershipStatusgetMembershipStatus()The OPN membership status.StringgetMembershipType()OPN membership typeStringgetNumberOfEmployees()The total number of employees.StringgetPartnerName()Partner Name.StringgetPartnerUrl()The URL for partner’s service.StringgetPhoneNumber()The phone number of the contact.StringgetStartDate()The start date.StringgetState()StateStringgetStreetAddress1()The address of the partner.StringgetStreetAddress2()The address of the partner.Map<String,Map<String,Object>>getSystemTags()System tags for this resource.StringgetZipcode()ZipinthashCode()AdminOpnPartnerSummary.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
AdminOpnPartnerSummary
@Deprecated @ConstructorProperties({"companyId","partnerName","levelProgramName","startDate","endDate","membershipStatus","membershipType","streetAddress1","streetAddress2","city","state","zipcode","country","phoneNumber","partnerUrl","numberOfEmployees","lastUpdated","freeformTags","definedTags","systemTags"}) public AdminOpnPartnerSummary(String companyId, String partnerName, String levelProgramName, String startDate, String endDate, AdminOpnPartnerSummary.MembershipStatus membershipStatus, String membershipType, String streetAddress1, String streetAddress2, String city, String state, String zipcode, String country, String phoneNumber, String partnerUrl, String numberOfEmployees, String lastUpdated, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags)
Deprecated.
-
-
Method Detail
-
builder
public static AdminOpnPartnerSummary.Builder builder()
Create a new builder.
-
toBuilder
public AdminOpnPartnerSummary.Builder toBuilder()
-
getCompanyId
public String getCompanyId()
The id for company.- Returns:
- the value
-
getPartnerName
public String getPartnerName()
Partner Name.- Returns:
- the value
-
getLevelProgramName
public String getLevelProgramName()
Partner Name.- Returns:
- the value
-
getStartDate
public String getStartDate()
The start date.- Returns:
- the value
-
getEndDate
public String getEndDate()
The end date.- Returns:
- the value
-
getMembershipStatus
public AdminOpnPartnerSummary.MembershipStatus getMembershipStatus()
The OPN membership status.- Returns:
- the value
-
getMembershipType
public String getMembershipType()
OPN membership type- Returns:
- the value
-
getStreetAddress1
public String getStreetAddress1()
The address of the partner.- Returns:
- the value
-
getStreetAddress2
public String getStreetAddress2()
The address of the partner.- Returns:
- the value
-
getCity
public String getCity()
City- Returns:
- the value
-
getState
public String getState()
State- Returns:
- the value
-
getZipcode
public String getZipcode()
Zip- Returns:
- the value
-
getCountry
public String getCountry()
Country- Returns:
- the value
-
getPhoneNumber
public String getPhoneNumber()
The phone number of the contact.- Returns:
- the value
-
getPartnerUrl
public String getPartnerUrl()
The URL for partner’s service.- Returns:
- the value
-
getNumberOfEmployees
public String getNumberOfEmployees()
The total number of employees.- Returns:
- the value
-
getLastUpdated
public String getLastUpdated()
The last updated timestamp in format “yyyy-MM-dd HH:mm:ss.S”.- 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
-
-