/* Options:
Date: 2025-12-06 06:22:50
Version: 8.0
Tip: To override a DTO option, remove "//" prefix before updating
BaseUrl: https://galaxymobile.api.client.prod.86degrees.com
//GlobalNamespace:
//MakePartial: True
//MakeVirtual: True
//MakeInternal: False
//MakeDataContractsExtensible: False
//AddNullableAnnotations: False
//AddReturnMarker: True
//AddDescriptionAsComments: True
//AddDataContractAttributes: False
//AddIndexesToDataMembers: False
//AddGeneratedCodeAttributes: False
//AddResponseStatus: False
//AddImplicitVersion:
//InitializeCollections: True
//ExportValueTypes: False
IncludeTypes: AddDependent.*
//ExcludeTypes:
//AddNamespaces:
//AddDefaultXmlNamespace: http://schemas.servicestack.net/types
*/
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using WebService.ClientServiceModel.Base;
using CommonService.Api.Operations.Base;
using CommonService.Api.Operations;
using WebService.ClientServiceModel.User;
using CommonService.Api.Models.Base;
namespace CommonService.Api.Models.Base
{
public partial class ApiServiceResponse
: IServiceResponse
{
public virtual string Description { get; set; }
public virtual string Heading { get; set; }
public virtual bool WasSuccessful { get; set; }
public virtual Object ModelState { get; set; }
}
}
namespace CommonService.Api.Operations
{
public partial interface IHasApiKey
{
string ApiKey { get; set; }
}
}
namespace CommonService.Api.Operations.Base
{
public partial interface IServiceRequest
{
}
}
namespace WebService.ClientServiceModel.Base
{
public partial class ApiServiceRequest
: IServiceRequest, IHasApiKey
{
///
///The API Key required for authentication
///
[ApiMember(DataType="string", Description="The API Key required for authentication", IsRequired=true)]
public virtual string ApiKey { get; set; }
}
}
namespace WebService.ClientServiceModel.User
{
[Route("/dependent", "POST")]
public partial class AddDependent
: ApiServiceRequest, IReturn
{
///
///ID Number of the primary user you wish to add a dependent onto.
///
[ApiMember(Description="ID Number of the primary user you wish to add a dependent onto.", IsRequired=true)]
public virtual string IdNumber { get; set; }
///
///Data of the dependent.
///
[ApiMember(Description="Data of the dependent.", IsRequired=true)]
public virtual DependentData DependentData { get; set; }
}
public partial class AddDependentResponse
: ApiServiceResponse
{
public AddDependentResponse()
{
Dependents = new List{};
}
///
///Updated list of the user's dependents.
///
[ApiMember(Description="Updated list of the user's dependents.")]
public virtual List Dependents { get; set; }
}
public partial class DependentData
{
///
///Dependent's Galaxy Id used for referring to or deleting.
///
[ApiMember(Description="Dependent's Galaxy Id used for referring to or deleting.", IsRequired=true)]
public virtual int DependentId { get; set; }
///
///Dependent's first name.
///
[ApiMember(Description="Dependent's first name.", IsRequired=true)]
public virtual string FirstName { get; set; }
///
///Dependent's surname.
///
[ApiMember(Description="Dependent's surname.", IsRequired=true)]
public virtual string Surname { get; set; }
///
///Dependent's mobile contact number.
///
[ApiMember(Description="Dependent's mobile contact number.", IsRequired=true)]
public virtual string MobileNumber { get; set; }
///
///Dependent's email address.
///
[ApiMember(Description="Dependent's email address.", IsRequired=true)]
public virtual string Email { get; set; }
///
///Depdendent's ID number.
///
[ApiMember(Description="Depdendent's ID number.", IsRequired=true)]
public virtual string IdNumber { get; set; }
}
}