![JAR search and dependency download from the Maven repository](/logo.png)
dev.fitko.fitconnect.api.domain.model.metadata.AuthenticationInformation Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of client Show documentation
Show all versions of client Show documentation
Library that provides client access to the FIT-Connect api-endpoints for sending, subscribing and
routing
package dev.fitko.fitconnect.api.domain.model.metadata;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@AllArgsConstructor
@NoArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
public class AuthenticationInformation {
@JsonProperty("type")
private String type;
@JsonProperty("version")
private String version;
@JsonProperty("content")
private String content;
public static Builder builder() {
return new Builder();
}
public static class Builder {
private String type;
private String version;
private String content;
public Builder withType(final String type) {
this.type = type;
return this;
}
public Builder withVersion(final String version) {
this.version = version;
return this;
}
public Builder withContent(final String content) {
this.content = content;
return this;
}
public AuthenticationInformation build() {
return new AuthenticationInformation(type, version, content);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy