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

org.teamapps.dto.UiCitationPageViewBlock Maven / Gradle / Ivy

The newest version!
package org.teamapps.dto;

import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Set;
import java.util.function.Supplier;
import java.util.stream.Collectors;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.databind.annotation.JsonTypeIdResolver;

/**
 * THIS IS GENERATED CODE!
 * PLEASE DO NOT MODIFY - ALL YOUR WORK WOULD BE LOST!
 */
@JsonTypeInfo(use = JsonTypeInfo.Id.CUSTOM, property = "_type", defaultImpl = UiCitationPageViewBlock.class)
public class UiCitationPageViewBlock extends UiPageViewBlock implements UiObject {


	protected String creatorImageUrl;
	protected UiPageViewBlockCreatorImageAlignment creatorImageAlignment = UiPageViewBlockCreatorImageAlignment.LEFT;
	protected String citation;
	protected String author;

	public UiCitationPageViewBlock() {
		super();
	}

	@com.fasterxml.jackson.annotation.JsonIgnore
	public UiObjectType getUiObjectType() {
		return UiObjectType.UI_CITATION_PAGE_VIEW_BLOCK;
	}

	@SuppressWarnings("unchecked")
	public String toString() {
		return new StringBuilder(getClass().getSimpleName()).append(": ")
				.append("id=" + id).append(", ")
				.append("alignment=" + alignment).append(", ")
				.append("creatorImageUrl=" + creatorImageUrl).append(", ")
				.append("creatorImageAlignment=" + creatorImageAlignment).append(", ")
				.append("citation=" + citation).append(", ")
				.append("author=" + author).append(", ")
				.append(toolButtons != null ? "toolButtons={" + toolButtons.toString() + "}" : "")
				.toString();
	}

	@com.fasterxml.jackson.annotation.JsonGetter("creatorImageUrl")
	public String getCreatorImageUrl() {
		return creatorImageUrl;
	}

	@com.fasterxml.jackson.annotation.JsonGetter("creatorImageAlignment")
	public UiPageViewBlockCreatorImageAlignment getCreatorImageAlignment() {
		return creatorImageAlignment;
	}

	@com.fasterxml.jackson.annotation.JsonGetter("citation")
	public String getCitation() {
		return citation;
	}

	@com.fasterxml.jackson.annotation.JsonGetter("author")
	public String getAuthor() {
		return author;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("id")
	public UiCitationPageViewBlock setId(String id) {
		this.id = id;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("alignment")
	public UiCitationPageViewBlock setAlignment(Alignment alignment) {
		this.alignment = alignment;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("toolButtons")
	public UiCitationPageViewBlock setToolButtons(List toolButtons) {
		this.toolButtons = toolButtons;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("creatorImageUrl")
	public UiCitationPageViewBlock setCreatorImageUrl(String creatorImageUrl) {
		this.creatorImageUrl = creatorImageUrl;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("creatorImageAlignment")
	public UiCitationPageViewBlock setCreatorImageAlignment(UiPageViewBlockCreatorImageAlignment creatorImageAlignment) {
		this.creatorImageAlignment = creatorImageAlignment;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("citation")
	public UiCitationPageViewBlock setCitation(String citation) {
		this.citation = citation;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("author")
	public UiCitationPageViewBlock setAuthor(String author) {
		this.author = author;
		return this;
	}




}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy