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.

  • Felddetails

    • VALIDATION_ENABLED

      @Experimental public static Boolean VALIDATION_ENABLED
      allows to disable validation of the spec, use with care!
  • Konstruktordetails

  • Methodendetails

    • validate

      public void validate()
      Validates the Spec, will throw a exception if required parameters are missing
      Löst aus:
      NullPointerException
    • policyId

      public @NonNull String 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

      public ActivateGlobalPolicyByPolicyIdOperationSpec policyId(@NonNull String 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

      public boolean equals(Object o)
      Setzt außer Kraft:
      equals in Klasse Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse Object
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object