LUSID C# SDK
Public Member Functions | Protected Member Functions | Properties | List of all members
Lusid.Sdk.Model.Package Class Reference

A structure used to describe the structure of an order or orders that make up a non-trivial trade. More...

Inheritance diagram for Lusid.Sdk.Model.Package:
Inheritance graph
[legend]

Public Member Functions

 Package (ResourceId id=default(ResourceId), List< ResourceId > orderIds=default(List< ResourceId >), List< ResourceId > orderInstructionIds=default(List< ResourceId >), Dictionary< string, PerpetualProperty > properties=default(Dictionary< string, PerpetualProperty >), ModelVersion version=default(ModelVersion), List< Link > links=default(List< Link >))
 Initializes a new instance of the Package class. More...
 
override string ToString ()
 Returns the string presentation of the object More...
 
virtual string ToJson ()
 Returns the JSON string presentation of the object More...
 
override bool Equals (object input)
 Returns true if objects are equal More...
 
bool Equals (Package input)
 Returns true if Package instances are equal More...
 
override int GetHashCode ()
 Gets the hash code More...
 

Protected Member Functions

 Package ()
 Initializes a new instance of the Package class. More...
 

Properties

ResourceId Id [get, set]
 Gets or Sets Id More...
 
List< ResourceIdOrderIds [get, set]
 Related order ids. More...
 
List< ResourceIdOrderInstructionIds [get, set]
 Related order instruction ids. More...
 
Dictionary< string, PerpetualPropertyProperties [get, set]
 Client-defined properties associated with this execution. More...
 
ModelVersion _Version [get, set]
 Gets or Sets _Version More...
 
List< LinkLinks [get, set]
 Gets or Sets Links More...
 

Detailed Description

A structure used to describe the structure of an order or orders that make up a non-trivial trade.

Constructor & Destructor Documentation

◆ Package() [1/2]

Lusid.Sdk.Model.Package.Package ( )
inlineprotected

Initializes a new instance of the Package class.

◆ Package() [2/2]

Lusid.Sdk.Model.Package.Package ( ResourceId  id = default(ResourceId),
List< ResourceId orderIds = default(List<ResourceId>),
List< ResourceId orderInstructionIds = default(List<ResourceId>),
Dictionary< string, PerpetualProperty properties = default(Dictionary<string, PerpetualProperty>),
ModelVersion  version = default(ModelVersion),
List< Link links = default(List<Link>) 
)
inline

Initializes a new instance of the Package class.

Parameters
idid (required).
orderIdsRelated order ids. (required).
orderInstructionIdsRelated order instruction ids. (required).
propertiesClient-defined properties associated with this execution..
versionversion.
linkslinks.

Member Function Documentation

◆ Equals() [1/2]

override bool Lusid.Sdk.Model.Package.Equals ( object  input)
inline

Returns true if objects are equal

Parameters
inputObject to be compared
Returns
Boolean

◆ Equals() [2/2]

bool Lusid.Sdk.Model.Package.Equals ( Package  input)
inline

Returns true if Package instances are equal

Parameters
inputInstance of Package to be compared
Returns
Boolean

◆ GetHashCode()

override int Lusid.Sdk.Model.Package.GetHashCode ( )
inline

Gets the hash code

Returns
Hash code

◆ ToJson()

virtual string Lusid.Sdk.Model.Package.ToJson ( )
inlinevirtual

Returns the JSON string presentation of the object

Returns
JSON string presentation of the object

◆ ToString()

override string Lusid.Sdk.Model.Package.ToString ( )
inline

Returns the string presentation of the object

Returns
String presentation of the object

Property Documentation

◆ _Version

ModelVersion Lusid.Sdk.Model.Package._Version
getset

Gets or Sets _Version

◆ Id

ResourceId Lusid.Sdk.Model.Package.Id
getset

Gets or Sets Id

◆ Links

List<Link> Lusid.Sdk.Model.Package.Links
getset

Gets or Sets Links

◆ OrderIds

List<ResourceId> Lusid.Sdk.Model.Package.OrderIds
getset

Related order ids.

Related order ids.

◆ OrderInstructionIds

List<ResourceId> Lusid.Sdk.Model.Package.OrderInstructionIds
getset

Related order instruction ids.

Related order instruction ids.

◆ Properties

Dictionary<string, PerpetualProperty> Lusid.Sdk.Model.Package.Properties
getset

Client-defined properties associated with this execution.

Client-defined properties associated with this execution.


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