DBFILEPROPERTIESUpdateTemplateArg
Objective-C
@interface DBFILEPROPERTIESUpdateTemplateArg
: NSObject <DBSerializable, NSCopying>
Swift
class DBFILEPROPERTIESUpdateTemplateArg : NSObject, DBSerializable, NSCopying
The UpdateTemplateArg
struct.
This class implements the DBSerializable
protocol (serialize and
deserialize instance methods), which is required for all Obj-C SDK API route
objects.
-
An identifier for template added by See
templatesAddForUser
ortemplatesAddForTeam
.Declaration
Objective-C
@property (nonatomic, copy, readonly) NSString *_Nonnull templateId;
Swift
var templateId: String { get }
-
A display name for the template. template names can be up to 256 bytes.
Declaration
Objective-C
@property (nonatomic, copy, readonly, nullable) NSString *name;
Swift
var name: String? { get }
-
Description for the new template. Template descriptions can be up to 1024 bytes.
Declaration
Objective-C
@property (nonatomic, copy, readonly, nullable) NSString *description_;
Swift
var description_: String? { get }
-
Property field templates to be added to the group template. There can be up to 32 properties in a single template.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSArray<DBFILEPROPERTIESPropertyFieldTemplate *> *addFields;
Swift
var addFields: [DBFILEPROPERTIESPropertyFieldTemplate]? { get }
-
Full constructor for the struct (exposes all instance variables).
Declaration
Objective-C
- (nonnull instancetype) initWithTemplateId:(nonnull NSString *)templateId name:(nullable NSString *)name description_:(nullable NSString *)description_ addFields: (nullable NSArray<DBFILEPROPERTIESPropertyFieldTemplate *> *) addFields;
Swift
init(templateId: String, name: String?, description_: String?, addFields: [DBFILEPROPERTIESPropertyFieldTemplate]?)
Parameters
templateId
An identifier for template added by See
templatesAddForUser
ortemplatesAddForTeam
.name
A display name for the template. template names can be up to 256 bytes.
description_
Description for the new template. Template descriptions can be up to 1024 bytes.
addFields
Property field templates to be added to the group template. There can be up to 32 properties in a single template.
Return Value
An initialized instance.
-
Convenience constructor (exposes only non-nullable instance variables with no default value).
Declaration
Objective-C
- (nonnull instancetype)initWithTemplateId:(nonnull NSString *)templateId;
Swift
init(templateId: String)
Parameters
templateId
An identifier for template added by See
templatesAddForUser
ortemplatesAddForTeam
.Return Value
An initialized instance.