// Path: src/main/java/org/killbill/billing/client/model/gen/PluginProperty.java
// public class PluginProperty {
// 
//     private String key = null;
// 
//     private String value = null;
// 
//     private Boolean isUpdatable = null;
// 
// 
//     public PluginProperty() {
//     }
// 
//     public PluginProperty(final String key,
//                      final String value,
//                      final Boolean isUpdatable) {
//         this.key = key;
//         this.value = value;
//         this.isUpdatable = isUpdatable;
// 
//     }
// 
// 
//     public PluginProperty setKey(final String key) {
//         this.key = key;
//         return this;
//     }
// 
//     public String getKey() {
//         return key;
//     }
// 
//     public PluginProperty setValue(final String value) {
//         this.value = value;
//         return this;
//     }
// 
//     public String getValue() {
//         return value;
//     }
// 
//     public PluginProperty setIsUpdatable(final Boolean isUpdatable) {
//         this.isUpdatable = isUpdatable;
//         return this;
//     }
// 
//     @JsonProperty(value="isUpdatable")
//     public Boolean isUpdatable() {
//         return isUpdatable;
//     }
// 
//     @Override
//     public boolean equals(java.lang.Object o) {
//         if (this == o) {
//             return true;
//         }
//         if (o == null || getClass() != o.getClass()) {
//             return false;
//         }
//         PluginProperty pluginProperty = (PluginProperty) o;
//         return Objects.equals(this.key, pluginProperty.key) &&
//             Objects.equals(this.value, pluginProperty.value) &&
//             Objects.equals(this.isUpdatable, pluginProperty.isUpdatable);
//     }
// 
//     @Override
//     public int hashCode() {
//         return Objects.hash(key,
//             value,
//             isUpdatable);
//     }
// 
//     @Override
//     public String toString() {
//         StringBuilder sb = new StringBuilder();
//         sb.append("class PluginProperty {\n");
//         
//         sb.append("    key: ").append(toIndentedString(key)).append("\n");
//         sb.append("    value: ").append(toIndentedString(value)).append("\n");
//         sb.append("    isUpdatable: ").append(toIndentedString(isUpdatable)).append("\n");
//         sb.append("}");
//         return sb.toString();
//     }
// 
//     /**
//      * Convert the given object to string with each line indented by 4 spaces
//      * (except the first line).
//      */
//     private String toIndentedString(java.lang.Object o) {
//         if (o == null) {
//             return "null";
//         }
//         return o.toString().replace("\n", "\n    ");
//     }
// }
// 
// Path: src/main/java/org/killbill/billing/client/model/KillBillObject.java
// public abstract class KillBillObject {
// 
//     protected List<AuditLog> auditLogs;
// 
//     public KillBillObject() {
//         this(null);
//     }
// 
//     public KillBillObject(@Nullable final List<AuditLog> auditLogs) {
//         this.auditLogs = auditLogs;
//     }
// 
//     public List<AuditLog> getAuditLogs() {
//         return auditLogs;
//     }
// 
//     public void setAuditLogs(final List<AuditLog> auditLogs) {
//         this.auditLogs = auditLogs;
//     }
// 
//     @Override
//     public boolean equals(final Object o) {
//         if (this == o) {
//             return true;
//         }
//         if (!(o instanceof KillBillObject)) {
//             return false;
//         }
//         final KillBillObject that = (KillBillObject) o;
//         return Objects.equals(auditLogs, that.auditLogs);
//     }
// 
//     @Override
//     public int hashCode() {
//         return Objects.hash(auditLogs);
//     }
// }


import org.killbill.billing.client.model.KillBillObject;
import java.util.Objects;
import java.util.Arrays;
import java.util.ArrayList;
import java.util.List;
import org.killbill.billing.client.model.gen.PluginProperty;
/*
 * Copyright 2010-2014 Ning, Inc.
 * Copyright 2014-2020 Groupon, Inc
 * Copyright 2020-2021 Equinix, Inc
 * Copyright 2014-2021 The Billing Project, LLC
 *
 * The Billing Project licenses this file to you under the Apache License, version 2.0
 * (the "License"); you may not use this file except in compliance with the
 * License.  You may obtain a copy of the License at:
 *
 *    http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
 * License for the specific language governing permissions and limitations
 * under the License.
 */


package org.killbill.billing.client.model.gen;


/**
 *           DO NOT EDIT !!!
 *
 * This code has been generated by the Kill Bill swagger generator.
 *  @See https://github.com/killbill/killbill-swagger-coden
 */

public class HostedPaymentPageFields {

    private List<PluginProperty> formFields = null;


    public HostedPaymentPageFields() {
    }

    public HostedPaymentPageFields(final List<PluginProperty> formFields) {
        this.formFields = formFields;

    }


    public HostedPaymentPageFields setFormFields(final List<PluginProperty> formFields) {
        this.formFields = formFields;
        return this;
    }

