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

com.securionpay.request.Expand Maven / Gradle / Ivy

The newest version!
package com.securionpay.request;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonValue;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

public class Expand {

	@JsonValue
	@JsonInclude(JsonInclude.Include.NON_EMPTY)
	private List paths = new ArrayList<>();

	public Expand() {
	}

	public Expand(List paths) {
		this.paths = paths;
	}

	public Expand(String... paths) {
		this(Arrays.asList(paths));
	}

	public Expand add(String path) {
		paths.add(path);
		return this;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy