Abstract base class for oneOf, anyOf schemas in the OpenAPI specification
More...
|
abstract string | ToJson () |
| Converts the instance into JSON string. More...
|
|
|
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...
|
|
Abstract base class for oneOf, anyOf schemas in the OpenAPI specification
◆ ToJson()
abstract string Lusid.Sdk.Model.AbstractOpenAPISchema.ToJson |
( |
| ) |
|
|
pure virtual |
Converts the instance into JSON string.
◆ 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
◆ 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:
- /home/docs/checkouts/readthedocs.org/user_builds/lusid-sdk-csharp/checkouts/latest/sdk/Lusid.Sdk/Model/AbstractOpenAPISchema.cs