1919
2020/** RUM application attributes. */
2121@ JsonPropertyOrder ({
22+ RUMApplicationAttributes .JSON_PROPERTY_API_KEY_ID ,
2223 RUMApplicationAttributes .JSON_PROPERTY_APPLICATION_ID ,
2324 RUMApplicationAttributes .JSON_PROPERTY_CLIENT_TOKEN ,
2425 RUMApplicationAttributes .JSON_PROPERTY_CREATED_AT ,
3637 value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator" )
3738public class RUMApplicationAttributes {
3839 @ JsonIgnore public boolean unparsed = false ;
40+ public static final String JSON_PROPERTY_API_KEY_ID = "api_key_id" ;
41+ private Integer apiKeyId ;
42+
3943 public static final String JSON_PROPERTY_APPLICATION_ID = "application_id" ;
4044 private String applicationId ;
4145
@@ -98,6 +102,27 @@ public RUMApplicationAttributes(
98102 this .updatedByHandle = updatedByHandle ;
99103 }
100104
105+ public RUMApplicationAttributes apiKeyId (Integer apiKeyId ) {
106+ this .apiKeyId = apiKeyId ;
107+ return this ;
108+ }
109+
110+ /**
111+ * ID of the API key associated with the application. maximum: 2147483647
112+ *
113+ * @return apiKeyId
114+ */
115+ @ jakarta .annotation .Nullable
116+ @ JsonProperty (JSON_PROPERTY_API_KEY_ID )
117+ @ JsonInclude (value = JsonInclude .Include .USE_DEFAULTS )
118+ public Integer getApiKeyId () {
119+ return apiKeyId ;
120+ }
121+
122+ public void setApiKeyId (Integer apiKeyId ) {
123+ this .apiKeyId = apiKeyId ;
124+ }
125+
101126 public RUMApplicationAttributes applicationId (String applicationId ) {
102127 this .applicationId = applicationId ;
103128 return this ;
@@ -400,7 +425,8 @@ public boolean equals(Object o) {
400425 return false ;
401426 }
402427 RUMApplicationAttributes rumApplicationAttributes = (RUMApplicationAttributes ) o ;
403- return Objects .equals (this .applicationId , rumApplicationAttributes .applicationId )
428+ return Objects .equals (this .apiKeyId , rumApplicationAttributes .apiKeyId )
429+ && Objects .equals (this .applicationId , rumApplicationAttributes .applicationId )
404430 && Objects .equals (this .clientToken , rumApplicationAttributes .clientToken )
405431 && Objects .equals (this .createdAt , rumApplicationAttributes .createdAt )
406432 && Objects .equals (this .createdByHandle , rumApplicationAttributes .createdByHandle )
@@ -418,6 +444,7 @@ public boolean equals(Object o) {
418444 @ Override
419445 public int hashCode () {
420446 return Objects .hash (
447+ apiKeyId ,
421448 applicationId ,
422449 clientToken ,
423450 createdAt ,
@@ -437,6 +464,7 @@ public int hashCode() {
437464 public String toString () {
438465 StringBuilder sb = new StringBuilder ();
439466 sb .append ("class RUMApplicationAttributes {\n " );
467+ sb .append (" apiKeyId: " ).append (toIndentedString (apiKeyId )).append ("\n " );
440468 sb .append (" applicationId: " ).append (toIndentedString (applicationId )).append ("\n " );
441469 sb .append (" clientToken: " ).append (toIndentedString (clientToken )).append ("\n " );
442470 sb .append (" createdAt: " ).append (toIndentedString (createdAt )).append ("\n " );
0 commit comments