SourceOptionsObject

public struct SourceOptionsObject : Codable, Equatable

Object that defines a Salesforce document object type crawl with this configuration.

  • The name of the Salesforce document object to crawl. For example, case.

    Declaration

    Swift

    public var name: String
  • The maximum number of documents to crawl for this document object. By default, all documents in the document object are crawled.

    Declaration

    Swift

    public var limit: Int?
  • Initialize a SourceOptionsObject with member variables.

    Declaration

    Swift

    public init(
        name: String,
        limit: Int? = nil
    )

    Parameters

    name

    The name of the Salesforce document object to crawl. For example, case.

    limit

    The maximum number of documents to crawl for this document object. By default, all documents in the document object are crawled.

    Return Value

    An initialized SourceOptionsObject.