class Copyleaks::SharedResultsModel
Attributes
Public Class Methods
Source
# File lib/copyleaks/models/submissions/webhooks/HelperModels/ResultsModels/SharedResultsModel.rb, line 30 def initialize( id: nil, title: nil, introduction: nil, matchedWords: nil, scanId: nil, metadata: nil ) @id = id @title = title @introduction = introduction @matchedWords = matchedWords @scanId = scanId @metadata = metadata end
@param [string] $id - Unique result ID to identify this result. @param [string] $introduction - Document brief introduction. Mostly extracted from the document content. @param [int] $matchedWords - Total matched words between this result and the scanned document. @param [string|null] $scanId - In case a result was found in the Copyleaks
internal database and was submitted by you, this will show the scan id of the specific result. Otherwise, this field will remain empty. @param [Metadata] $metadata - Metadata
object. @param [string] $title - Document title. Mostly extracted from the document content.