Package com.okta.sdk.resource.model
Class OSVersionConstraintDynamicVersionRequirement
java.lang.Object
com.okta.sdk.resource.model.OSVersionConstraintDynamicVersionRequirement
- 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 OSVersionConstraintDynamicVersionRequirement
extends Object
implements Serializable
Contains the necessary properties for a dynamic Windows version requirement
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Indicates the type of the dynamic Windows version requirement -
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondistanceFromLatestMajor
(Integer distanceFromLatestMajor) boolean
Indicates the distance from the latest Windows major version minimum: 0 maximum: 1Indicates whether the policy requires Windows devices to be on the latest security patchgetType()
Indicates the type of the dynamic Windows version requirementint
hashCode()
latestSecurityPatch
(Boolean latestSecurityPatch) void
setDistanceFromLatestMajor
(Integer distanceFromLatestMajor) void
setLatestSecurityPatch
(Boolean latestSecurityPatch) void
toString()
-
Field Details
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_DISTANCE_FROM_LATEST_MAJOR
- See Also:
-
JSON_PROPERTY_LATEST_SECURITY_PATCH
- See Also:
-
-
Constructor Details
-
OSVersionConstraintDynamicVersionRequirement
public OSVersionConstraintDynamicVersionRequirement()
-
-
Method Details
-
type
-
getType
Indicates the type of the dynamic Windows version requirement- Returns:
- type
-
setType
-
distanceFromLatestMajor
public OSVersionConstraintDynamicVersionRequirement distanceFromLatestMajor(Integer distanceFromLatestMajor) -
getDistanceFromLatestMajor
Indicates the distance from the latest Windows major version minimum: 0 maximum: 1- Returns:
- distanceFromLatestMajor
-
setDistanceFromLatestMajor
-
latestSecurityPatch
public OSVersionConstraintDynamicVersionRequirement latestSecurityPatch(Boolean latestSecurityPatch) -
getLatestSecurityPatch
Indicates whether the policy requires Windows devices to be on the latest security patch- Returns:
- latestSecurityPatch
-
setLatestSecurityPatch
-
equals
-
hashCode
public int hashCode() -
toString
-