com.collaide.fileuploader.models.repositorty.RepoFolder.java Source code

Java tutorial

Introduction

Here is the source code for com.collaide.fileuploader.models.repositorty.RepoFolder.java

Source

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.collaide.fileuploader.models.repositorty;

import com.google.gson.JsonObject;

/**
 *
 * @author leo
 */

public class RepoFolder extends RepoItems {

    @Override
    public String toJson() {
        JsonObject repoFolderJson = new JsonObject();
        repoFolderJson.add("repo_folder", gson.toJsonTree(this));
        return repoFolderJson.toString();
    }

}