def __init__(self, **kwargs):
        """
        Initializing and validating fields.

        Args:
            kwargs (dict): application command line options.

        Raises:
            RuntimeError: when validation of parameters has failed.
        """
        try:
            arguments = Adapter(CollectorUpdate.schema_complete().validate(kwargs))
            self.matrix = arguments.matrix
            self.stage = arguments.stage
            self.timestamp = arguments.timestamp
            self.status = arguments.status
            self.information = arguments.information.data
        except SchemaError as exception:
            Logger.get_logger(__name__).error(exception)
            raise RuntimeError(str(exception))
def __init__ ( self , ** kwargs ) : try : arguments = Adapter ( CollectorUpdate . schema_complete ( ) . validate ( kwargs ) ) self . matrix = arguments . matrix self . stage = arguments . stage self . timestamp = arguments . timestamp self . status = arguments . status self . information = arguments . information . data except SchemaError as exception : Logger . get_logger ( __name__ ) . error ( exception ) raise RuntimeError ( str ( exception ) )
Initializing and validating fields.

        Args:
            kwargs (dict): application command line options.

        Raises:
            RuntimeError: when validation of parameters has failed.