/// <summary> /// Initializes a new instance of the <see cref="StoreSharesLinks" /> class. /// </summary> /// <param name="Share">Share (required).</param> public StoreSharesLinks(LinksShareLink Share = default(LinksShareLink)) { // to ensure "Share" is required (not null) if (Share == null) { throw new InvalidDataException("Share is a required property for StoreSharesLinks and cannot be null"); } else { this.Share = Share; } }
/// <summary> /// Initializes a new instance of the <see cref="StoreHeaderLinks" /> class. /// </summary> /// <param name="Self">Self.</param> /// <param name="DeleteStore">DeleteStore.</param> /// <param name="UpdateStore">UpdateStore.</param> /// <param name="GetShares">GetShares.</param> /// <param name="Share">Share.</param> public StoreHeaderLinks(LinksGetStoreLink Self = default(LinksGetStoreLink), LinksDeleteStoreLink DeleteStore = default(LinksDeleteStoreLink), LinksUpdateStoreLink UpdateStore = default(LinksUpdateStoreLink), LinksGetSharesLink GetShares = default(LinksGetSharesLink), LinksShareLink Share = default(LinksShareLink)) { this.Self = Self; this.DeleteStore = DeleteStore; this.UpdateStore = UpdateStore; this.GetShares = GetShares; this.Share = Share; }