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

com.logmein.gotowebinar_2_0.api.model.AssetsResponse 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_2_0.api.model;

import com.logmein.gotowebinar_2_0.api.model.Assets;
import com.logmein.gotowebinar_2_0.api.model.Page;

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

/**
 * Describes a list of completed assets
 */
public class AssetsResponse {

    /* The assets array for an organizer */
    private Assets _embedded = null;

    /* The assets page description. The first page is 0 */
    private Page page = null;

    /**
     * @return The assets array for an organizer
     */
    public Assets getEmbedded() {
        return _embedded;
    }

    /**
     * @param embedded The assets array for an organizer
     */
    public void setEmbedded(Assets embedded) {
        this._embedded = embedded;
    }

    /**
     * @return The assets page description. The first page is 0
     */
    public Page getPage() {
        return page;
    }

    /**
     * @param page The assets page description. The first page is 0
     */
    public void setPage(Page page) {
        this.page = page;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("class AssetsResponse {\n");
        String embeddedString = JsonUtil.Stringify(_embedded);
        if (embeddedString != null && !embeddedString.isEmpty())
            sb.append(String.format("  _embedded: %s\n", embeddedString));
        String pageString = JsonUtil.Stringify(page);
        if (pageString != null && !pageString.isEmpty())
            sb.append(String.format("  page: %s\n", pageString));
        sb.append("}\n");
        return sb.toString();
    }
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy