Klasse ApiKeyAuthSpec
java.lang.Object
io.github.primelib.pagerduty4j.rest.auth.ApiKeyAuthSpec
- Alle implementierten Schnittstellen:
io.github.primelib.primecodegenlib.java.feign.common.api.AuthMethod
public class ApiKeyAuthSpec
extends Object
implements io.github.primelib.primecodegenlib.java.feign.common.api.AuthMethod
-
Konstruktorübersicht
KonstruktorBeschreibungApiKeyAuthSpec
(Consumer<ApiKeyAuthSpec> spec) Constructs a validated implementation ofApiKeyAuthSpec
. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibung@NotNull String
apiKey()
the API keythe API keyprotected boolean
boolean
int
hashCode()
@NotNull String
key of the property that holds the API key (header key or query param key)propertyKey
(@NotNull String propertyKey) key of the property that holds the API key (header key or query param key)@NotNull String
location of the API keypropertyLocation
(@NotNull String propertyLocation) location of the API keytemplate for the API key property, use {apiKey} as placeholder for the valuepropertyTemplate
(String propertyTemplate) template for the API key property, use {apiKey} as placeholder for the valuequeryMap()
toString()
void
validate()
Validates the Spec, will throw a exception if required parameters are missing
-
Konstruktordetails
-
ApiKeyAuthSpec
Constructs a validated implementation ofApiKeyAuthSpec
.- Parameter:
spec
- the specification to process
-
-
Methodendetails
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Löst aus:
NullPointerException
- if a required parameter is missingIllegalArgumentException
- if a parameter has an invalid value
-
propertyLocation
location of the API key -
propertyKey
key of the property that holds the API key (header key or query param key) -
propertyTemplate
template for the API key property, use {apiKey} as placeholder for the value -
apiKey
the API key -
propertyLocation
location of the API key- Gibt zurück:
this
.
-
propertyKey
key of the property that holds the API key (header key or query param key)- Gibt zurück:
this
.
-
propertyTemplate
template for the API key property, use {apiKey} as placeholder for the value- Gibt zurück:
this
.
-
apiKey
the API key- Gibt zurück:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-
headerMap
- Angegeben von:
headerMap
in Schnittstelleio.github.primelib.primecodegenlib.java.feign.common.api.AuthMethod
-
queryMap
- Angegeben von:
queryMap
in Schnittstelleio.github.primelib.primecodegenlib.java.feign.common.api.AuthMethod
-
cookieMap
- Angegeben von:
cookieMap
in Schnittstelleio.github.primelib.primecodegenlib.java.feign.common.api.AuthMethod
-