コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the JsonEntityCreateRequestV2 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 JsonEntityCreateRequestV2(string type = default(string), string user = default(string), JsonAtlasEntitiesWithExtInfo entities = default(JsonAtlasEntitiesWithExtInfo))
 {
     Type     = type;
     User     = user;
     Entities = entities;
     CustomInit();
 }
コード例 #2
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();
 }