original_docstring: 
          Sets the flags of this SmbSettingsGlobalSettingsAuditGlobalSaclItem.
          Determines if audit is performed on success or failure.
  
          :param flags: The flags of this SmbSettingsGlobalSettingsAuditGlobalSaclItem.
          :type: str
          
docstring: Sets the flags of this SmbSettingsGlobalSettingsAuditGlobalSaclItem.
  Determines if audit is performed on success or failure.
  
  :param flags: The flags of this SmbSettingsGlobalSettingsAuditGlobalSaclItem.
  :type: str
docstring_tokens: Sets the flags of this SmbSettingsGlobalSettingsAuditGlobalSaclItem . Determines if audit is performed on success or failure . : param flags : The flags of this SmbSettingsGlobalSettingsAuditGlobalSaclItem . : type : str
code: def flags(self, flags):
          """
          Sets the flags of this SmbSettingsGlobalSettingsAuditGlobalSaclItem.
          Determines if audit is performed on success or failure.
  
          :param flags: The flags of this SmbSettingsGlobalSettingsAuditGlobalSaclItem.
          :type: str
          """
          allowed_values = ["successful", "failed"]
          if flags not in allowed_values:
              raise ValueError(
                  "Invalid value for `flags`, must be one of {0}"
                  .format(allowed_values)
              )
  
          self._flags = flags
code_tokens: def flags ( self , flags ) : allowed_values = [ "successful" , "failed" ] if flags not in allowed_values : raise ValueError ( "Invalid value for `flags`, must be one of {0}" . format ( allowed_values ) ) self . _flags = flags
short_docstring: Sets the flags of this SmbSettingsGlobalSettingsAuditGlobalSaclItem.
short_docstring_tokens: Sets the flags of this SmbSettingsGlobalSettingsAuditGlobalSaclItem .
comment: """
          Sets the flags of this SmbSettingsGlobalSettingsAuditGlobalSaclItem.
          Determines if audit is performed on success or failure.
  
          :param flags: The flags of this SmbSettingsGlobalSettingsAuditGlobalSaclItem.
          :type: str
          """