18 lines
437 B
Swift
18 lines
437 B
Swift
//
|
|
// Copyright Amazon.com Inc. or its affiliates.
|
|
// All Rights Reserved.
|
|
//
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
//
|
|
|
|
/// Results are mapped to IdentifyCelebritiesResult when .detectCelebrity in passed in the type: field
|
|
/// in identify() API
|
|
public struct IdentifyCelebritiesResult: IdentifyResult {
|
|
|
|
public let celebrities: [Celebrity]
|
|
|
|
public init(celebrities: [Celebrity]) {
|
|
self.celebrities = celebrities
|
|
}
|
|
}
|