Package com.okta.sdk.resource.model
Class OSVersion
java.lang.Object
com.okta.sdk.resource.model.OSVersion
- 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 OSVersion
extends Object
implements Serializable
Specifies the OS requirement for the policy. There are two types of OS requirements: * **Static**: A specific OS
version requirement that doesn't change until you update the policy. A static OS requirement is specified with
the `osVersion.minimum` property. * **Dynamic**: An OS version requirement that is relative to the latest
major OS release and security patch. A dynamic OS requirement is specified with the
`osVersion.dynamicVersionRequirement` property. > **Note:** Dynamic OS requirements are available only
if the **Dynamic OS version compliance** [self-service
EA](/openapi/okta-management/guides/release-lifecycle/#early-access-ea) feature is enabled. You can't specify
both `osVersion.minimum` and `osVersion.dynamicVersionRequirement` properties at the same time.
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondynamicVersionRequirement
(OSVersionDynamicVersionRequirement dynamicVersionRequirement) boolean
Get dynamicVersionRequirementThe device version must be equal to or newer than the specified version string (maximum of three components for iOS and macOS, and maximum of four components for Android)int
hashCode()
void
setDynamicVersionRequirement
(OSVersionDynamicVersionRequirement dynamicVersionRequirement) void
setMinimum
(String minimum) toString()
-
Field Details
-
JSON_PROPERTY_DYNAMIC_VERSION_REQUIREMENT
- See Also:
-
JSON_PROPERTY_MINIMUM
- See Also:
-
-
Constructor Details
-
OSVersion
public OSVersion()
-
-
Method Details
-
dynamicVersionRequirement
public OSVersion dynamicVersionRequirement(OSVersionDynamicVersionRequirement dynamicVersionRequirement) -
getDynamicVersionRequirement
Get dynamicVersionRequirement- Returns:
- dynamicVersionRequirement
-
setDynamicVersionRequirement
public void setDynamicVersionRequirement(OSVersionDynamicVersionRequirement dynamicVersionRequirement) -
minimum
-
getMinimum
The device version must be equal to or newer than the specified version string (maximum of three components for iOS and macOS, and maximum of four components for Android)- Returns:
- minimum
-
setMinimum
-
equals
-
hashCode
public int hashCode() -
toString
-