DBFILEPROPERTIESTemplateFilterBase
Objective-C
@interface DBFILEPROPERTIESTemplateFilterBase
    : NSObject <DBSerializable, NSCopying>
                Swift
class DBFILEPROPERTIESTemplateFilterBase : NSObject, DBSerializable, NSCopying
                The TemplateFilterBase union.
This class implements the DBSerializable protocol (serialize and
deserialize instance methods), which is required for all Obj-C SDK API route
objects.
- 
                  
                  
Represents the union’s current tag state.
Declaration
Objective-C
@property (nonatomic, readonly) DBFILEPROPERTIESTemplateFilterBaseTag tag;Swift
var tag: DBFILEPROPERTIESTemplateFilterBaseTag { get } - 
                  
                  
Only templates with an ID in the supplied list will be returned (a subset of templates will be returned). - note: Ensure the
isFilterSomemethod returns true before accessing, otherwise a runtime exception will be raised.Declaration
Objective-C
@property (nonatomic, readonly) NSArray<NSString *> *_Nonnull filterSome;Swift
var filterSome: [String] { get } 
- 
                  
                  
Initializes union class with tag state of “filter_some”.
Description of the “filter_some” tag state: Only templates with an ID in the supplied list will be returned (a subset of templates will be returned).
Declaration
Objective-C
- (nonnull instancetype)initWithFilterSome: (nonnull NSArray<NSString *> *)filterSome;Swift
init(filterSome: [String])Parameters
filterSomeOnly templates with an ID in the supplied list will be returned (a subset of templates will be returned).
Return Value
An initialized instance.
 - 
                  
                  
Initializes union class with tag state of “other”.
Declaration
Objective-C
- (nonnull instancetype)initWithOther;Swift
init(other: ())Return Value
An initialized instance.
 
- 
                  
                  
Retrieves whether the union’s current tag state has value “filter_some”.
Note
Call this method and ensure it returns true before accessing the
filterSomeproperty, otherwise a runtime exception will be thrown.Declaration
Objective-C
- (BOOL)isFilterSome;Swift
func isFilterSome() -> BoolReturn Value
Whether the union’s current tag state has value “filter_some”.
 - 
                  
                  
Retrieves whether the union’s current tag state has value “other”.
Declaration
Objective-C
- (BOOL)isOther;Swift
func isOther() -> BoolReturn Value
Whether the union’s current tag state has value “other”.
 - 
                  
                  
Retrieves string value of union’s current tag state.
Declaration
Objective-C
- (nonnull NSString *)tagName;Swift
func tagName() -> StringReturn Value
A human-readable string representing the union’s current tag state.
 
View on GitHub
        DBFILEPROPERTIESTemplateFilterBase Class Reference