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

org.tsugi.contentitem.objects.LtiLinkItem Maven / Gradle / Ivy

There is a newer version: 23.3
Show newest version

package org.tsugi.contentitem.objects;

import java.util.ArrayList;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;

import org.tsugi.shared.objects.TsugiBase;

@JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL)
@JsonPropertyOrder({
    "@type",
    "@id",
    "title",
    "mediaType",
    "text",
    "url",
    "placementAdvice",
    "icon"
})

public class LtiLinkItem extends TsugiBase {

    @JsonProperty("placementAdvice")
    private PlacementAdvice placementAdvice;

    @JsonProperty("icon")
    private Icon icon;

    // Constructor
    public LtiLinkItem(String id, PlacementAdvice placementAdvice, Icon icon) {
	this._id = id;
	this._type = "LtiLinkItem";
	this.placementAdvice = placementAdvice;
	this.mediaType = "application/vnd.ims.lti.v1.ltilink";
	this.icon = icon;
    }

}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy