def parse_self_service
      @self_service_data_config = SELF_SERVICE_CLASSES[self.class]

      subset_key = @self_service_data_config[:self_service_subset] ? @self_service_data_config[:self_service_subset] : :self_service

      ss_data = @init_data[subset_key]
      ss_data ||= {}

      @in_self_service = in_self_service_at_init?

      @self_service_description = ss_data[:self_service_description]

      @icon = JSS::Icon.new(ss_data[:self_service_icon]) if ss_data[:self_service_icon]

      @self_service_feature_on_main_page = ss_data[:feature_on_main_page]

      @self_service_categories = ss_data[:self_service_categories]
      @self_service_categories ||= []

      parse_self_service_profile ss_data

      return unless self_service_targets.include? :macos

      # Computers only...
      @self_service_display_name = ss_data[:self_service_display_name]
      @self_service_display_name ||= name
      @self_service_install_button_text = ss_data[:install_button_text]
      @self_service_reinstall_button_text = ss_data[:reinstall_button_text]
      @self_service_force_users_to_view_description = ss_data[:force_users_to_view_description]

      parse_self_service_notifications ss_data
    end
def parse_self_service
      @self_service_data_config = SELF_SERVICE_CLASSES[self.class]

      subset_key = @self_service_data_config[:self_service_subset] ? @self_service_data_config[:self_service_subset] : :self_service

      ss_data = @init_data[subset_key]
      ss_data ||= {}

      @in_self_service = in_self_service_at_init?

      @self_service_description = ss_data[:self_service_description]

      @icon = JSS::Icon.new(ss_data[:self_service_icon]) if ss_data[:self_service_icon]

      @self_service_feature_on_main_page = ss_data[:feature_on_main_page]

      @self_service_categories = ss_data[:self_service_categories]
      @self_service_categories ||= []

      parse_self_service_profile ss_data

      return unless self_service_targets.include? :macos

      # Computers only...
      @self_service_display_name = ss_data[:self_service_display_name]
      @self_service_display_name ||= name
      @self_service_install_button_text = ss_data[:install_button_text]
      @self_service_reinstall_button_text = ss_data[:reinstall_button_text]
      @self_service_force_users_to_view_description = ss_data[:force_users_to_view_description]

      parse_self_service_notifications ss_data
    end
Call this during initialization of
 objects that have a self_service subset
 and the self_service attributes will be populated
 (as primary attributes) from @init_data

 @return [void]