예제 #1
0
 def verified_at(self) -> datetime:
     """datetime: When the subscription was verified. ``None`` if not verified"""
     return utils.to_datetime(self.get('verified_at'))
예제 #2
0
 def scheduled_at(self) -> datetime:
     """datetime: When the event is schedule for"""
     return utils.to_datetime(self.get('scheduled_at'))
예제 #3
0
 def completed_at(self) -> Optional[datetime]:
     """datetime: When the event is completed"""
     return utils.to_datetime(self.get("completed_at"))
예제 #4
0
 def updated_at(self) -> datetime:
     """datetime: Last time the subscription was updated"""
     return utils.to_datetime(self.get('updated_at'))
예제 #5
0
 def scheduled_at(self) -> datetime:
     return utils.to_datetime(self.get('scheduled_at'))
예제 #6
0
 def created_at(self) -> datetime:
     """datetime: When the metric point was created"""
     return utils.to_datetime(self.get('created_at'))
예제 #7
0
 def created_at(self) -> datetime:
     """datetime: when the resource was created"""
     return utils.to_datetime(self.get('created_at'))
예제 #8
0
 def created_at(self) -> datetime:
     """datetime: When the issue was created"""
     return utils.to_datetime(self.get('created_at'))
예제 #9
0
 def occurred_at(self) -> Optional[datetime]:
     """datetime: When the issue was occurred"""
     return utils.to_datetime(self.get("occurred_at"))
예제 #10
0
 def verified_at(self) -> Optional[datetime]:
     """datetime: When the subscription was verified. ``None`` if not verified"""
     return utils.to_datetime(self.get("verified_at"))
예제 #11
0
 def deleted_at(self) -> Optional[datetime]:
     """datetime: When the issue was deleted"""
     return utils.to_datetime(self.get("deleted_at"))
예제 #12
0
 def updated_at(self) -> Optional[datetime]:
     """datetime: When the resource as last updated"""
     return utils.to_datetime(self.get("updated_at"))
예제 #13
0
 def created_at(self) -> Optional[datetime]:
     """datetime: when the resource was created"""
     return utils.to_datetime(self.get("created_at"))
예제 #14
0
 def completed_at(self) -> datetime:
     """datetime: When the event is completed"""
     return utils.to_datetime(self.get('completed_at'))
예제 #15
0
 def updated_at(self) -> datetime:
     """datetime: When the resource as last updated"""
     return utils.to_datetime(self.get('updated_at'))
예제 #16
0
 def scheduled_at(self) -> datetime:
     """datetime: Scheduled time. This is used for scheduled events
     like maintenance in Cachet 2.3 were incident status is ``INCIDENT_SCHEDULED``.
     2.4 has its own schedule resource and endpoints.
     """
     return utils.to_datetime(self.get('scheduled_at'))
예제 #17
0
 def created_at(self) -> Optional[datetime]:
     """datetime: When the group was created"""
     return utils.to_datetime(self.get("created_at"))
예제 #18
0
 def deleted_at(self) -> datetime:
     """datetime: When the issue was deleted"""
     return utils.to_datetime(self.get('deleted_at'))
예제 #19
0
 def updated_at(self) -> Optional[datetime]:
     """datetime: Last time updated"""
     return utils.to_datetime(self.get("updated_at"))
예제 #20
0
 def completed_at(self) -> datetime:
     return utils.to_datetime(self.get('completed_at'))
예제 #21
0
 def created_at(self) -> datetime:
     """datetime: When the subscription was created"""
     return utils.to_datetime(self.get('created_at'))
예제 #22
0
 def updated_at(self) -> datetime:
     """datetime: Last time the issue was updated"""
     return utils.to_datetime(self.get('updated_at'))
예제 #23
0
 def scheduled_at(self) -> Optional[datetime]:
     """datetime: When the event is schedule for"""
     return utils.to_datetime(self.get("scheduled_at"))