Quanrantine class

From Catglobe Wiki
Revision as of 09:51, 20 May 2016 by Hovietluu (talk | contribs) (Created page with "{{CGscriptClass_Template |Name=Quarantine |Description=A quarantine prohibiting bulkmails and bulksms from being sent to user. |Constructors= {{CGscriptConstructors_Template|P...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Quarantine



A quarantine prohibiting bulkmails and bulksms from being sent to user.

Constructors

  • (number ResourceId "Resource Id of the Quarantine") - Instanciate an existing instance using the resource id of a Quarantine
  • (string name "Resource name", number parentResourceId "Parent resource.") - Instanciate a new instance

Methods

  • Empty Save() - Save the ResourceTemplate resource
  • string ToString() - The string representation of the object.

Properties

  • number Duration { get; set; } - Number of seconds the quarantine is enforced in seconds
  • string Name { get; set; } - Name of the Quarantine resource
  • string ObjectTypeName { get; } - The name of the type of object.
  • number ResourceId { get; } - The Id of the Quarantine
  • TypeInformation TypeInformation { get; } - Get information about this class.