/// <summary> /// Initializes a new instance of the <see cref="NextContractInfoLinks" /> class. /// </summary> /// <param name="Self">Self (required).</param> /// <param name="Delete">Delete.</param> public NextContractInfoLinks(LinksGetContractsLink Self = default(LinksGetContractsLink), LinksDeleteNextContractLink Delete = default(LinksDeleteNextContractLink)) { // to ensure "Self" is required (not null) if (Self == null) { throw new InvalidDataException("Self is a required property for NextContractInfoLinks and cannot be null"); } else { this.Self = Self; } this.Delete = Delete; }
/// <summary> /// Initializes a new instance of the <see cref="CurrentContractInfoLinks" /> class. /// </summary> /// <param name="Self">Self (required).</param> /// <param name="Disable">Disable.</param> /// <param name="Reenable">Reenable.</param> public CurrentContractInfoLinks(LinksGetContractsLink Self = default(LinksGetContractsLink), LinksTerminateCurrentContractLink Disable = default(LinksTerminateCurrentContractLink), LinksReactivateCurrentContractLink Reenable = default(LinksReactivateCurrentContractLink)) { // to ensure "Self" is required (not null) if (Self == null) { throw new InvalidDataException("Self is a required property for CurrentContractInfoLinks and cannot be null"); } else { this.Self = Self; } this.Disable = Disable; this.Reenable = Reenable; }
/// <summary> /// Initializes a new instance of the <see cref="ContractsLinks" /> class. /// </summary> /// <param name="Self">Self.</param> /// <param name="Create">Create.</param> public ContractsLinks(LinksGetContractsLink Self = default(LinksGetContractsLink), LinksCreateContractLink Create = default(LinksCreateContractLink)) { this.Self = Self; this.Create = Create; }