Difference between revisions of "BulkSMSHistory class"
(Created page with " {{CGscriptClass_Template |Name=<nowiki>BulkSMSHistory</nowiki> |Description=<nowiki>A history item on a bulkSMS send.</nowiki> |Methods= {{CGscriptMethods_Template|ReturnType...") |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | |||
{{CGscriptClass_Template | {{CGscriptClass_Template | ||
|Name=<nowiki>BulkSMSHistory</nowiki> | |Name=<nowiki>BulkSMSHistory</nowiki> | ||
|Description=<nowiki>A history item on a bulkSMS send.</nowiki> | |Description=<nowiki>A history item on a bulkSMS send.</nowiki> | ||
− | |Methods= | + | |InheritsFrom=object|Methods= |
− | {{CGscriptMethods_Template|ReturnType=string|Name=<nowiki>ToString</nowiki>|Description=<nowiki>The string representation of the object.</nowiki>}} | + | {{CGscriptMethods_Template|ReturnType=string|Name=<nowiki>ToString</nowiki>|Inherited=object|Description=<nowiki>The string representation of the object.</nowiki>}} |
|Properties= | |Properties= | ||
{{CGscriptProperties_Template|ReturnType=int|Name=<nowiki>Id</nowiki>|HasGetter=1|Description=<nowiki>Id of the history</nowiki>}} | {{CGscriptProperties_Template|ReturnType=int|Name=<nowiki>Id</nowiki>|HasGetter=1|Description=<nowiki>Id of the history</nowiki>}} | ||
Line 10: | Line 9: | ||
{{CGscriptProperties_Template|ReturnType=string|Name=<nowiki>ObjectTypeName</nowiki>|HasGetter=1|Description=<nowiki>The name of the type of object.</nowiki>}} | {{CGscriptProperties_Template|ReturnType=string|Name=<nowiki>ObjectTypeName</nowiki>|HasGetter=1|Description=<nowiki>The name of the type of object.</nowiki>}} | ||
{{CGscriptProperties_Template|ReturnType=DateTime|Name=<nowiki>SentDate</nowiki>|HasGetter=1|Description=<nowiki>Date of the sending</nowiki>}} | {{CGscriptProperties_Template|ReturnType=DateTime|Name=<nowiki>SentDate</nowiki>|HasGetter=1|Description=<nowiki>Date of the sending</nowiki>}} | ||
− | {{CGscriptProperties_Template|ReturnType=TypeInformation|Name=<nowiki>TypeInformation</nowiki>|HasGetter=1|Description=<nowiki>Get information about this class.</nowiki>}} | + | {{CGscriptProperties_Template|ReturnType=TypeInformation|Name=<nowiki>TypeInformation</nowiki>|HasGetter=1|Inherited=object|Description=<nowiki>Get information about this class.</nowiki>}} |
}} | }} | ||
+ | |||
===Examples=== | ===Examples=== | ||
<source lang="javascript"> | <source lang="javascript"> |
Latest revision as of 07:39, 2 July 2020
BulkSMSHistory
A history item on a bulkSMS send.
Parent class
Inherits from object
Methods
- (From object) string ToString() - The string representation of the object.
Properties
- int Id { get; } - Id of the history
- int NumberOfSent { get; } - How many emails where generated at that time
- string ObjectTypeName { get; } - The name of the type of object.
- DateTime SentDate { get; } - Date of the sending
- (From object) TypeInformation TypeInformation { get; } - Get information about this class.
Examples
array bulk=BulkSms_getHistory(15525967);
for(number i=0;i<bulk.Count;i++){
print(bulk[i].NumberOfSent);
print(bulk[i].SentDate);
print(bulk[i].Id);