/// <summary>
 /// Initializes a new instance of the <see cref="GetCharactersCharacterIdBookmarksTarget" /> class.
 /// </summary>
 /// <param name="Coordinates">Coordinates.</param>
 /// <param name="Item">Item.</param>
 /// <param name="LocationId">location_id integer (required).</param>
 public GetCharactersCharacterIdBookmarksTarget(GetCharactersCharacterIdBookmarksCoordinates Coordinates = default(GetCharactersCharacterIdBookmarksCoordinates), GetCharactersCharacterIdBookmarksItem Item = default(GetCharactersCharacterIdBookmarksItem), long?LocationId = default(long?))
 {
     // to ensure "LocationId" is required (not null)
     if (LocationId == null)
     {
         throw new InvalidDataException("LocationId is a required property for GetCharactersCharacterIdBookmarksTarget and cannot be null");
     }
     else
     {
         this.LocationId = LocationId;
     }
     this.Coordinates = Coordinates;
     this.Item        = Item;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="GetCharactersCharacterIdBookmarks200Ok" /> class.
 /// </summary>
 /// <param name="bookmarkId">bookmark_id integer (required).</param>
 /// <param name="folderId">folder_id integer.</param>
 /// <param name="created">created string (required).</param>
 /// <param name="label">label string (required).</param>
 /// <param name="notes">notes string (required).</param>
 /// <param name="locationId">location_id integer (required).</param>
 /// <param name="creatorId">creator_id integer (required).</param>
 /// <param name="item">item.</param>
 /// <param name="coordinates">coordinates.</param>
 public GetCharactersCharacterIdBookmarks200Ok(int?bookmarkId = default(int?), int?folderId = default(int?), DateTime?created = default(DateTime?), string label = default(string), string notes = default(string), int?locationId = default(int?), int?creatorId = default(int?), GetCharactersCharacterIdBookmarksItem item = default(GetCharactersCharacterIdBookmarksItem), GetCharactersCharacterIdBookmarksCoordinates coordinates = default(GetCharactersCharacterIdBookmarksCoordinates))
 {
     // to ensure "bookmarkId" is required (not null)
     if (bookmarkId == null)
     {
         throw new InvalidDataException("bookmarkId is a required property for GetCharactersCharacterIdBookmarks200Ok and cannot be null");
     }
     else
     {
         this.BookmarkId = bookmarkId;
     }
     // to ensure "created" is required (not null)
     if (created == null)
     {
         throw new InvalidDataException("created is a required property for GetCharactersCharacterIdBookmarks200Ok and cannot be null");
     }
     else
     {
         this.Created = created;
     }
     // to ensure "label" is required (not null)
     if (label == null)
     {
         throw new InvalidDataException("label is a required property for GetCharactersCharacterIdBookmarks200Ok and cannot be null");
     }
     else
     {
         this.Label = label;
     }
     // to ensure "notes" is required (not null)
     if (notes == null)
     {
         throw new InvalidDataException("notes is a required property for GetCharactersCharacterIdBookmarks200Ok and cannot be null");
     }
     else
     {
         this.Notes = notes;
     }
     // to ensure "locationId" is required (not null)
     if (locationId == null)
     {
         throw new InvalidDataException("locationId is a required property for GetCharactersCharacterIdBookmarks200Ok and cannot be null");
     }
     else
     {
         this.LocationId = locationId;
     }
     // to ensure "creatorId" is required (not null)
     if (creatorId == null)
     {
         throw new InvalidDataException("creatorId is a required property for GetCharactersCharacterIdBookmarks200Ok and cannot be null");
     }
     else
     {
         this.CreatorId = creatorId;
     }
     this.FolderId    = folderId;
     this.Item        = item;
     this.Coordinates = coordinates;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="GetCharactersCharacterIdBookmarks200Ok" /> class.
 /// </summary>
 /// <param name="BookmarkId">bookmark_id integer (required).</param>
 /// <param name="Coordinates">Coordinates.</param>
 /// <param name="Created">created string (required).</param>
 /// <param name="CreatorId">creator_id integer (required).</param>
 /// <param name="FolderId">folder_id integer.</param>
 /// <param name="Item">Item.</param>
 /// <param name="Label">label string (required).</param>
 /// <param name="LocationId">location_id integer (required).</param>
 /// <param name="Notes">notes string (required).</param>
 public GetCharactersCharacterIdBookmarks200Ok(int?BookmarkId = default(int?), GetCharactersCharacterIdBookmarksCoordinates Coordinates = default(GetCharactersCharacterIdBookmarksCoordinates), DateTime?Created = default(DateTime?), int?CreatorId = default(int?), int?FolderId = default(int?), GetCharactersCharacterIdBookmarksItem Item = default(GetCharactersCharacterIdBookmarksItem), string Label = default(string), int?LocationId = default(int?), string Notes = default(string))
 {
     // to ensure "BookmarkId" is required (not null)
     if (BookmarkId == null)
     {
         throw new InvalidDataException("BookmarkId is a required property for GetCharactersCharacterIdBookmarks200Ok and cannot be null");
     }
     else
     {
         this.BookmarkId = BookmarkId;
     }
     // to ensure "Created" is required (not null)
     if (Created == null)
     {
         throw new InvalidDataException("Created is a required property for GetCharactersCharacterIdBookmarks200Ok and cannot be null");
     }
     else
     {
         this.Created = Created;
     }
     // to ensure "CreatorId" is required (not null)
     if (CreatorId == null)
     {
         throw new InvalidDataException("CreatorId is a required property for GetCharactersCharacterIdBookmarks200Ok and cannot be null");
     }
     else
     {
         this.CreatorId = CreatorId;
     }
     // to ensure "Label" is required (not null)
     if (Label == null)
     {
         throw new InvalidDataException("Label is a required property for GetCharactersCharacterIdBookmarks200Ok and cannot be null");
     }
     else
     {
         this.Label = Label;
     }
     // to ensure "LocationId" is required (not null)
     if (LocationId == null)
     {
         throw new InvalidDataException("LocationId is a required property for GetCharactersCharacterIdBookmarks200Ok and cannot be null");
     }
     else
     {
         this.LocationId = LocationId;
     }
     // to ensure "Notes" is required (not null)
     if (Notes == null)
     {
         throw new InvalidDataException("Notes is a required property for GetCharactersCharacterIdBookmarks200Ok and cannot be null");
     }
     else
     {
         this.Notes = Notes;
     }
     this.Coordinates = Coordinates;
     this.FolderId    = FolderId;
     this.Item        = Item;
 }