123456789101112131415161718192021222324252627282930313233 |
- using System;
- using System.Collections.ObjectModel;
- namespace TFABot
- {
- public class clsSSLCerts : ISpreadsheet<clsSSLCerts>
- {
- public clsSSLCerts()
- {
- }
- [ASheetColumnHeader(true,"url")]
- public String URL {get;set;}
- [ASheetColumnHeader("contacts")]
- public String Contacts {get;set;}
-
- public DateTime CertExpiry {get;set;}
-
-
- public void Update(clsSSLCerts user)
- {
- if (URL != user.URL) throw new Exception("index name does not match");
-
- Contacts = user.Contacts;
- }
-
- public String PostPopulate()
- {
- return null;
- }
- }
- }
|