Package google.registry.model.contact
Class ContactCommand.ContactCreateOrChange
- java.lang.Object
-
- google.registry.model.ImmutableObject
-
- google.registry.model.contact.ContactCommand.ContactCreateOrChange
-
- All Implemented Interfaces:
ResourceCommand.ResourceCreateOrChange<ContactResource.Builder>
,java.lang.Cloneable
- Direct Known Subclasses:
ContactCommand.Create
,ContactCommand.Update.Change
- Enclosing class:
- ContactCommand
public static class ContactCommand.ContactCreateOrChange extends ImmutableObject implements ResourceCommand.ResourceCreateOrChange<ContactResource.Builder>
The fields on "chgType" from RFC5733.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class google.registry.model.ImmutableObject
ImmutableObject.DoNotCompare, ImmutableObject.DoNotHydrate, ImmutableObject.EmptySetToNull, ImmutableObject.IgnoredInDiffableMap, ImmutableObject.Insignificant
-
-
Field Summary
-
Fields inherited from class google.registry.model.ImmutableObject
hashCode
-
-
Constructor Summary
Constructors Constructor Description ContactCreateOrChange()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContactAuthInfo
getAuthInfo()
Disclose
getDisclose()
java.lang.String
getEmail()
ContactPhoneNumber
getFax()
PostalInfo
getInternationalizedPostalInfo()
PostalInfo
getLocalizedPostalInfo()
protected java.util.Map<PostalInfo.Type,PostalInfo>
getPostalInfosAsMap()
Helper method to move between the postal infos list and the individual getters.ContactPhoneNumber
getVoice()
-
Methods inherited from class google.registry.model.ImmutableObject
clone, cloneEmptyToNull, equals, getSignificantFields, hashCode, toDiffableFieldMap, toHydratedString, toString, toStringHelper
-
-
-
-
Method Detail
-
getPostalInfosAsMap
protected java.util.Map<PostalInfo.Type,PostalInfo> getPostalInfosAsMap()
Helper method to move between the postal infos list and the individual getters.
-
getVoice
public ContactPhoneNumber getVoice()
-
getFax
public ContactPhoneNumber getFax()
-
getEmail
public java.lang.String getEmail()
-
getAuthInfo
public ContactAuthInfo getAuthInfo()
-
getDisclose
public Disclose getDisclose()
-
getInternationalizedPostalInfo
public PostalInfo getInternationalizedPostalInfo()
-
getLocalizedPostalInfo
public PostalInfo getLocalizedPostalInfo()
-
-