Class TicketRelationDefinitionEntity
Ticket relation definition entity
Carrier object for TicketRelationDefinitionEntity. Services for the TicketRelationDefinitionEntity Carrier is available from the List Agent.Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
[DataContract(Namespace = "http://www.superoffice.net/ws/crm/NetServer/11.9.0.0")]
public class TicketRelationDefinitionEntity : Carrier
Examples
Get TicketRelationDefinitionEntity 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ListAgent();
var ticketRelationDefinitionEntity = agent.GetTicketRelationDefinitionEntity( 123 );
}
Constructors
TicketRelationDefinitionEntity()
Default constructor
Declaration
public TicketRelationDefinitionEntity()
See Also
Properties
Description
Tooltip or other description
Declaration
[DataMember]
public virtual string Description { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
See Also
DestinationTicketTypes
Destination ticket type(s) for this relation
Declaration
[DataMember]
public virtual int[] DestinationTicketTypes { get; set; }
Property Value
| Type | Description |
|---|---|
| int[] |
See Also
IsBuiltIn
Is this row part of SuperOffice priming data
Declaration
[DataMember]
public virtual bool IsBuiltIn { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
See Also
IsCloseParentWithChild
Close parent when all children are closed
Declaration
[DataMember]
public virtual bool IsCloseParentWithChild { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
See Also
IsCloseWithParent
Offer to close all related when parent is closed
Declaration
[DataMember]
public virtual bool IsCloseWithParent { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
See Also
IsParentMandatory
Parent relation is mandatory when a new request is created
Declaration
[DataMember]
public virtual bool IsParentMandatory { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
See Also
IsPreventClosingParent
Prevent closing parent until all children are closed
Declaration
[DataMember]
public virtual bool IsPreventClosingParent { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
See Also
Name
The name of this Ticket relation
Declaration
[DataMember]
public virtual string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
See Also
Rank
Rank order
Declaration
[DataMember]
public virtual short Rank { get; set; }
Property Value
| Type | Description |
|---|---|
| short |
See Also
RelationType
Type of the relation (Related, Parent, Child)
Declaration
[DataMember]
public virtual TicketRelationType RelationType { get; set; }
Property Value
| Type | Description |
|---|---|
| TicketRelationType |
See Also
SourceTicketTypes
Source ticket type(s) for this relation
Declaration
[DataMember]
public virtual int[] SourceTicketTypes { get; set; }
Property Value
| Type | Description |
|---|---|
| int[] |
See Also
TicketRelationDefId
Primary key
Declaration
[DataMember]
public virtual int TicketRelationDefId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
See Also
Methods
ToString()
Returns the carrier contents as a formatted string.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | The carrier contents. |
See Also
ToString(string)
Returns the carrier contents as a formatted string, useful for debugging. Each line in the output is prefixed with the input value.
Declaration
public string ToString(string prefix)
Parameters
| Type | Name | Description |
|---|---|---|
| string | prefix | The line prefix (typically used for indenting) |
Returns
| Type | Description |
|---|---|
| string | The carrier contents. |