Diffusion Apple API
5.9.24
Unified Client Library for iOS, OS X and tvOS
|
A record content schema describes a data item that can represent a collection of records.
A record content schema object is immutable.
Properties | |
NSString * | name |
NSArray < PTDiffusionRecordMetadata * > * | recordMetadata |
Instance Methods | |
(instancetype) | - initWithRecordMetadata: |
(BOOL) | - isEqualToRecordContentSchema: |
- (instancetype) initWithRecordMetadata: | (NSArray< PTDiffusionRecordMetadata * > *) | recordMetadata |
Returns a record content schema object initialized with the given record metadata array.
recordMetadata | The record metadata defining what records are expected as well as what order they should appear in. This array may not be empty. |
NSInvalidArgumentException | If any of the given record metadata is nil or empty. |
- (BOOL) isEqualToRecordContentSchema: | (nullable PTDiffusionRecordContentSchema *) | recordContentSchema |
Compares the receiver to the given record content schema.
recordContentSchema | The record content schema object with which to compare the receiver. |
YES
if the record content schema is equal to the receiver, otherwise NO
.
|
readnonatomiccopy |
The name to give to schema.
|
readnonatomiccopy |
The record metadata used to transform records using the receiver. This array may not be empty.