@@ -39,6 +39,11 @@ public class IDSyncConfigurationInput {
3939 @ SerializedName (SERIALIZED_NAME_STRATEGY )
4040 private String strategy ;
4141
42+ public static final String SERIALIZED_NAME_MAP_TO = "mapTo" ;
43+
44+ @ SerializedName (SERIALIZED_NAME_MAP_TO )
45+ private String mapTo ;
46+
4247 public IDSyncConfigurationInput () {}
4348
4449 public IDSyncConfigurationInput externalId (String externalId ) {
@@ -83,6 +88,27 @@ public void setStrategy(String strategy) {
8388 this .strategy = strategy ;
8489 }
8590
91+ public IDSyncConfigurationInput mapTo (String mapTo ) {
92+
93+ this .mapTo = mapTo ;
94+ return this ;
95+ }
96+
97+ /**
98+ * Optional destination-specific identifier to map to (for example,
99+ * \"Email_Address_c\").
100+ *
101+ * @return mapTo
102+ */
103+ @ javax .annotation .Nullable
104+ public String getMapTo () {
105+ return mapTo ;
106+ }
107+
108+ public void setMapTo (String mapTo ) {
109+ this .mapTo = mapTo ;
110+ }
111+
86112 @ Override
87113 public boolean equals (Object o ) {
88114 if (this == o ) {
@@ -93,12 +119,13 @@ public boolean equals(Object o) {
93119 }
94120 IDSyncConfigurationInput idSyncConfigurationInput = (IDSyncConfigurationInput ) o ;
95121 return Objects .equals (this .externalId , idSyncConfigurationInput .externalId )
96- && Objects .equals (this .strategy , idSyncConfigurationInput .strategy );
122+ && Objects .equals (this .strategy , idSyncConfigurationInput .strategy )
123+ && Objects .equals (this .mapTo , idSyncConfigurationInput .mapTo );
97124 }
98125
99126 @ Override
100127 public int hashCode () {
101- return Objects .hash (externalId , strategy );
128+ return Objects .hash (externalId , strategy , mapTo );
102129 }
103130
104131 @ Override
@@ -107,6 +134,7 @@ public String toString() {
107134 sb .append ("class IDSyncConfigurationInput {\n " );
108135 sb .append (" externalId: " ).append (toIndentedString (externalId )).append ("\n " );
109136 sb .append (" strategy: " ).append (toIndentedString (strategy )).append ("\n " );
137+ sb .append (" mapTo: " ).append (toIndentedString (mapTo )).append ("\n " );
110138 sb .append ("}" );
111139 return sb .toString ();
112140 }
@@ -130,6 +158,7 @@ private String toIndentedString(Object o) {
130158 openapiFields = new HashSet <String >();
131159 openapiFields .add ("externalId" );
132160 openapiFields .add ("strategy" );
161+ openapiFields .add ("mapTo" );
133162
134163 // a set of required properties/fields (JSON key names)
135164 openapiRequiredFields = new HashSet <String >();
@@ -191,6 +220,14 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
191220 + " string but got `%s`" ,
192221 jsonObj .get ("strategy" ).toString ()));
193222 }
223+ if ((jsonObj .get ("mapTo" ) != null && !jsonObj .get ("mapTo" ).isJsonNull ())
224+ && !jsonObj .get ("mapTo" ).isJsonPrimitive ()) {
225+ throw new IllegalArgumentException (
226+ String .format (
227+ "Expected the field `mapTo` to be a primitive type in the JSON string"
228+ + " but got `%s`" ,
229+ jsonObj .get ("mapTo" ).toString ()));
230+ }
194231 }
195232
196233 public static class CustomTypeAdapterFactory implements TypeAdapterFactory {
0 commit comments