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

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

There is a newer version: 0.9.191
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", defaultImpl = UiBorder.class)
public class UiBorder implements UiObject {


	protected UiLine top;
	protected UiLine left;
	protected UiLine bottom;
	protected UiLine right;
	protected float borderRadius;

	public UiBorder() {
	}

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

	@SuppressWarnings("unchecked")
	public String toString() {
		return new StringBuilder(getClass().getSimpleName()).append(": ")
				.append("borderRadius=" + borderRadius).append(", ")
				.append(top != null ? "top={" + top.toString() + "}" : "").append(", ")
				.append(left != null ? "left={" + left.toString() + "}" : "").append(", ")
				.append(bottom != null ? "bottom={" + bottom.toString() + "}" : "").append(", ")
				.append(right != null ? "right={" + right.toString() + "}" : "")
				.toString();
	}

	@com.fasterxml.jackson.annotation.JsonGetter("top")
	public UiLine getTop() {
		return top;
	}

	@com.fasterxml.jackson.annotation.JsonGetter("left")
	public UiLine getLeft() {
		return left;
	}

	@com.fasterxml.jackson.annotation.JsonGetter("bottom")
	public UiLine getBottom() {
		return bottom;
	}

	@com.fasterxml.jackson.annotation.JsonGetter("right")
	public UiLine getRight() {
		return right;
	}

	@com.fasterxml.jackson.annotation.JsonGetter("borderRadius")
	public float getBorderRadius() {
		return borderRadius;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("top")
	public UiBorder setTop(UiLine top) {
		this.top = top;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("left")
	public UiBorder setLeft(UiLine left) {
		this.left = left;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("bottom")
	public UiBorder setBottom(UiLine bottom) {
		this.bottom = bottom;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("right")
	public UiBorder setRight(UiLine right) {
		this.right = right;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("borderRadius")
	public UiBorder setBorderRadius(float borderRadius) {
		this.borderRadius = borderRadius;
		return this;
	}




}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy