All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.logmein.gotowebinar.api.model.RegistrationFields Maven / Gradle / Ivy

There is a newer version: 2.9.0
Show newest version
/*
 * © 2017 LogMeIn, Inc. All Rights Reserved.
 * All rights reserved.
 * 
 * This software is distributed under the terms and conditions of the
 * LogMeIn SDK License Agreement. Please see file LICENSE for details.
 * 
 * Auto-generated file.
 */


package com.logmein.gotowebinar.api.model;

import com.logmein.gotowebinar.api.common.JsonUtil;

import java.util.ArrayList;
import java.util.List;

/**
 * The fields to be completed on the webinar registration form.
 */
public class RegistrationFields {

    /* Custom fields created by the organizer for the webinar registration form */
    private List questions = new ArrayList();

    /* The default fields the organizer has selected for the webinar registration form */
    private List fields = new ArrayList();

    /**
     * @return Custom fields created by the organizer for the webinar registration form
     */
    public List getQuestions() {
        return questions;
    }

    /**
     * @param questions Custom fields created by the organizer for the webinar registration form
     */
    public void setQuestions(List questions) {
        this.questions = questions;
    }

    /**
     * @return The default fields the organizer has selected for the webinar registration form
     */
    public List getFields() {
        return fields;
    }

    /**
     * @param fields The default fields the organizer has selected for the webinar registration form
     */
    public void setFields(List fields) {
        this.fields = fields;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("class RegistrationFields {\n");
        String questionsString = JsonUtil.Stringify(questions);
        if (questionsString != null && !questionsString.isEmpty())
            sb.append(String.format("  questions: %s\n", questionsString));
        String fieldsString = JsonUtil.Stringify(fields);
        if (fieldsString != null && !fieldsString.isEmpty())
            sb.append(String.format("  fields: %s\n", fieldsString));
        sb.append("}\n");
        return sb.toString();
    }
}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy