pysmock.models.Info

class pysmock.models.Info(name: str = '', title: str = '', description: str = '', termsOfService: str = '', contact: Optional[pysmock.models.Contact.Contact] = None, license: Optional[pysmock.models.License.License] = None, version: str = '1.0.0')
__init__(name: str = '', title: str = '', description: str = '', termsOfService: str = '', contact: Optional[pysmock.models.Contact.Contact] = None, license: Optional[pysmock.models.License.License] = None, version: str = '1.0.0')

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__([name, title, description, …])

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_style

yaml_loader

yaml_tag