Class AuthRuleV2DraftParams
-
- All Implemented Interfaces:
-
com.lithic.api.core.Params
public final class AuthRuleV2DraftParams implements Params
Creates a new draft version of a rule that will be ran in shadow mode.
This can also be utilized to reset the draft parameters, causing a draft version to no longer be ran in shadow mode.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classAuthRuleV2DraftParams.BuilderA builder for AuthRuleV2DraftParams.
public final classAuthRuleV2DraftParams.Bodypublic final classAuthRuleV2DraftParams.ParametersParameters for the Auth Rule
-
Method Summary
Modifier and Type Method Description final Optional<String>authRuleToken()final Optional<AuthRuleV2DraftParams.Parameters>parameters()Parameters for the Auth Rule final JsonField<AuthRuleV2DraftParams.Parameters>_parameters()Returns the raw JSON value of parameters. final Map<String, JsonValue>_additionalBodyProperties()final Headers_additionalHeaders()Additional headers to send with the request. final QueryParams_additionalQueryParams()Additional query param to send with the request. final AuthRuleV2DraftParams.BuildertoBuilder()final AuthRuleV2DraftParams.Body_body()final String_pathParam(Integer index)Headers_headers()The full set of headers in the parameters, including both fixed and additional headers. QueryParams_queryParams()The full set of query params in the parameters, including both fixed and additional query params. Booleanequals(Object other)IntegerhashCode()StringtoString()final static AuthRuleV2DraftParamsnone()final static AuthRuleV2DraftParams.Builderbuilder()Returns a mutable builder for constructing an instance of AuthRuleV2DraftParams. -
-
Method Detail
-
authRuleToken
final Optional<String> authRuleToken()
-
parameters
final Optional<AuthRuleV2DraftParams.Parameters> parameters()
Parameters for the Auth Rule
-
_parameters
final JsonField<AuthRuleV2DraftParams.Parameters> _parameters()
Returns the raw JSON value of parameters.
Unlike parameters, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalBodyProperties
final Map<String, JsonValue> _additionalBodyProperties()
-
_additionalHeaders
final Headers _additionalHeaders()
Additional headers to send with the request.
-
_additionalQueryParams
final QueryParams _additionalQueryParams()
Additional query param to send with the request.
-
toBuilder
final AuthRuleV2DraftParams.Builder toBuilder()
-
_body
final AuthRuleV2DraftParams.Body _body()
-
_pathParam
final String _pathParam(Integer index)
-
_headers
Headers _headers()
The full set of headers in the parameters, including both fixed and additional headers.
-
_queryParams
QueryParams _queryParams()
The full set of query params in the parameters, including both fixed and additional query params.
-
none
final static AuthRuleV2DraftParams none()
-
builder
final static AuthRuleV2DraftParams.Builder builder()
Returns a mutable builder for constructing an instance of AuthRuleV2DraftParams.
-
-
-
-