Пример #1
0
 /// <summary>
 /// Initializes a new instance of the JsonEntityPartialUpdateRequestV2
 /// class.
 /// </summary>
 /// <param name="type">The type of the notification. Different behavior
 /// will be invoked by the value. Possible values include:
 /// 'TYPE_CREATE', 'TYPE_UPDATE', 'ENTITY_CREATE',
 /// 'ENTITY_PARTIAL_UPDATE', 'ENTITY_FULL_UPDATE', 'ENTITY_DELETE',
 /// 'ENTITY_CREATE_V2', 'ENTITY_PARTIAL_UPDATE_V2',
 /// 'ENTITY_FULL_UPDATE_V2', 'ENTITY_DELETE_V2'</param>
 /// <param name="user">The user of the notification. Default to be
 /// "UNKNOWN".</param>
 public JsonEntityPartialUpdateRequestV2(string type = default(string), string user = default(string), JsonAtlasObjectId entityId = default(JsonAtlasObjectId), JsonAtlasEntitiesWithExtInfo entity = default(JsonAtlasEntitiesWithExtInfo))
 {
     Type     = type;
     User     = user;
     EntityId = entityId;
     Entity   = entity;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the JsonAtlasRelationship class.
 /// </summary>
 /// <param name="attributes">The attributes of the struct.</param>
 /// <param name="typeName">The name of the type.</param>
 /// <param name="blockedPropagatedClassifications">An array of blocked
 /// propagated classifications.</param>
 /// <param name="createTime">The created time of the record.</param>
 /// <param name="createdBy">The user who created the record.</param>
 /// <param name="guid">The GUID of the relationship.</param>
 /// <param name="homeId">The home ID of the relationship.</param>
 /// <param name="label">The label of the relationship.</param>
 /// <param name="propagateTags">Possible values include: 'NONE',
 /// 'ONE_TO_TWO', 'TWO_TO_ONE', 'BOTH'</param>
 /// <param name="propagatedClassifications">An array of propagated
 /// classifications.</param>
 /// <param name="status">Possible values include: 'ACTIVE',
 /// 'DELETED'</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 relationship.</param>
 public JsonAtlasRelationship(IDictionary <string, object> attributes = default(IDictionary <string, object>), string typeName = default(string), IList <JsonAtlasClassification> blockedPropagatedClassifications = default(IList <JsonAtlasClassification>), double?createTime = default(double?), string createdBy = default(string), JsonAtlasObjectId end1 = default(JsonAtlasObjectId), JsonAtlasObjectId end2 = default(JsonAtlasObjectId), string guid = default(string), string homeId = default(string), string label = default(string), string propagateTags = default(string), IList <JsonAtlasClassification> propagatedClassifications = default(IList <JsonAtlasClassification>), string status = default(string), double?updateTime = default(double?), string updatedBy = default(string), double?version = default(double?))
     : base(attributes, typeName)
 {
     BlockedPropagatedClassifications = blockedPropagatedClassifications;
     CreateTime                = createTime;
     CreatedBy                 = createdBy;
     End1                      = end1;
     End2                      = end2;
     Guid                      = guid;
     HomeId                    = homeId;
     Label                     = label;
     PropagateTags             = propagateTags;
     PropagatedClassifications = propagatedClassifications;
     Status                    = status;
     UpdateTime                = updateTime;
     UpdatedBy                 = updatedBy;
     Version                   = version;
     CustomInit();
 }