11// This file is @generated
2- {% set class_ty = type .name | to_upper_camel_case -%}
2+ {% set class_ty = type .name | to_upper_camel_case -%}
33package com.svix.models;
44
55import com.svix.MaybeUnset;
@@ -84,7 +84,7 @@ public class {{ type.name | to_upper_camel_case }} {
8484 }
8585
8686 {% if field .type .is_set () or field .type .is_list () -%}
87- {{ f_deprecated }} public {{ class_ty }} add{{ f_varname | to_upper_camel_case }}Item ({{ field.type.inner_type().to_java() }} {{ f_varname }}Item) {
87+ {{ f_deprecated }} public {{ class_ty }} add{{ f_varname | to_upper_camel_case }}Item ({{ field.type.inner_type().to_java() }} {{ f_varname }}Item) {
8888 if (this.{{ f_varname }} == null) {
8989 {% if field .type .is_set () -%}
9090 {% if type .name is endingwith "Patch" and field .nullable -%}
@@ -101,14 +101,14 @@ public class {{ type.name | to_upper_camel_case }} {
101101 {% endif -%}
102102 }
103103 {% if type .name is endingwith "Patch" and field .nullable -%}
104- this.{{ f_varname }}.getValue().add({{ f_varname }}Item);
104+ this.{{ f_varname }}.getValue().add({{ f_varname }}Item);
105105 {% else -%}
106- this.{{ f_varname }}.add({{ f_varname }}Item);
106+ this.{{ f_varname }}.add({{ f_varname }}Item);
107107 {% endif %}
108108 return this;
109109 }
110110 {% elif field .type .is_map () -%}
111- {{ f_deprecated }} public {{ class_ty }} put{{ f_varname | to_upper_camel_case }}Item(String key, String {{ f_varname }}Item) {
111+ {{ f_deprecated }} public {{ class_ty }} put{{ f_varname | to_upper_camel_case }}Item(String key, String {{ f_varname }}Item) {
112112 if (this.{{ f_varname }} == null) {
113113 {% if type .name is endingwith "Patch" and field .nullable -%}
114114 this.{{ f_varname }} = new MaybeUnset<> (new HashMap<> ());
@@ -132,7 +132,7 @@ public class {{ type.name | to_upper_camel_case }} {
132132 * Get {{ f_varname }}
133133 {% endif -%}
134134 *
135- * @return {{ f_varname }}
135+ * @return {{ f_varname }}
136136 */
137137 {% if field .nullable or not field .required -%}
138138 @javax.annotation.Nullable
0 commit comments