com.gooddata.gdc.UriResponse Maven / Gradle / Ivy
/*
* Copyright (C) 2007-2014, GoodData(R) Corporation. All rights reserved.
*/
package com.gooddata.gdc;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* Response containing URI
*/
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class UriResponse {
private final String uri;
@JsonCreator
public UriResponse(@JsonProperty("uri") String uri) {
this.uri = uri;
}
public String getUri() {
return uri;
}
@Override
public String toString() {
return uri;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy