com.neotys.neoload.model.v3.project.server.NegotiateAuthentication Maven / Gradle / Ivy
package com.neotys.neoload.model.v3.project.server;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import org.immutables.value.Value;
import org.immutables.value.Value.Style.ValidationMethod;
import java.util.Optional;
@JsonInclude(value=Include.NON_EMPTY)
@JsonDeserialize(as = ImmutableNegotiateAuthentication.class)
@JsonPropertyOrder({LoginPasswordAuthentication.LOGIN, LoginPasswordAuthentication.PASSWORD, NegotiateAuthentication.DOMAIN})
@Value.Immutable
@Value.Style(validationMethod = ValidationMethod.NONE)
public interface NegotiateAuthentication extends LoginPasswordAuthentication {
String DOMAIN = "domain";
@JsonProperty(DOMAIN)
Optional getDomain();
class Builder extends ImmutableNegotiateAuthentication.Builder {
}
static Builder builder() {
return new Builder();
}
}