/*
 * Copyright (c) 2016 Stichting Yona Foundation
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at https://mozilla.org/MPL/2.0/.
 */

package nu.yona.app.api.model;

import android.content.ContentValues;

import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;

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

/**
 * Created by bhargavsuthar on 14/04/16.
 */
public class YonaActivityCategories extends BaseEntity {

    @SerializedName("name")
    @Expose
    private
    String name;

    @SerializedName("description")
    @Expose
    private
    String description;

    @SerializedName("mandatoryNoGo")
    @Expose
    private
    boolean mandatoryNoGo;

    @SerializedName("applications")
    @Expose
    private List<String> applications = new ArrayList<>();

    @SerializedName("_links")
    @Expose
    private Links _links;

    /**
     * Gets name.
     *
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * Sets name.
     *
     * @param name the name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * Is mandatory no go boolean.
     *
     * @return the boolean
     */
    public boolean isMandatoryNoGo() {
        return mandatoryNoGo;
    }

    /**
     * Sets mandatory no go.
     *
     * @param mandatoryNoGo the mandatory no go
     */
    public void setMandatoryNoGo(boolean mandatoryNoGo) {
        this.mandatoryNoGo = mandatoryNoGo;
    }

    /**
     * Gets applications.
     *
     * @return the applications
     */
    public List<String> getApplications() {
        return applications;
    }

    /**
     * Sets applications.
     *
     * @param applications the applications
     */
    public void setApplications(List<String> applications) {
        this.applications = applications;
    }

    /**
     * Gets links.
     *
     * @return the links
     */
    public Links get_links() {
        return _links;
    }

    /**
     * Sets links.
     *
     * @param _links the links
     */
    public void set_links(Links _links) {
        this._links = _links;
    }

    @Override
    public ContentValues getDbContentValues() {
        return null;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
}

@@ -827,116 +827,8 @@
 o;%0A%0A
-    @SerializedName(%22applications%22)%0A    @Expose%0A    private List%3CString%3E applications = new ArrayList%3C%3E();%0A%0A
     
@@ -1530,372 +1530,8 @@
  %7D%0A%0A
-    /**%0A     * Gets applications.%0A     *%0A     * @return the applications%0A     */%0A    public List%3CString%3E getApplications() %7B%0A        return applications;%0A    %7D%0A%0A    /**%0A     * Sets applications.%0A     *%0A     * @param applications the applications%0A     */%0A    public void setApplications(List%3CString%3E applications) %7B%0A        this.applications = applications;%0A    %7D%0A%0A
     

Remove “applicaitons” property implementation.