Class JobTemplate
Represents a job template.
[Serializable]
[JsonObject(MemberSerialization.OptIn)]
public class JobTemplate : CustomDataType, DataType, IManagerIdentifiableObject<JobTemplateID>, ITrackLastModified
- Inheritance
-
JobTemplate
- Implements
-
IManagerIdentifiableObject<JobTemplateID>
- Extension Methods
Remarks
An existing job can be saved as a job template. This job template can then be applied on other jobs.
This is done using the ApplyTo(Job) method. This will override all the existing data in the specified job with the data from the template.
Feature introduced in DataMiner 9.6.6 (RN 21380).
Constructors
- JobTemplate()
Initializes a new instance of the JobTemplate class.
Properties
- ID
Gets or sets the job template ID.
- Name
Gets or sets the job template name.
- TemplateData
Gets or sets the job template data.
Methods
- Clone()
Creates a new object that is a copy of the current instance.
- Equals(JobTemplate)
Indicates whether the current object is equal to another object of the same type.
- Equals(object)
Determines whether the specified object is equal to the current object.
- FromJson(string)
Deserializes the specified JSON string into a new instance of this class.
- GetHashCode()
Calculates the hash code for this object.
- ToFilter<T>()
Converts this job template to an ID-based filter of the specified type.
- ToJson()
Retrieves the JSON representation of this object.
- ToString()
Returns a string that represents the current object.