com.geotab.model.entity.addins.AddInData Maven / Gradle / Ivy
package com.geotab.model.entity.addins;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.geotab.model.Id;
import com.geotab.model.entity.Entity;
import com.geotab.model.entity.group.Group;
import com.geotab.model.serialization.serdes.IdAsStringSerializer;
import java.util.List;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.SuperBuilder;
/**
* A class that holds data stored by an add-in.
*/
@Getter @Setter
@NoArgsConstructor
@SuperBuilder
public class AddInData extends Entity {
/**
* Gets or sets the add-in identifier.
*/
@JsonSerialize(using = IdAsStringSerializer.class)
private Id addInId;
/**
* Gets or sets the Details string as a serialized JSON object.
*/
private String details;
/**
* Gets or sets the list of {@link Group}(s) the {@link AddInData} belongs to.
*/
private List groups;
}