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

edu.ksu.canvas.model.SelectiveData Maven / Gradle / Ivy

There is a newer version: 2.0.0
Show newest version
package edu.ksu.canvas.model;

import java.io.Serializable;
import java.util.List;

import edu.ksu.canvas.annotation.CanvasField;
import edu.ksu.canvas.annotation.CanvasObject;

/**
 * Class to represent Canvas items for selective import.
 * See Content Migrations - Selective Data documentation.
 */
 @CanvasObject(postKey = "selective_data")
public class SelectiveData extends BaseCanvasModel implements Serializable {
    public static final long serialVersionUID = 1L;

    private String type;
    private String property;
    private String title;
    private Integer count;
    private String subItemsUrl;
    private List subItems;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getProperty() {
        return property;
    }

    public void setProperty(String property) {
        this.property = property;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    @CanvasField(postKey = "sub_items_url")
    public String getSubItemsUrl() {
        return subItemsUrl;
    }

    public void setSubItemsUrl(String subItemsUrl) {
        this.subItemsUrl = subItemsUrl;
    }

    @CanvasField(postKey = "sub_items")
    public List getSubItems() {
        return subItems;
    }

    public void setSubItems(List subItems) {
        this.subItems = subItems;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy