//
//  LoxilyTranslationSuggestion.h
//  iLocalizeSDK
//
//  Community translation suggestion item for headless submission.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface LoxilyTranslationSuggestion : NSObject

@property (nonatomic, copy) NSString *stringId;
@property (nonatomic, assign) NSInteger rating;
@property (nonatomic, copy, nullable) NSString *suggestedTranslation;
@property (nonatomic, copy, nullable) NSString *currentTranslation;

+ (instancetype)suggestionWithStringId:(NSString *)stringId
                                rating:(NSInteger)rating
                  suggestedTranslation:(nullable NSString *)suggestedTranslation;

+ (instancetype)suggestionWithStringId:(NSString *)stringId
                                rating:(NSInteger)rating
                  suggestedTranslation:(nullable NSString *)suggestedTranslation
                    currentTranslation:(nullable NSString *)currentTranslation;

@end

NS_ASSUME_NONNULL_END
