Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the JsonDateFormat class.
 /// </summary>
 /// <param name="availableLocales">An array of available
 /// locales.</param>
 /// <param name="lenient">Determines the leniency of the date
 /// format.</param>
 public JsonDateFormat(IList <string> availableLocales = default(IList <string>), double?calendar = default(double?), JsonDateFormat dateInstance = default(JsonDateFormat), JsonDateFormat dateTimeInstance = default(JsonDateFormat), JsonDateFormat instance = default(JsonDateFormat), bool?lenient = default(bool?), JsonNumberFormat numberFormat = default(JsonNumberFormat), JsonDateFormat timeInstance = default(JsonDateFormat), JsonTimeZone timeZone = default(JsonTimeZone))
 {
     AvailableLocales = availableLocales;
     Calendar         = calendar;
     DateInstance     = dateInstance;
     DateTimeInstance = dateTimeInstance;
     Instance         = instance;
     Lenient          = lenient;
     NumberFormat     = numberFormat;
     TimeInstance     = timeInstance;
     TimeZone         = timeZone;
     CustomInit();
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the JsonAtlasBaseTypeDef class.
 /// </summary>
 /// <param name="category">Possible values include: 'PRIMITIVE',
 /// 'OBJECT_ID_TYPE', 'ENUM', 'STRUCT', 'CLASSIFICATION', 'ENTITY',
 /// 'ARRAY', 'MAP', 'RELATIONSHIP'</param>
 /// <param name="createTime">The created time of the record.</param>
 /// <param name="createdBy">The user who created the record.</param>
 /// <param name="description">The description of the type
 /// definition.</param>
 /// <param name="guid">The GUID of the type definition.</param>
 /// <param name="name">The name of the type definition.</param>
 /// <param name="options">The options for the type definition.</param>
 /// <param name="typeVersion">The version of the type.</param>
 /// <param name="updateTime">The update time of the record.</param>
 /// <param name="updatedBy">The user who updated the record.</param>
 /// <param name="version">The version of the record.</param>
 public JsonAtlasBaseTypeDef(string category = default(string), double?createTime = default(double?), string createdBy = default(string), JsonDateFormat dateFormatter = default(JsonDateFormat), string description = default(string), string guid = default(string), string name = default(string), IDictionary <string, string> options = default(IDictionary <string, string>), string typeVersion = default(string), double?updateTime = default(double?), string updatedBy = default(string), double?version = default(double?))
 {
     Category      = category;
     CreateTime    = createTime;
     CreatedBy     = createdBy;
     DateFormatter = dateFormatter;
     Description   = description;
     Guid          = guid;
     Name          = name;
     Options       = options;
     TypeVersion   = typeVersion;
     UpdateTime    = updateTime;
     UpdatedBy     = updatedBy;
     Version       = version;
     CustomInit();
 }
Exemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the JsonAtlasEntityDef class.
 /// </summary>
 /// <param name="category">Possible values include: 'PRIMITIVE',
 /// 'OBJECT_ID_TYPE', 'ENUM', 'STRUCT', 'CLASSIFICATION', 'ENTITY',
 /// 'ARRAY', 'MAP', 'RELATIONSHIP'</param>
 /// <param name="createTime">The created time of the record.</param>
 /// <param name="createdBy">The user who created the record.</param>
 /// <param name="description">The description of the type
 /// definition.</param>
 /// <param name="guid">The GUID of the type definition.</param>
 /// <param name="name">The name of the type definition.</param>
 /// <param name="options">The options for the type definition.</param>
 /// <param name="typeVersion">The version of the type.</param>
 /// <param name="updateTime">The update time of the record.</param>
 /// <param name="updatedBy">The user who updated the record.</param>
 /// <param name="version">The version of the record.</param>
 /// <param name="attributeDefs">An array of attribute
 /// definitions.</param>
 /// <param name="subTypes">An array of sub types.</param>
 /// <param name="superTypes">An array of super types.</param>
 public JsonAtlasEntityDef(string category = default(string), double?createTime = default(double?), string createdBy = default(string), JsonDateFormat dateFormatter = default(JsonDateFormat), string description = default(string), string guid = default(string), string name = default(string), IDictionary <string, string> options = default(IDictionary <string, string>), string typeVersion = default(string), double?updateTime = default(double?), string updatedBy = default(string), double?version = default(double?), IList <JsonAtlasAttributeDef> attributeDefs = default(IList <JsonAtlasAttributeDef>), IList <string> subTypes = default(IList <string>), IList <string> superTypes = default(IList <string>))
     : base(category, createTime, createdBy, dateFormatter, description, guid, name, options, typeVersion, updateTime, updatedBy, version, attributeDefs)
 {
     SubTypes   = subTypes;
     SuperTypes = superTypes;
     CustomInit();
 }
Exemplo n.º 4
0
 /// <summary>
 /// Initializes a new instance of the JsonAtlasEnumDef class.
 /// </summary>
 /// <param name="category">Possible values include: 'PRIMITIVE',
 /// 'OBJECT_ID_TYPE', 'ENUM', 'STRUCT', 'CLASSIFICATION', 'ENTITY',
 /// 'ARRAY', 'MAP', 'RELATIONSHIP'</param>
 /// <param name="createTime">The created time of the record.</param>
 /// <param name="createdBy">The user who created the record.</param>
 /// <param name="description">The description of the type
 /// definition.</param>
 /// <param name="guid">The GUID of the type definition.</param>
 /// <param name="name">The name of the type definition.</param>
 /// <param name="options">The options for the type definition.</param>
 /// <param name="typeVersion">The version of the type.</param>
 /// <param name="updateTime">The update time of the record.</param>
 /// <param name="updatedBy">The user who updated the record.</param>
 /// <param name="version">The version of the record.</param>
 /// <param name="defaultValue">The default value.</param>
 /// <param name="elementDefs">An array of enum element
 /// definitions.</param>
 public JsonAtlasEnumDef(string category = default(string), double?createTime = default(double?), string createdBy = default(string), JsonDateFormat dateFormatter = default(JsonDateFormat), string description = default(string), string guid = default(string), string name = default(string), IDictionary <string, string> options = default(IDictionary <string, string>), string typeVersion = default(string), double?updateTime = default(double?), string updatedBy = default(string), double?version = default(double?), string defaultValue = default(string), IList <JsonAtlasEnumElementDef> elementDefs = default(IList <JsonAtlasEnumElementDef>))
     : base(category, createTime, createdBy, dateFormatter, description, guid, name, options, typeVersion, updateTime, updatedBy, version)
 {
     DefaultValue = defaultValue;
     ElementDefs  = elementDefs;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the JsonAtlasRelationshipDef class.
 /// </summary>
 /// <param name="category">Possible values include: 'PRIMITIVE',
 /// 'OBJECT_ID_TYPE', 'ENUM', 'STRUCT', 'CLASSIFICATION', 'ENTITY',
 /// 'ARRAY', 'MAP', 'RELATIONSHIP'</param>
 /// <param name="createTime">The created time of the record.</param>
 /// <param name="createdBy">The user who created the record.</param>
 /// <param name="description">The description of the type
 /// definition.</param>
 /// <param name="guid">The GUID of the type definition.</param>
 /// <param name="name">The name of the type definition.</param>
 /// <param name="options">The options for the type definition.</param>
 /// <param name="typeVersion">The version of the type.</param>
 /// <param name="updateTime">The update time of the record.</param>
 /// <param name="updatedBy">The user who updated the record.</param>
 /// <param name="version">The version of the record.</param>
 /// <param name="attributeDefs">An array of attribute
 /// definitions.</param>
 /// <param name="propagateTags">Possible values include: 'NONE',
 /// 'ONE_TO_TWO', 'TWO_TO_ONE', 'BOTH'</param>
 /// <param name="relationshipCategory">Possible values include:
 /// 'ASSOCIATION', 'AGGREGATION', 'COMPOSITION'</param>
 /// <param name="relationshipLabel">The label of the
 /// relationship.</param>
 public JsonAtlasRelationshipDef(string category = default(string), double?createTime = default(double?), string createdBy = default(string), JsonDateFormat dateFormatter = default(JsonDateFormat), string description = default(string), string guid = default(string), string name = default(string), IDictionary <string, string> options = default(IDictionary <string, string>), string typeVersion = default(string), double?updateTime = default(double?), string updatedBy = default(string), double?version = default(double?), IList <JsonAtlasAttributeDef> attributeDefs = default(IList <JsonAtlasAttributeDef>), JsonAtlasRelationshipEndDef endDef1 = default(JsonAtlasRelationshipEndDef), JsonAtlasRelationshipEndDef endDef2 = default(JsonAtlasRelationshipEndDef), string propagateTags = default(string), string relationshipCategory = default(string), string relationshipLabel = default(string))
     : base(category, createTime, createdBy, dateFormatter, description, guid, name, options, typeVersion, updateTime, updatedBy, version, attributeDefs)
 {
     EndDef1              = endDef1;
     EndDef2              = endDef2;
     PropagateTags        = propagateTags;
     RelationshipCategory = relationshipCategory;
     RelationshipLabel    = relationshipLabel;
     CustomInit();
 }