5050 */
5151@ javax .annotation .Generated (value = "org.openapitools.codegen.languages.JavaClientCodegen" , comments = "Generator version: 7.15.0" )
5252public class ContractorCriteriaFilter {
53+ public static final String SERIALIZED_NAME_ACTIVE = "Active" ;
54+ @ SerializedName (SERIALIZED_NAME_ACTIVE )
55+ @ javax .annotation .Nullable
56+ private Boolean active ;
57+
5358 public static final String SERIALIZED_NAME_CATALOG_ID = "CatalogId" ;
5459 @ SerializedName (SERIALIZED_NAME_CATALOG_ID )
5560 @ javax .annotation .Nullable
5661 private Integer catalogId ;
5762
58- public static final String SERIALIZED_NAME_ACTIVE = "Active " ;
59- @ SerializedName (SERIALIZED_NAME_ACTIVE )
63+ public static final String SERIALIZED_NAME_KIND_ID = "KindId " ;
64+ @ SerializedName (SERIALIZED_NAME_KIND_ID )
6065 @ javax .annotation .Nullable
61- private Boolean active ;
66+ private Integer kindId ;
6267
6368 public ContractorCriteriaFilter () {
6469 }
6570
71+ public ContractorCriteriaFilter active (@ javax .annotation .Nullable Boolean active ) {
72+ this .active = active ;
73+ return this ;
74+ }
75+
76+ /**
77+ * Kryterium wyszukiwania po statusie aktywnosci kontrahenta. Jezeli wartosc bedzie pusta to kryterium wyszukiwania zostanie pominiete.
78+ * @return active
79+ */
80+ @ javax .annotation .Nullable
81+ public Boolean getActive () {
82+ return active ;
83+ }
84+
85+ public void setActive (@ javax .annotation .Nullable Boolean active ) {
86+ this .active = active ;
87+ }
88+
89+
6690 public ContractorCriteriaFilter catalogId (@ javax .annotation .Nullable Integer catalogId ) {
6791 this .catalogId = catalogId ;
6892 return this ;
@@ -82,22 +106,22 @@ public void setCatalogId(@javax.annotation.Nullable Integer catalogId) {
82106 }
83107
84108
85- public ContractorCriteriaFilter active (@ javax .annotation .Nullable Boolean active ) {
86- this .active = active ;
109+ public ContractorCriteriaFilter kindId (@ javax .annotation .Nullable Integer kindId ) {
110+ this .kindId = kindId ;
87111 return this ;
88112 }
89113
90114 /**
91- * Kryterium wyszukiwania po statusie aktywnosci kontrahenta. Jezeli wartosc bedzie pusta to kryterium wyszukiwania zostanie pominiete.
92- * @return active
115+ * Kryterium wyszukiwania po id rodzaju kontrahenta. Jezeli wartosc bedzie pusta to kryterium wyszukiwania zostanie pominiete.
116+ * @return kindId
93117 */
94118 @ javax .annotation .Nullable
95- public Boolean getActive () {
96- return active ;
119+ public Integer getKindId () {
120+ return kindId ;
97121 }
98122
99- public void setActive (@ javax .annotation .Nullable Boolean active ) {
100- this .active = active ;
123+ public void setKindId (@ javax .annotation .Nullable Integer kindId ) {
124+ this .kindId = kindId ;
101125 }
102126
103127
@@ -111,21 +135,23 @@ public boolean equals(Object o) {
111135 return false ;
112136 }
113137 ContractorCriteriaFilter contractorCriteriaFilter = (ContractorCriteriaFilter ) o ;
114- return Objects .equals (this .catalogId , contractorCriteriaFilter .catalogId ) &&
115- Objects .equals (this .active , contractorCriteriaFilter .active );
138+ return Objects .equals (this .active , contractorCriteriaFilter .active ) &&
139+ Objects .equals (this .catalogId , contractorCriteriaFilter .catalogId ) &&
140+ Objects .equals (this .kindId , contractorCriteriaFilter .kindId );
116141 }
117142
118143 @ Override
119144 public int hashCode () {
120- return Objects .hash (catalogId , active );
145+ return Objects .hash (active , catalogId , kindId );
121146 }
122147
123148 @ Override
124149 public String toString () {
125150 StringBuilder sb = new StringBuilder ();
126151 sb .append ("class ContractorCriteriaFilter {\n " );
127- sb .append (" catalogId: " ).append (toIndentedString (catalogId )).append ("\n " );
128152 sb .append (" active: " ).append (toIndentedString (active )).append ("\n " );
153+ sb .append (" catalogId: " ).append (toIndentedString (catalogId )).append ("\n " );
154+ sb .append (" kindId: " ).append (toIndentedString (kindId )).append ("\n " );
129155 sb .append ("}" );
130156 return sb .toString ();
131157 }
@@ -147,7 +173,7 @@ private String toIndentedString(Object o) {
147173
148174 static {
149175 // a set of all properties/fields (JSON key names)
150- openapiFields = new HashSet <String >(Arrays .asList ("CatalogId" , "Active " ));
176+ openapiFields = new HashSet <String >(Arrays .asList ("Active" , " CatalogId" , "KindId " ));
151177
152178 // a set of required properties/fields (JSON key names)
153179 openapiRequiredFields = new HashSet <String >(0 );
0 commit comments