    public HostedPaymentPageFields addFormFieldsItem(final PluginProperty formFieldsItem) {
        if (this.formFields == null) {
            this.formFields = new ArrayList<PluginProperty>();
        }
        this.formFields.add(formFieldsItem);
// Path: src/main/java/org/killbill/billing/client/model/gen/PluginProperty.java
// public class PluginProperty {
// 
//     private String key = null;
// 
//     private String value = null;
// 
//     private Boolean isUpdatable = null;
// 
// 
//     public PluginProperty() {
//     }
// 
//     public PluginProperty(final String key,
//                      final String value,
//                      final Boolean isUpdatable) {
//         this.key = key;
//         this.value = value;
//         this.isUpdatable = isUpdatable;
// 
//     }
// 
// 
//     public PluginProperty setKey(final String key) {
//         this.key = key;
//         return this;
//     }
// 
//     public String getKey() {
//         return key;
//     }
// 
//     public PluginProperty setValue(final String value) {
//         this.value = value;
//         return this;
//     }
// 
//     public String getValue() {
//         return value;
//     }
// 
//     public PluginProperty setIsUpdatable(final Boolean isUpdatable) {
//         this.isUpdatable = isUpdatable;
//         return this;
//     }
// 
//     @JsonProperty(value="isUpdatable")
//     public Boolean isUpdatable() {
//         return isUpdatable;
//     }
// 
//     @Override
//     public boolean equals(java.lang.Object o) {
//         if (this == o) {
//             return true;
//         }
//         if (o == null || getClass() != o.getClass()) {
//             return false;
//         }
//         PluginProperty pluginProperty = (PluginProperty) o;
//         return Objects.equals(this.key, pluginProperty.key) &&
//             Objects.equals(this.value, pluginProperty.value) &&
//             Objects.equals(this.isUpdatable, pluginProperty.isUpdatable);
//     }
// 
//     @Override
//     public int hashCode() {
//         return Objects.hash(key,
//             value,
//             isUpdatable);
//     }
// 
//     @Override
//     public String toString() {
//         StringBuilder sb = new StringBuilder();
//         sb.append("class PluginProperty {\n");
//         
//         sb.append("    key: ").append(toIndentedString(key)).append("\n");
//         sb.append("    value: ").append(toIndentedString(value)).append("\n");
//         sb.append("    isUpdatable: ").append(toIndentedString(isUpdatable)).append("\n");
//         sb.append("}");
//         return sb.toString();
//     }
// 
//     /**
//      * Convert the given object to string with each line indented by 4 spaces
//      * (except the first line).
//      */
//     private String toIndentedString(java.lang.Object o) {
//         if (o == null) {
//             return "null";
//         }
//         return o.toString().replace("\n", "\n    ");
//     }
// }
// 
// Path: src/main/java/org/killbill/billing/client/model/KillBillObject.java
// public abstract class KillBillObject {
// 
//     protected List<AuditLog> auditLogs;
// 
//     public KillBillObject() {
//         this(null);
//     }
// 
//     public KillBillObject(@Nullable final List<AuditLog> auditLogs) {
//         this.auditLogs = auditLogs;
//     }
// 
//     public List<AuditLog> getAuditLogs() {
//         return auditLogs;
//     }
// 
//     public void setAuditLogs(final List<AuditLog> auditLogs) {
//         this.auditLogs = auditLogs;
//     }
// 
//     @Override
//     public boolean equals(final Object o) {
//         if (this == o) {
//             return true;
//         }
//         if (!(o instanceof KillBillObject)) {
//             return false;
//         }
//         final KillBillObject that = (KillBillObject) o;
//         return Objects.equals(auditLogs, that.auditLogs);
//     }
// 
//     @Override
//     public int hashCode() {
//         return Objects.hash(auditLogs);
//     }
// }


// Path: src/main/java/org/killbill/billing/client/model/gen/HostedPaymentPageFields.java
import org.killbill.billing.client.model.KillBillObject;
import java.util.Objects;
import java.util.Arrays;
import java.util.ArrayList;
import java.util.List;
import org.killbill.billing.client.model.gen.PluginProperty;

/*
 * Copyright 2010-2014 Ning, Inc.
 * Copyright 2014-2020 Groupon, Inc
 * Copyright 2020-2021 Equinix, Inc
 * Copyright 2014-2021 The Billing Project, LLC
 *
 * The Billing Project licenses this file to you under the Apache License, version 2.0
 * (the "License"); you may not use this file except in compliance with the
 * License.  You may obtain a copy of the License at:
 *
 *    http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
 * License for the specific language governing permissions and limitations
 * under the License.
 */


package org.killbill.billing.client.model.gen;


/**
 *           DO NOT EDIT !!!
 *
 * This code has been generated by the Kill Bill swagger generator.
 *  @See https://github.com/killbill/killbill-swagger-coden
 */

public class HostedPaymentPageFields {

    private List<PluginProperty> formFields = null;


    public HostedPaymentPageFields() {
    }

    public HostedPaymentPageFields(final List<PluginProperty> formFields) {
        this.formFields = formFields;

    }


    public HostedPaymentPageFields setFormFields(final List<PluginProperty> formFields) {
        this.formFields = formFields;
        return this;
    }

    public HostedPaymentPageFields addFormFieldsItem(final PluginProperty formFieldsItem) {
        if (this.formFields == null) {
            this.formFields = new ArrayList<PluginProperty>();
        }
        this.formFields.add(formFieldsItem);
        return this;