// AUTOGENERATED FILE - DO NOT MODIFY!
// This file generated by Djinni from client_interface.djinni

#import "DBClientReturnedRecord.h"


@implementation DBClientReturnedRecord

- (nonnull instancetype)initWithRecordId:(int64_t)recordId
                                 content:(nonnull NSString *)content
                                    misc:(nullable NSString *)misc
{
    if (self = [super init]) {
        _recordId = recordId;
        _content = [content copy];
        _misc = [misc copy];
    }
    return self;
}

+ (nonnull instancetype)clientReturnedRecordWithRecordId:(int64_t)recordId
                                                 content:(nonnull NSString *)content
                                                    misc:(nullable NSString *)misc
{
    return [[self alloc] initWithRecordId:recordId
                                  content:content
                                     misc:misc];
}

- (NSString *)description
{
    return [NSString stringWithFormat:@"<%@ %p recordId:%@ content:%@ misc:%@>", self.class, (void *)self, @(self.recordId), self.content, self.misc];
}

@end
