LUSID C# SDK
Public Member Functions | Static Public Attributes | Properties | List of all members
Lusid.Sdk.Model.AbstractOpenAPISchema Class Referenceabstract

Abstract base class for oneOf, anyOf schemas in the OpenAPI specification More...

Public Member Functions

abstract string ToJson ()
 Converts the instance into JSON string. More...
 

Static Public Attributes

static readonly JsonSerializerSettings SerializerSettings
 Custom JSON serializer More...
 
static readonly JsonSerializerSettings AdditionalPropertiesSerializerSettings
 Custom JSON serializer for objects with additional properties More...
 

Properties

abstract Object ActualInstance [get, set]
 Gets or Sets the actual instance More...
 
bool IsNullable [get, protected set]
 Gets or Sets IsNullable to indicate whether the instance is nullable More...
 
string SchemaType [get, protected set]
 Gets or Sets the schema type, which can be either oneOf or anyOf More...
 

Detailed Description

Abstract base class for oneOf, anyOf schemas in the OpenAPI specification

Member Function Documentation

◆ ToJson()

abstract string Lusid.Sdk.Model.AbstractOpenAPISchema.ToJson ( )
pure virtual

Converts the instance into JSON string.

Member Data Documentation

◆ AdditionalPropertiesSerializerSettings

readonly JsonSerializerSettings Lusid.Sdk.Model.AbstractOpenAPISchema.AdditionalPropertiesSerializerSettings
static
Initial value:
= new JsonSerializerSettings
{
ConstructorHandling = ConstructorHandling.AllowNonPublicDefaultConstructor,
MissingMemberHandling = MissingMemberHandling.Ignore,
ContractResolver = new DefaultContractResolver
{
NamingStrategy = new CamelCaseNamingStrategy
{
OverrideSpecifiedNames = false
}
}
}

Custom JSON serializer for objects with additional properties

◆ SerializerSettings

readonly JsonSerializerSettings Lusid.Sdk.Model.AbstractOpenAPISchema.SerializerSettings
static
Initial value:
= new JsonSerializerSettings
{
ConstructorHandling = ConstructorHandling.AllowNonPublicDefaultConstructor,
MissingMemberHandling = MissingMemberHandling.Error,
ContractResolver = new DefaultContractResolver
{
NamingStrategy = new CamelCaseNamingStrategy
{
OverrideSpecifiedNames = false
}
}
}

Custom JSON serializer

Property Documentation

◆ ActualInstance

abstract Object Lusid.Sdk.Model.AbstractOpenAPISchema.ActualInstance
getset

Gets or Sets the actual instance

◆ IsNullable

bool Lusid.Sdk.Model.AbstractOpenAPISchema.IsNullable
getprotected set

Gets or Sets IsNullable to indicate whether the instance is nullable

◆ SchemaType

string Lusid.Sdk.Model.AbstractOpenAPISchema.SchemaType
getprotected set

Gets or Sets the schema type, which can be either oneOf or anyOf


The documentation for this class was generated from the following file: