SFMetadata Class Reference

Inherits from NSObject
Declared in SFMetadata.h

Overview

Represents the metadata of a Salesforce object.

  activateable

@property (nonatomic, readonly, assign) BOOL activateable

  compactLayoutable

@property (nonatomic, readonly, assign) BOOL compactLayoutable

  createable

@property (nonatomic, readonly, assign) BOOL createable

  custom

@property (nonatomic, readonly, assign) BOOL custom

  customSetting

@property (nonatomic, readonly, assign) BOOL customSetting

  deletable

@property (nonatomic, readonly, assign) BOOL deletable

  deprecatedAndHidden

@property (nonatomic, readonly, assign) BOOL deprecatedAndHidden

  feedEnabled

@property (nonatomic, readonly, assign) BOOL feedEnabled

  childRelationships

@property (nonatomic, strong, readonly, nullable) NSArray<NSDictionary*> *childRelationships

  hasSubtypes

@property (nonatomic, readonly, assign) BOOL hasSubtypes

  isSubtype

@property (nonatomic, readonly, assign) BOOL isSubtype

  keyPrefix

@property (nonatomic, strong, readonly, nonnull) NSString *keyPrefix

  label

@property (nonatomic, strong, readonly, nullable) NSString *label

  labelPlural

@property (nonatomic, strong, readonly, nullable) NSString *labelPlural

  layoutable

@property (nonatomic, readonly, assign) BOOL layoutable

  mergeable

@property (nonatomic, readonly, assign) BOOL mergeable

  mruEnabled

@property (nonatomic, readonly, assign) BOOL mruEnabled

  name

@property (nonatomic, strong, readonly, nonnull) NSString *name

  fields

@property (nonatomic, strong, readonly, nullable) NSArray<NSDictionary*> *fields

  networkScopeFieldName

@property (nonatomic, strong, readonly, nullable) NSString *networkScopeFieldName

  queryable

@property (nonatomic, readonly, assign) BOOL queryable

  replicateable

@property (nonatomic, readonly, assign) BOOL replicateable

  retrieveable

@property (nonatomic, readonly, assign) BOOL retrieveable

  searchLayoutable

@property (nonatomic, readonly, assign) BOOL searchLayoutable

  searchable

@property (nonatomic, readonly, assign) BOOL searchable

  triggerable

@property (nonatomic, readonly, assign) BOOL triggerable

  undeletable

@property (nonatomic, readonly, assign) BOOL undeletable

  updateable

@property (nonatomic, readonly, assign) BOOL updateable

  urls

@property (nonatomic, strong, readonly, nonnull) NSDictionary *urls

  rawData

@property (nonatomic, strong, readonly, nonnull) NSDictionary *rawData

+ fromJSON:

Creates an instance of this class from its JSON representation.

+ (nonnull instancetype)fromJSON:(nonnull NSDictionary *)data

Parameters

data

JSON data.

Return Value

Instance of this class.

Declared In

SFMetadata.h