OTICDPRecordSilentContext.h   [plain text]


// This file was automatically generated by protocompiler
// DO NOT EDIT!
// Compiled from OTCDPRecoveryInformation.proto

#import <Foundation/Foundation.h>
#import <ProtocolBuffer/PBCodable.h>

@class OTCDPRecoveryInformation;
@class OTEscrowAuthenticationInformation;

#ifdef __cplusplus
#define OTICDPRECORDSILENTCONTEXT_FUNCTION extern "C"
#else
#define OTICDPRECORDSILENTCONTEXT_FUNCTION extern
#endif

@interface OTICDPRecordSilentContext : PBCodable <NSCopying>
{
    OTEscrowAuthenticationInformation *_authInfo;
    OTCDPRecoveryInformation *_cdpInfo;
}


@property (nonatomic, readonly) BOOL hasCdpInfo;
@property (nonatomic, retain) OTCDPRecoveryInformation *cdpInfo;

@property (nonatomic, readonly) BOOL hasAuthInfo;
@property (nonatomic, retain) OTEscrowAuthenticationInformation *authInfo;

// Performs a shallow copy into other
- (void)copyTo:(OTICDPRecordSilentContext *)other;

// Performs a deep merge from other into self
// If set in other, singular values in self are replaced in self
// Singular composite values are recursively merged
// Repeated values from other are appended to repeated values in self
- (void)mergeFrom:(OTICDPRecordSilentContext *)other;

OTICDPRECORDSILENTCONTEXT_FUNCTION BOOL OTICDPRecordSilentContextReadFrom(__unsafe_unretained OTICDPRecordSilentContext *self, __unsafe_unretained PBDataReader *reader);

@end