class documentation

class WebSessionsIdleLengthPolicy(bb.Union): (source)

View In Hierarchy

Web sessions idle length policy. 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 DurationLogInfo WebSessionsIdleLengthPolicy.defined: Defined idle session length. :ivar team_log.WebSessionsIdleLengthPolicy.undefined: Undefined idle session length.

Class Method defined Create an instance of this class set to the ``defined`` tag with value ``val``.
Method get_defined Defined idle session length.
Method is_defined Check if the union tag is ``defined``.
Method is_other Check if the union tag is ``other``.
Method is_undefined Check if the union tag is ``undefined``.
Class Variable other Undocumented
Class Variable undefined Undocumented
Method _process_custom_annotations Undocumented
Class Variable _catch_all Undocumented
@classmethod
def defined(cls, val): (source)

Create an instance of this class set to the ``defined`` tag with value ``val``. :param DurationLogInfo val: :rtype: WebSessionsIdleLengthPolicy

def get_defined(self): (source)

Defined idle session length. Only call this if :meth:`is_defined` is true. :rtype: DurationLogInfo

def is_defined(self): (source)

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

def is_other(self): (source)

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

def is_undefined(self): (source)

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

Undocumented

undefined = (source)

Undocumented

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

Undocumented

_catch_all: str = (source)

Undocumented