SFChildrenInfo Class Reference

Inherits from SFParentInfo : NSObject
Declared in SFChildrenInfo.h

Overview

Simple object to capture details of children in parent-child relationship

  sobjectTypePlural

@property (nonatomic, readonly) NSString *sobjectTypePlural

  parentIdFieldName

@property (nonatomic, readonly) NSString *parentIdFieldName

+ newWithSObjectType:sobjectTypePlural:soupName:parentIdFieldName:

Factory methods

+ (SFChildrenInfo *)newWithSObjectType:(NSString *)sobjectType sobjectTypePlural:(NSString *)sobjectTypePlural soupName:(NSString *)soupName parentIdFieldName:(NSString *)parentIdFieldName

Declared In

SFChildrenInfo.h

+ newWithSObjectType:sobjectTypePlural:soupName:parentIdFieldName:idFieldName:modificationDateFieldName:

+ (SFChildrenInfo *)newWithSObjectType:(NSString *)sobjectType sobjectTypePlural:(NSString *)sobjectTypePlural soupName:(NSString *)soupName parentIdFieldName:(NSString *)parentIdFieldName idFieldName:(NSString *)idFieldName modificationDateFieldName:(NSString *)modificationDateFieldName

+ newWithSObjectType:sobjectTypePlural:soupName:parentIdFieldName:idFieldName:modificationDateFieldName:externalIdFieldName:

+ (SFChildrenInfo *)newWithSObjectType:(NSString *)sobjectType sobjectTypePlural:(NSString *)sobjectTypePlural soupName:(NSString *)soupName parentIdFieldName:(NSString *)parentIdFieldName idFieldName:(NSString *)idFieldName modificationDateFieldName:(NSString *)modificationDateFieldName externalIdFieldName:(NSString *__nullable)externalIdFieldName

+ newFromDict:

+ (SFChildrenInfo *)newFromDict:(NSDictionary *)dict

– asDict

Method to translate to dictionary

- (NSDictionary *)asDict

Declared In

SFChildrenInfo.h