File manager - Edit - /opt/saltstack/salt/lib/python3.10/site-packages/libcloud/common/__pycache__/pointdns.cpython-310.pyc
Back
o ;j� � @ sL d dl Z d dlmZmZ d dlmZmZ G dd� de�ZG dd� de�ZdS )� N)�b�httplib)�JsonResponse�ConnectionUserAndKeyc @ s e Zd Zdd� ZdS )�PointDNSDNSResponsec C s | j tjtjtjfv S )z� Determine if our request was successful. The meaning of this can be arbitrary; did we receive OK status? Did the node get created? Were we authenticated? :rtype: ``bool`` :return: ``True`` or ``False`` )�statusr �OK�CREATED�ACCEPTED)�self� r �L/opt/saltstack/salt/lib/python3.10/site-packages/libcloud/common/pointdns.py�success s zPointDNSDNSResponse.successN)�__name__� __module__�__qualname__r r r r r r s r c @ s e Zd ZdZeZdd� ZdS )�PointDNSConnectionzpointhq.comc C s>