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

org.springframework.social.partnercenter.api.PartnerCenterResponse Maven / Gradle / Ivy

Go to download

A provider extension for Spring Social to enable connectivity with Microsoft and an API binding for Microsoft's Partner Center API.

There is a newer version: 10.11.0
Show newest version
package org.springframework.social.partnercenter.api;

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

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

@JsonInclude(JsonInclude.Include.NON_NULL)
public class PartnerCenterResponse {
	@JsonProperty("totalCount")
	private int total;
	@JsonProperty("continuationToken")
	private String continuationToken;
	@JsonProperty
	private List items = new ArrayList<>();
	@JsonProperty
	private ResourceAttributes attributes;
	@JsonProperty
	private ResourceLinks links;

	public int getTotal() {
		return total;
	}

	public PartnerCenterResponse setTotal(int total) {
		this.total = total;
		return this;
	}

	public List getItems() {
		return items;
	}

	public PartnerCenterResponse setItems(List items) {
		this.items = items;
		return this;
	}

	public ResourceAttributes getAttributes() {
		return attributes;
	}

	public PartnerCenterResponse setAttributes(ResourceAttributes attributes) {
		this.attributes = attributes;
		return this;
	}

	public ResourceLinks getLinks() {
		return links;
	}

	public PartnerCenterResponse setLinks(ResourceLinks links) {
		this.links = links;
		return this;
	}

	public String getContinuationToken() {
		return continuationToken;
	}

	public PartnerCenterResponse setContinuationToken(String continuationToken) {
		this.continuationToken = continuationToken;
		return this;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy