We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be78d28 commit f469e50Copy full SHA for f469e50
lib/av.js
@@ -4528,6 +4528,30 @@
4528
this._fetchWhenSave = enable;
4529
},
4530
4531
+ /**
4532
+ * Returns the object's objectId.
4533
+ * @return {String} the objectId.
4534
+ */
4535
+ getObjectId: function() {
4536
+ return this.id;
4537
+ },
4538
+
4539
4540
+ * Returns the object's createdAt attribute.
4541
+ * @return {Date}
4542
4543
+ getCreatedAt: function() {
4544
+ return this.createdAt || this.get('createdAt');
4545
4546
4547
4548
+ * Returns the object's updatedAt attribute.
4549
4550
4551
+ getUpdatedAt: function() {
4552
+ return this.updatedAt || this.get('updatedAt');
4553
4554
4555
/**
4556
* Returns a JSON version of the object suitable for saving to AV.
4557
* @return {Object}
0 commit comments