export const ThemeManagerRuntimeMetricsPayloadDefinition = [
  {
    payloadKey: 'IS_OVERRIDECOLORS_METHOD_CALLED',
    payloadDescription: 'Indicate if the method overrideColors of public API ThemeManager is called',
    /**
     * Indicate whether the method is collected when the method has been called.
     *
     * @param {string} scope - The class name of public api
     * @param {string} methodName - The method name called by the public api
     * @returns {boolean} A boolean value
     */
    canAccept: (scope, methodName) => scope === 'ThemeManager' && methodName === 'overrideColors',
    /**
     * The function checks if the method has been called.
     *
     * @returns {boolean} A boolean value
     */
    payloadValue: () => {
      return true;
    },
  },
  {
    payloadKey: 'IS_RESET_METHOD_CALLED',
    payloadDescription: 'Indicate if the method reset of public API ThemeManager is called',
    /**
     * Indicate whether the method is collected when the method has been called.
     *
     * @param {string} scope - The class name of public api
     * @param {string} methodName - The method name called by the public api
     * @returns {boolean} A boolean value
     */
    canAccept: (scope, methodName) => scope === 'ThemeManager' && methodName === 'reset',
    /**
     * The function checks if the method has been called.
     *
     * @returns {boolean} A boolean value
     */
    payloadValue: () => {
      return true;
    },
  },
  {
    payloadKey: 'IS_TOGGLEDARKMODE_METHOD_CALLED',
    payloadDescription: 'Indicate if the method toggleDarkMode of public API ThemeManager is called',
    /**
     * Indicate whether the method is collected when the method has been called.
     *
     * @param {string} scope - The class name of public api
     * @param {string} methodName - The method name called by the public api
     * @returns {boolean} A boolean value
     */
    canAccept: (scope, methodName) => scope === 'ThemeManager' && methodName === 'toggleDarkMode',
    /**
     * The function checks if the method has been called.
     *
     * @returns {boolean} A boolean value
     */
    payloadValue: () => {
      return true;
    },
  },
  {
    payloadKey: 'IS_ISDARKMODE_METHOD_CALLED',
    payloadDescription: 'Indicate if the method isDarkMode of public API ThemeManager is called',
    /**
     * Indicate whether the method is collected when the method has been called.
     *
     * @param {string} scope - The class name of public api
     * @param {string} methodName - The method name called by the public api
     * @returns {boolean} A boolean value
     */
    canAccept: (scope, methodName) => scope === 'ThemeManager' && methodName === 'isDarkMode',
    /**
     * The function checks if the method has been called.
     *
     * @returns {boolean} A boolean value
     */
    payloadValue: () => {
      return true;
    },
  },
  {
    payloadKey: 'IS_APPLY_BRANDING_METHOD_CALLED',
    payloadDescription: 'Indicate if the method applyBranding of public API ThemeManager is called',
    /**
     * Indicate whether the method is collected when the method has been called.
     *
     * @param {string} scope - The class name of public api
     * @param {string} methodName - The method name called by the public api
     * @returns {boolean} A boolean value
     */
    canAccept: (scope, methodName) => scope === 'ThemeManager' && methodName === 'applyBranding',
    /**
     * The function checks if the method has been called.
     *
     * @returns {boolean} A boolean value
     */
    payloadValue: () => {
      return true;
    },
  },
  {
    payloadKey: 'IS_VALIDATECOLORACCESSIBILITY_METHOD_CALLED',
    payloadDescription: 'Indicate if the method validateColorAccessibility of public API ThemeManager is called',
    /**
     * Indicate whether the method is collected when the method has been called.
     *
     * @param {string} scope - The class name of public api
     * @param {string} methodName - The method name called by the public api
     * @returns {boolean} A boolean value
     */
    canAccept: (scope, methodName) => scope === 'ThemeManager' && methodName === 'validateColorAccessibility',
    /**
     * The function checks if the method has been called.
     *
     * @returns {boolean} A boolean value
     */
    payloadValue: () => {
      return true;
    },
  },
];
