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

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

There is a newer version: 0.9.194
Show 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")
@JsonTypeIdResolver(TeamAppsJacksonTypeIdResolver.class)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class UiPageViewBlock implements UiObject {

	public enum Alignment {
		LEFT, RIGHT, FULL;

		@com.fasterxml.jackson.annotation.JsonValue
		public int jsonValue() {
			return ordinal();
		}
	}

	protected String id;
	protected Alignment alignment;
	protected List toolButtons;

	public UiPageViewBlock() {
	}

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

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

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

	@com.fasterxml.jackson.annotation.JsonGetter("alignment")
	public Alignment getAlignment() {
		return alignment;
	}

	@com.fasterxml.jackson.annotation.JsonGetter("toolButtons")
	public List getToolButtons() {
		return toolButtons;
	}

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

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

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




}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy