pysmock.models.Contact¶
- class pysmock.models.Contact(name: Optional[str] = None, url: Optional[str] = None, email: Optional[str] = None)¶
- __init__(name: Optional[str] = None, url: Optional[str] = None, email: Optional[str] = None)¶
Initialize self. See help(type(self)) for accurate signature.
Methods
__init__([name, url, email])Initialize self.
from_yaml(loader, node)Convert a representation node to a Python object.
to_yaml(dumper, data)Convert a Python object to a representation node.
Attributes
yaml_flow_styleyaml_loaderyaml_tag