Bases: object
This class represents an API Version Request with convenience methods for manipulation and comparison of version numbers that we need to do to implement microversions.
Converts object to string representation which if used to create an APIVersionRequest object results in the same version request.
Returns whether the version object represents a version greater than or equal to the minimum version and less than or equal to the maximum version.
@param min_version: Minimum acceptable version. @param max_version: Maximum acceptable version. @returns: boolean
If min_version is null then there is no minimum limit. If max_version is null then there is no maximum limit. If self is null then raise ValueError
Check if API request version satisfies version restrictions.
Parameters: |
|
---|