class documentation

class PhotoSourceArg(bb.Union): (source)

View In Hierarchy

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 account.PhotoSourceArg.base64_data: Image data in base64-encoded bytes.

Class Method base64_data Create an instance of this class set to the ``base64_data`` tag with value ``val``.
Method get_base64_data Image data in base64-encoded bytes.
Method is_base64_data Check if the union tag is ``base64_data``.
Method is_other Check if the union tag is ``other``.
Class Variable other Undocumented
Method _process_custom_annotations Undocumented
Class Variable _catch_all Undocumented
@classmethod
def base64_data(cls, val): (source)

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

def get_base64_data(self): (source)

Image data in base64-encoded bytes. Only call this if :meth:`is_base64_data` is true. :rtype: str

def is_base64_data(self): (source)

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

def is_other(self): (source)

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

Undocumented

def _process_custom_annotations(self, annotation_type, field_path, processor): (source)

Undocumented

_catch_all: str = (source)

Undocumented