Klasse ActivateGlobalPolicyByPolicyIdOperationSpec
java.lang.Object
io.github.primelib.webmethodsapigateway4j.operations.ActivateGlobalPolicyByPolicyIdOperationSpec
@Generated("io.github.primelib.primecodegen")
public class ActivateGlobalPolicyByPolicyIdOperationSpec
extends Object
ActivateGlobalPolicyByPolicyId
This REST request is used to activate a global policy and this request doesn't require any request body. This request will try to activate the global policy and if any error occurs during activation it will be reported as response or if the global policy is activated then its policy details active flag set to true will be sent as response. If the global policy have any conflicts then it cannot be activated the conflicts are manually resolved.
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic Booleanallows to disable validation of the spec, use with care! -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungActivateGlobalPolicyByPolicyIdOperationSpec(Consumer<ActivateGlobalPolicyByPolicyIdOperationSpec> spec) Constructs a validated instance ofActivateGlobalPolicyByPolicyIdOperationSpec. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected booleanbooleaninthashCode()@NonNull StringpolicyId()The path parameter should be the policy id of global policy that needs to be activated.The path parameter should be the policy id of global policy that needs to be activated.toString()voidvalidate()Validates the Spec, will throw a exception if required parameters are missing
-
Felddetails
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Konstruktordetails
-
ActivateGlobalPolicyByPolicyIdOperationSpec
@Internal public ActivateGlobalPolicyByPolicyIdOperationSpec(Consumer<ActivateGlobalPolicyByPolicyIdOperationSpec> spec) Constructs a validated instance ofActivateGlobalPolicyByPolicyIdOperationSpec.- 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
-
policyId
The path parameter should be the policy id of global policy that needs to be activated. If the policy id is not belongs to a global policy then error will be reported -
policyId
The path parameter should be the policy id of global policy that needs to be activated. If the policy id is not belongs to a global policy then error will be reported- Gibt zurück:
this.
-
equals
-
canEqual
-
hashCode
-
toString
-