models_v2.resource_endpoint module

class models_v2.resource_endpoint.ResourceEndpoint(fqdn=None, ipv_4_addr=None, ipv_6_addr=None, subnet_ip_4_addr=None, preferred_address=None, is_preferred_endpoint=None)[source]

Bases: object

Implementation of the ‘ResourceEndpoint’ model.

Specifies the details about the resource endpoint.

Attributes:

fqdn (string): Specifies the fqdn of this endpoint. ipv_4_addr (string): Specifies the ipv4 address of this endpoint. ipv_6_addr (string): Specifies the ipv6 address of this endpoint. subnet_ip_4_addr (string): Specifies the subnet Ip4 address of this

endpoint.

preferred_address (string): Specifies the preferred address to use for

connecting.

is_preferred_endpoint (bool): Whether to use this endpoint to

connect.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary

Args:

dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.

Returns:

object: An instance of this structure class.