Package com.okta.sdk.resource.model
Class SimulatePolicyBody
java.lang.Object
com.okta.sdk.resource.model.SimulatePolicyBody
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-09-23T08:35:59.300824-05:00[America/Chicago]",
comments="Generator version: 7.8.0")
public class SimulatePolicyBody
extends Object
implements Serializable
The request body required for a simulate policy operation
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddpolicyTypesItem
(PolicyTypeSimulation policyTypesItem) appInstance
(String appInstance) boolean
The application instance ID for a simulate operationGet policyContextSupported policy types for a simulate operation.int
hashCode()
policyContext
(PolicyContext policyContext) policyTypes
(List<PolicyTypeSimulation> policyTypes) void
setAppInstance
(String appInstance) void
setPolicyContext
(PolicyContext policyContext) void
setPolicyTypes
(List<PolicyTypeSimulation> policyTypes) toString()
-
Field Details
-
JSON_PROPERTY_APP_INSTANCE
- See Also:
-
JSON_PROPERTY_POLICY_CONTEXT
- See Also:
-
JSON_PROPERTY_POLICY_TYPES
- See Also:
-
-
Constructor Details
-
SimulatePolicyBody
public SimulatePolicyBody()
-
-
Method Details
-
appInstance
-
getAppInstance
The application instance ID for a simulate operation- Returns:
- appInstance
-
setAppInstance
-
policyContext
-
getPolicyContext
Get policyContext- Returns:
- policyContext
-
setPolicyContext
-
policyTypes
-
addpolicyTypesItem
-
getPolicyTypes
Supported policy types for a simulate operation. The default value, `null`, returns all types.- Returns:
- policyTypes
-
setPolicyTypes
-
equals
-
hashCode
public int hashCode() -
toString
-