SFParentInfo Class Reference

Inherits from NSObject
Declared in SFParentInfo.h

Overview

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

  sobjectType

@property (nonatomic, readonly) NSString *sobjectType

  idFieldName

@property (nonatomic, readonly) NSString *idFieldName

  modificationDateFieldName

@property (nonatomic, readonly) NSString *modificationDateFieldName

  soupName

@property (nonatomic, readonly) NSString *soupName

  externalIdFieldName

@property (nonatomic, readonly) NSString *externalIdFieldName

+ newWithSObjectType:soupName:

Factory methods

+ (SFParentInfo *)newWithSObjectType:(NSString *)sobjectType soupName:(NSString *)soupName

Declared In

SFParentInfo.h

+ newWithSObjectType:soupName:idFieldName:modificationDateFieldName:

+ (SFParentInfo *)newWithSObjectType:(NSString *)sobjectType soupName:(NSString *)soupName idFieldName:(NSString *)idFieldName modificationDateFieldName:(NSString *)modificationDateFieldName

+ newWithSObjectType:soupName:idFieldName:modificationDateFieldName:externalIdFieldName:

+ (SFParentInfo *)newWithSObjectType:(NSString *)sobjectType soupName:(NSString *)soupName idFieldName:(NSString *)idFieldName modificationDateFieldName:(NSString *)modificationDateFieldName externalIdFieldName:(NSString *__nullable)externalIdFieldName

+ newFromDict:

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

– asDict

Method to translate to dictionary

- (NSDictionary *)asDict

Declared In

SFParentInfo.h