class documentation

This class acts as a tagged union. Only one of the ``is_*`` methods will return true. To get the associated value of a tag (if one exists), use the corresponding ``get_*`` method. :ivar str file_properties.TemplateError.template_not_found: Template does not exist for the given identifier. :ivar file_properties.TemplateError.restricted_content: You do not have permission to modify this template.

Class Method template_not_found Create an instance of this class set to the ``template_not_found`` tag with value ``val``.
Method get_template_not_found Template does not exist for the given identifier.
Method is_other Check if the union tag is ``other``.
Method is_restricted_content Check if the union tag is ``restricted_content``.
Method is_template_not_found Check if the union tag is ``template_not_found``.
Class Variable other Undocumented
Class Variable restricted_content Undocumented
Method _process_custom_annotations Undocumented
Class Variable _catch_all Undocumented
@classmethod
def template_not_found(cls, val): (source)

Create an instance of this class set to the ``template_not_found`` tag with value ``val``. :param str val: :rtype: TemplateError

def get_template_not_found(self): (source)

Template does not exist for the given identifier. Only call this if :meth:`is_template_not_found` is true. :rtype: str

def is_other(self): (source)

Check if the union tag is ``other``. :rtype: bool

def is_restricted_content(self): (source)

Check if the union tag is ``restricted_content``. :rtype: bool

def is_template_not_found(self): (source)

Check if the union tag is ``template_not_found``. :rtype: bool

Undocumented

restricted_content = (source)

Undocumented

def _process_custom_annotations(self, annotation_type, field_path, processor): (source)
_catch_all: str = (source)

Undocumented