diff --git a/docs/VpnResultMethods.md b/docs/VpnResultMethods.md index 5fb0b1b7..287a4c1a 100644 --- a/docs/VpnResultMethods.md +++ b/docs/VpnResultMethods.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes **timezone_mismatch** | **bool** | The browser timezone doesn't match the timezone inferred from the request IP address. | **public_vpn** | **bool** | Request IP address is owned and used by a public VPN service provider. | **auxiliary_mobile** | **bool** | This method applies to mobile devices only. Indicates the result of additional methods used to detect a VPN in mobile devices. | +**os_mismatch** | **bool** | The browser runs on a different operating system than the operating system inferred from the request network signature. | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/fingerprint_pro_server_api_sdk/models/vpn_result_methods.py b/fingerprint_pro_server_api_sdk/models/vpn_result_methods.py index 92ad11c4..73eedea5 100644 --- a/fingerprint_pro_server_api_sdk/models/vpn_result_methods.py +++ b/fingerprint_pro_server_api_sdk/models/vpn_result_methods.py @@ -30,24 +30,28 @@ class VpnResultMethods(object): swagger_types = { 'timezone_mismatch': 'bool', 'public_vpn': 'bool', - 'auxiliary_mobile': 'bool' + 'auxiliary_mobile': 'bool', + 'os_mismatch': 'bool' } attribute_map = { 'timezone_mismatch': 'timezoneMismatch', 'public_vpn': 'publicVPN', - 'auxiliary_mobile': 'auxiliaryMobile' + 'auxiliary_mobile': 'auxiliaryMobile', + 'os_mismatch': 'osMismatch' } - def __init__(self, timezone_mismatch=None, public_vpn=None, auxiliary_mobile=None): # noqa: E501 + def __init__(self, timezone_mismatch=None, public_vpn=None, auxiliary_mobile=None, os_mismatch=None): # noqa: E501 """VpnResultMethods - a model defined in Swagger""" # noqa: E501 self._timezone_mismatch = None self._public_vpn = None self._auxiliary_mobile = None + self._os_mismatch = None self.discriminator = None self.timezone_mismatch = timezone_mismatch self.public_vpn = public_vpn self.auxiliary_mobile = auxiliary_mobile + self.os_mismatch = os_mismatch @property def timezone_mismatch(self): @@ -124,6 +128,31 @@ def auxiliary_mobile(self, auxiliary_mobile): self._auxiliary_mobile = auxiliary_mobile + @property + def os_mismatch(self): + """Gets the os_mismatch of this VpnResultMethods. # noqa: E501 + + The browser runs on a different operating system than the operating system inferred from the request network signature. # noqa: E501 + + :return: The os_mismatch of this VpnResultMethods. # noqa: E501 + :rtype: bool + """ + return self._os_mismatch + + @os_mismatch.setter + def os_mismatch(self, os_mismatch): + """Sets the os_mismatch of this VpnResultMethods. + + The browser runs on a different operating system than the operating system inferred from the request network signature. # noqa: E501 + + :param os_mismatch: The os_mismatch of this VpnResultMethods. # noqa: E501 + :type: bool + """ + if os_mismatch is None: + raise ValueError("Invalid value for `os_mismatch`, must not be `None`") # noqa: E501 + + self._os_mismatch = os_mismatch + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/res/fingerprint-server-api.yaml b/res/fingerprint-server-api.yaml index 9f5bab02..e84f04c5 100644 --- a/res/fingerprint-server-api.yaml +++ b/res/fingerprint-server-api.yaml @@ -348,6 +348,7 @@ paths: timezoneMismatch: false publicVPN: false auxiliaryMobile: false + osMismatch: false proxy: result: false tampering: @@ -1607,10 +1608,17 @@ components: This method applies to mobile devices only. Indicates the result of additional methods used to detect a VPN in mobile devices. example: false + osMismatch: + type: boolean + description: >- + The browser runs on a different operating system than the + operating system inferred from the request network signature. + example: false required: - timezoneMismatch - publicVPN - auxiliaryMobile + - osMismatch required: - result - originTimezone diff --git a/test/mocks/get_event_200.json b/test/mocks/get_event_200.json index 7de02fd2..9e0e4336 100644 --- a/test/mocks/get_event_200.json +++ b/test/mocks/get_event_200.json @@ -178,7 +178,8 @@ "methods": { "timezoneMismatch": false, "publicVPN": false, - "auxiliaryMobile": false + "auxiliaryMobile": false, + "osMismatch": false } } }, diff --git a/test/mocks/webhook.json b/test/mocks/webhook.json index f480e3e8..64cd698f 100644 --- a/test/mocks/webhook.json +++ b/test/mocks/webhook.json @@ -123,7 +123,8 @@ "methods": { "timezoneMismatch": false, "publicVPN": false, - "auxiliaryMobile": false + "auxiliaryMobile": false, + "osMismatch": false } }, "proxy": {