/* Options: Date: 2026-04-04 01:02:07 Version: 8.52 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://pfapi.pstpf.com.au/api //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: False //ExportValueTypes: False IncludeTypes: SaveDynamicContent.* //ExcludeTypes: //AddNamespaces: //AddDefaultXmlNamespace: http://schemas.servicestack.net/types */ using System; using System.IO; using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; using ServiceStack; using ServiceStack.DataAnnotations; using Eros.Subtle.Canvara.WebAPIModel.Models; using Eros.Subtle.Canvara.WebAPIModel.ServiceModel; namespace Eros.Subtle.Canvara.WebAPIModel.Models { public partial class ObjectDynamicContentModel { /// ///The dynamic content Id (PKID) /// [ApiMember(Description="The dynamic content Id (PKID)", ParameterType="query")] public virtual Guid ObjectDynamicContentId { get; set; } /// ///The object Id this dynamic content record is for. /// [ApiMember(Description="The object Id this dynamic content record is for.", ParameterType="query")] public virtual Guid ObjectId { get; set; } /// ///The dynamic content definition id that indicates what this dynamic content contains /// [ApiMember(Description="The dynamic content definition id that indicates what this dynamic content contains", ParameterType="query")] public virtual Guid DynamicContentDefinitionId { get; set; } /// ///Name of the dynamic content definition /// [ApiMember(Description="Name of the dynamic content definition", ParameterType="query")] public virtual string DefinitionName { get; set; } /// ///The format Id the dynamic content is saved as /// [ApiMember(Description="The format Id the dynamic content is saved as", ParameterType="query")] public virtual Guid ContentFormatId { get; set; } /// ///Name of the content format /// [ApiMember(Description="Name of the content format", ParameterType="query")] public virtual string ContentFormat { get; set; } /// ///The content string regardless of the format. /// [ApiMember(Description="The content string regardless of the format.", ParameterType="query")] public virtual string Content { get; set; } /// ///XML content if the format is XML /// [ApiMember(Description="XML content if the format is XML", ParameterType="query")] public virtual string XmlContent { get; set; } /// ///The contact id of the licensee who owns this record /// [ApiMember(Description="The contact id of the licensee who owns this record", ParameterType="query")] public virtual Guid OwnerContactId { get; set; } /// ///Record Status of the dynamic content /// [ApiMember(Description="Record Status of the dynamic content", ParameterType="query")] public virtual string RecordStatus { get; set; } } } namespace Eros.Subtle.Canvara.WebAPIModel.ServiceModel { [ApiResponse(Description="Dynamic Content Value")] public partial class GetDynamicContentResponse { /// ///Dynamic Content Value. /// [ApiMember(Description="Dynamic Content Value.")] public virtual ObjectDynamicContentModel DynamicContent { get; set; } public virtual ResponseStatus ResponseStatus { get; set; } } /// ///Add or update dynamic content. /// [Route("/dynamiccontent/", "POST")] [Route("/dynamiccontent/{ObjectDynamicContentId}", "PUT")] [Api(Description="Add or update dynamic content.")] public partial class SaveDynamicContent : IReturn { /// ///Dynamic Content details. /// [ApiMember(Description="Dynamic Content details.")] public virtual ObjectDynamicContentModel DynamicContent { get; set; } /// ///Id of the Dynamic Content record. /// [ApiMember(Description="Id of the Dynamic Content record.", ParameterType="path")] public virtual Guid ObjectDynamicContentId { get; set; } } } namespace ServiceStack { [DataContract] public partial class ResponseStatus : IMeta { [DataMember(Order=1)] public virtual string ErrorCode { get; set; } [DataMember(Order=2)] public virtual string Message { get; set; } [DataMember(Order=3)] public virtual string StackTrace { get; set; } [DataMember(Order=4)] public virtual List Errors { get; set; } [DataMember(Order=5)] public virtual Dictionary Meta { get; set; } } }