def __init__(self,
                 entity_type_name=None,
                 display_name=None,
                 description=None,
                 field_schema=None,
                 local_vars_configuration=None):  # noqa: E501
        """CustomEntityDefinitionRequest - a model defined in OpenAPI"
        
        :param entity_type_name:  (required)
        :type entity_type_name: str
        :param display_name:  (required)
        :type display_name: str
        :param description: 
        :type description: str
        :param field_schema: 
        :type field_schema: list[lusid.CustomEntityFieldDefinition]

        """  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration.get_default_copy()
        self.local_vars_configuration = local_vars_configuration

        self._entity_type_name = None
        self._display_name = None
        self._description = None
        self._field_schema = None
        self.discriminator = None

        self.entity_type_name = entity_type_name
        self.display_name = display_name
        self.description = description
        self.field_schema = field_schema
Example #2
0
    def __init__(self,
                 effective_date=None,
                 open=None,
                 activities=None,
                 close=None,
                 local_vars_configuration=None):  # noqa: E501
        """CashLadderRecord - a model defined in OpenAPI"
        
        :param effective_date: 
        :type effective_date: datetime
        :param open:  (required)
        :type open: float
        :param activities:  (required)
        :type activities: dict(str, float)
        :param close:  (required)
        :type close: float

        """  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration.get_default_copy()
        self.local_vars_configuration = local_vars_configuration

        self._effective_date = None
        self._open = None
        self._activities = None
        self._close = None
        self.discriminator = None

        if effective_date is not None:
            self.effective_date = effective_date
        self.open = open
        self.activities = activities
        self.close = close
    def __init__(self,
                 id=None,
                 order_ids=None,
                 order_instruction_ids=None,
                 properties=None,
                 local_vars_configuration=None):  # noqa: E501
        """PackageRequest - a model defined in OpenAPI"
        
        :param id:  (required)
        :type id: lusid.ResourceId
        :param order_ids:  Related order ids. (required)
        :type order_ids: list[lusid.ResourceId]
        :param order_instruction_ids:  Related order instruction ids. (required)
        :type order_instruction_ids: list[lusid.ResourceId]
        :param properties:  Client-defined properties associated with this execution.
        :type properties: dict[str, lusid.PerpetualProperty]

        """  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration.get_default_copy()
        self.local_vars_configuration = local_vars_configuration

        self._id = None
        self._order_ids = None
        self._order_instruction_ids = None
        self._properties = None
        self.discriminator = None

        self.id = id
        self.order_ids = order_ids
        self.order_instruction_ids = order_instruction_ids
        self.properties = properties
    def __init__(self, start_date=None, maturity_date=None, leg_definition=None, notional=None, overrides=None, instrument_type=None, local_vars_configuration=None):  # noqa: E501
        """FloatingLeg - a model defined in OpenAPI"
        
        :param start_date:  (required)
        :type start_date: datetime
        :param maturity_date:  (required)
        :type maturity_date: datetime
        :param leg_definition:  (required)
        :type leg_definition: lusid.LegDefinition
        :param notional:  Scaling factor to apply to leg quantities. (required)
        :type notional: float
        :param overrides: 
        :type overrides: lusid.FixedLegAllOfOverrides
        :param instrument_type:  The available values are: QuotedSecurity, InterestRateSwap, FxForward, Future, ExoticInstrument, FxOption, CreditDefaultSwap, InterestRateSwaption, Bond, EquityOption, FixedLeg, FloatingLeg, BespokeCashFlowsLeg, Unknown, TermDeposit, ContractForDifference, EquitySwap, CashPerpetual, CapFloor, CashSettled, CdsIndex, Basket, FundingLeg, CrossCurrencySwap, FxSwap, ForwardRateAgreement, SimpleInstrument, Repo, Equity, ExchangeTradedOption (required)
        :type instrument_type: str

        """  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration.get_default_copy()
        self.local_vars_configuration = local_vars_configuration

        self._start_date = None
        self._maturity_date = None
        self._leg_definition = None
        self._notional = None
        self._overrides = None
        self._instrument_type = None
        self.discriminator = None

        self.start_date = start_date
        self.maturity_date = maturity_date
        self.leg_definition = leg_definition
        self.notional = notional
        self.overrides = overrides
        self.instrument_type = instrument_type
Example #5
0
    def __init__(self, level_type=None, schedule_type=None, step_schedule_type=None, steps=None, local_vars_configuration=None):  # noqa: E501
        """StepSchedule - a model defined in OpenAPI"
        
        :param level_type:  The type of shift or adjustment that the quantity represents.  Supported string (enumeration) values are: [Absolute, AbsoluteShift, Percentage, AbsolutePercentage]. (required)
        :type level_type: str
        :param schedule_type:  What type of schedule does this represent.  Supported string (enumeration) values are: [Fixed, Float, Optionality, Step, Payment, Accrual]. (required)
        :type schedule_type: str
        :param step_schedule_type:  The type of step that this schedule is for.  Supported string (enumeration) values are: [Coupon, Notional, Spread]. (required)
        :type step_schedule_type: str
        :param steps:  The level steps which are applied. (required)
        :type steps: list[lusid.LevelStep]

        """  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration.get_default_copy()
        self.local_vars_configuration = local_vars_configuration

        self._level_type = None
        self._schedule_type = None
        self._step_schedule_type = None
        self._steps = None
        self.discriminator = None

        self.level_type = level_type
        self.schedule_type = schedule_type
        self.step_schedule_type = step_schedule_type
        self.steps = steps
Example #6
0
    def __init__(self,
                 schema=None,
                 code=None,
                 display_name=None,
                 description=None,
                 local_vars_configuration=None):  # noqa: E501
        """IUnitDefinitionDto - a model defined in OpenAPI"
        
        :param schema:  The available values are: NoUnits, Basic, Iso4217Currency
        :type schema: str
        :param code: 
        :type code: str
        :param display_name: 
        :type display_name: str
        :param description: 
        :type description: str

        """  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration.get_default_copy()
        self.local_vars_configuration = local_vars_configuration

        self._schema = None
        self._code = None
        self._display_name = None
        self._description = None
        self.discriminator = None

        if schema is not None:
            self.schema = schema
        self.code = code
        self.display_name = display_name
        self.description = description
Example #7
0
    def __init__(self,
                 href=None,
                 value=None,
                 failed=None,
                 links=None,
                 local_vars_configuration=None):  # noqa: E501
        """GetFlowConventionsResponse - a model defined in OpenAPI"
        
        :param href:  The specific Uniform Resource Identifier (URI) for this resource at the requested effective and asAt datetime.
        :type href: str
        :param value: 
        :type value: lusid.FlowConventions
        :param failed:  The identifiers that did not resolve to a conventions along with the nature of the failure.
        :type failed: dict[str, lusid.ErrorDetail]
        :param links:  Collection of links.
        :type links: list[lusid.Link]

        """  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration.get_default_copy()
        self.local_vars_configuration = local_vars_configuration

        self._href = None
        self._value = None
        self._failed = None
        self._links = None
        self.discriminator = None

        self.href = href
        if value is not None:
            self.value = value
        self.failed = failed
        self.links = links
    def __init__(self,
                 href=None,
                 values=None,
                 failed=None,
                 links=None,
                 local_vars_configuration=None):  # noqa: E501
        """UpsertStructuredDataResponse - a model defined in OpenAPI"
        
        :param href:  The specific Uniform Resource Identifier (URI) for this resource at the requested effective and asAt datetime.
        :type href: str
        :param values:  The set of values that were successfully retrieved.
        :type values: dict(str, datetime)
        :param failed:  The set of values that could not be retrieved due along with a reason for this, e.g badly formed request.
        :type failed: dict[str, lusid.ErrorDetail]
        :param links:  Collection of links.
        :type links: list[lusid.Link]

        """  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration.get_default_copy()
        self.local_vars_configuration = local_vars_configuration

        self._href = None
        self._values = None
        self._failed = None
        self._links = None
        self.discriminator = None

        self.href = href
        self.values = values
        self.failed = failed
        self.links = links
Example #9
0
    def __init__(self,
                 href=None,
                 value=None,
                 failed=None,
                 links=None,
                 local_vars_configuration=None):  # noqa: E501
        """GetCounterpartyAgreementResponse - a model defined in OpenAPI"
        
        :param href:  The specific Uniform Resource Identifier (URI) for this resource at the requested effective and asAt datetime.
        :type href: str
        :param value: 
        :type value: lusid.CounterpartyAgreement
        :param failed:  The counterparty agreement that could not be retrieved along with a reason for failure.
        :type failed: dict[str, lusid.ErrorDetail]
        :param links:  Collection of links.
        :type links: list[lusid.Link]

        """  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration.get_default_copy()
        self.local_vars_configuration = local_vars_configuration

        self._href = None
        self._value = None
        self._failed = None
        self._links = None
        self.discriminator = None

        self.href = href
        if value is not None:
            self.value = value
        self.failed = failed
        self.links = links
    def __init__(self, value=None, effective_range=None, as_at_range=None, status=None, local_vars_configuration=None):  # noqa: E501
        """PropertyInterval - a model defined in OpenAPI"
        
        :param value:  (required)
        :type value: lusid.PropertyValue
        :param effective_range:  (required)
        :type effective_range: lusid.DateRange
        :param as_at_range:  (required)
        :type as_at_range: lusid.DateRange
        :param status:  Indicates whether the value is part of the prevailing effective date timeline for the requested asAt date, or whether it has been superseded by correctional activity (required)
        :type status: str

        """  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration.get_default_copy()
        self.local_vars_configuration = local_vars_configuration

        self._value = None
        self._effective_range = None
        self._as_at_range = None
        self._status = None
        self.discriminator = None

        self.value = value
        self.effective_range = effective_range
        self.as_at_range = as_at_range
        self.status = status
    def __init__(self, forward_rate_observable_type=None, discounting_method=None, convert_to_report_ccy=None, model_options_type=None, local_vars_configuration=None):  # noqa: E501
        """FxForwardModelOptionsAllOf - a model defined in OpenAPI"
        
        :param forward_rate_observable_type:  The available values are: ForwardPoints, ForwardRate, RatesCurve, FxForwardCurve, Invalid (required)
        :type forward_rate_observable_type: str
        :param discounting_method:  The available values are: Standard, ConstantTimeValueOfMoney, Invalid (required)
        :type discounting_method: str
        :param convert_to_report_ccy:  Convert all FX flows to the report currency  By setting this all FX forwards will be priced using Forward Curves that have Report Currency as the base. (required)
        :type convert_to_report_ccy: bool
        :param model_options_type:  The available values are: Invalid, OpaqueModelOptions, EmptyModelOptions, IndexModelOptions, FxForwardModelOptions (required)
        :type model_options_type: str

        """  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration.get_default_copy()
        self.local_vars_configuration = local_vars_configuration

        self._forward_rate_observable_type = None
        self._discounting_method = None
        self._convert_to_report_ccy = None
        self._model_options_type = None
        self.discriminator = None

        self.forward_rate_observable_type = forward_rate_observable_type
        self.discounting_method = discounting_method
        self.convert_to_report_ccy = convert_to_report_ccy
        self.model_options_type = model_options_type
    def __init__(self,
                 market_rules=None,
                 suppliers=None,
                 options=None,
                 local_vars_configuration=None):  # noqa: E501
        """MarketContext - a model defined in OpenAPI"
        
        :param market_rules:  The set of rules that define how to resolve particular use cases. These can be relatively general or specific in nature.  Nominally any number are possible and will be processed in order where applicable. However, there is evidently a potential  for increased computational cost where many rules must be applied to resolve data. Ensuring that portfolios are structured in  such a way as to reduce the number of rules required is therefore sensible.
        :type market_rules: list[lusid.MarketDataKeyRule]
        :param suppliers: 
        :type suppliers: lusid.MarketContextSuppliers
        :param options: 
        :type options: lusid.MarketOptions

        """  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration.get_default_copy()
        self.local_vars_configuration = local_vars_configuration

        self._market_rules = None
        self._suppliers = None
        self._options = None
        self.discriminator = None

        self.market_rules = market_rules
        self.suppliers = suppliers
        if options is not None:
            self.options = options
    def __init__(self,
                 document=None,
                 format=None,
                 name=None,
                 market_data_type=None,
                 local_vars_configuration=None):  # noqa: E501
        """OpaqueMarketData - a model defined in OpenAPI"
        
        :param document:  The document as a string. (required)
        :type document: str
        :param format:  What format is the document stored in, e.g. Xml.  Supported string (enumeration) values are: [Unknown, Xml, Json, Csv]. (required)
        :type format: str
        :param name:  Internal name of document. This is not used for search, it is simply a designator that helps identify the document  and could be anything (filename, ftp address or similar) (required)
        :type name: str
        :param market_data_type:  The available values are: DiscountFactorCurveData, EquityVolSurfaceData, FxVolSurfaceData, IrVolCubeData, OpaqueMarketData, YieldCurveData, FxForwardCurveData, FxForwardPipsCurveData, FxForwardTenorCurveData, FxForwardTenorPipsCurveData, FxForwardCurveByQuoteReference, CreditSpreadCurveData (required)
        :type market_data_type: str

        """  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration.get_default_copy()
        self.local_vars_configuration = local_vars_configuration

        self._document = None
        self._format = None
        self._name = None
        self._market_data_type = None
        self.discriminator = None

        self.document = document
        self.format = format
        self.name = name
        self.market_data_type = market_data_type
Example #14
0
    def __init__(self,
                 portfolio_id=None,
                 effective_at=None,
                 as_at=None,
                 local_vars_configuration=None):  # noqa: E501
        """PortfolioReconciliationRequest - a model defined in OpenAPI"
        
        :param portfolio_id:  (required)
        :type portfolio_id: lusid.ResourceId
        :param effective_at:  The effective date of the portfolio (required)
        :type effective_at: str
        :param as_at:  Optional. The AsAt date of the portfolio
        :type as_at: datetime

        """  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration.get_default_copy()
        self.local_vars_configuration = local_vars_configuration

        self._portfolio_id = None
        self._effective_at = None
        self._as_at = None
        self.discriminator = None

        self.portfolio_id = portfolio_id
        self.effective_at = effective_at
        self.as_at = as_at
    def __init__(self, href=None, values=None, failed=None, links=None, local_vars_configuration=None):  # noqa: E501
        """AnnulQuotesResponse - a model defined in OpenAPI"
        
        :param href:  The specific Uniform Resource Identifier (URI) for this resource at the requested effective and asAt datetime.
        :type href: str
        :param values:  The quotes which have been successfully deleted along with the asAt datetime at which the deletion was committed to LUSID.
        :type values: dict(str, datetime)
        :param failed:  The quotes that could not be deleted along with a reason for their failure.
        :type failed: dict[str, lusid.ErrorDetail]
        :param links:  Collection of links.
        :type links: list[lusid.Link]

        """  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration.get_default_copy()
        self.local_vars_configuration = local_vars_configuration

        self._href = None
        self._values = None
        self._failed = None
        self._links = None
        self.discriminator = None

        self.href = href
        self.values = values
        self.failed = failed
        self.links = links
    def __init__(self,
                 model_rules=None,
                 model_choice=None,
                 options=None,
                 result_data_rules=None,
                 local_vars_configuration=None):  # noqa: E501
        """PricingContext - a model defined in OpenAPI"
        
        :param model_rules:  The set of model rules that are available. There may be multiple rules for Vendors, but only one per model-instrument pair.  Which of these preference sets is used depends upon the model choice selection if specified, or failing that the global default model specification  in the options.
        :type model_rules: list[lusid.VendorModelRule]
        :param model_choice:  The choice of which model selection (vendor library, pricing model) to use in evaluation of a given instrument type.
        :type model_choice: dict[str, lusid.ModelSelection]
        :param options: 
        :type options: lusid.PricingOptions
        :param result_data_rules:  Set of rules that control querying of unit results either for direct queries into aggregation or for  overriding intermediate calculations. For example, a dirty price is made up from a clean price and the accrued interest.  One might consider overriding the accrued interest calculated by a model (perhaps one wants to match an external value or simply disagrees with the  calculated result) and use that in calculation of the dirty price.
        :type result_data_rules: list[lusid.ResultDataKeyRule]

        """  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration.get_default_copy()
        self.local_vars_configuration = local_vars_configuration

        self._model_rules = None
        self._model_choice = None
        self._options = None
        self._result_data_rules = None
        self.discriminator = None

        self.model_rules = model_rules
        self.model_choice = model_choice
        if options is not None:
            self.options = options
        self.result_data_rules = result_data_rules
Example #17
0
    def __init__(self,
                 file_stream=None,
                 content_type=None,
                 downloaded_filename=None,
                 local_vars_configuration=None):  # noqa: E501
        """FileResponse - a model defined in OpenAPI"
        
        :param file_stream: 
        :type file_stream: lusid.Stream
        :param content_type: 
        :type content_type: str
        :param downloaded_filename: 
        :type downloaded_filename: str

        """  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration.get_default_copy()
        self.local_vars_configuration = local_vars_configuration

        self._file_stream = None
        self._content_type = None
        self._downloaded_filename = None
        self.discriminator = None

        if file_stream is not None:
            self.file_stream = file_stream
        self.content_type = content_type
        self.downloaded_filename = downloaded_filename
    def __init__(self, id=None, type=None, detail=None, error_details=None, local_vars_configuration=None):  # noqa: E501
        """ErrorDetail - a model defined in OpenAPI"
        
        :param id:  The id of the failed item that this error relates to.
        :type id: str
        :param type:  The type of failure that occurred.
        :type type: str
        :param detail:  Description of the failure that occurred.
        :type detail: str
        :param error_details:  Information about the particular instance of the failure (supplied information depends on the type of failure).
        :type error_details: list[dict(str, str)]

        """  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration.get_default_copy()
        self.local_vars_configuration = local_vars_configuration

        self._id = None
        self._type = None
        self._detail = None
        self._error_details = None
        self.discriminator = None

        self.id = id
        self.type = type
        self.detail = detail
        self.error_details = error_details
    def __init__(self, values=None, href=None, links=None, next_page=None, previous_page=None, local_vars_configuration=None):  # noqa: E501
        """ResourceListOfIUnitDefinitionDto - a model defined in OpenAPI"
        
        :param values:  The resources to list. (required)
        :type values: list[lusid.IUnitDefinitionDto]
        :param href:  The URI of the resource list.
        :type href: str
        :param links:  Collection of links.
        :type links: list[lusid.Link]
        :param next_page:  The next page of results.
        :type next_page: str
        :param previous_page:  The previous page of results.
        :type previous_page: str

        """  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration.get_default_copy()
        self.local_vars_configuration = local_vars_configuration

        self._values = None
        self._href = None
        self._links = None
        self._next_page = None
        self._previous_page = None
        self.discriminator = None

        self.values = values
        self.href = href
        self.links = links
        self.next_page = next_page
        self.previous_page = previous_page
    def __init__(self,
                 base_date=None,
                 instruments=None,
                 quotes=None,
                 market_data_type=None,
                 local_vars_configuration=None):  # noqa: E501
        """FxVolSurfaceData - a model defined in OpenAPI"
        
        :param base_date:  Base date of the surface (required)
        :type base_date: datetime
        :param instruments:  The set of instruments that define the surface. (required)
        :type instruments: list[lusid.LusidInstrument]
        :param quotes:  The set of market quotes that define the surface, in NormalVol or LogNormalVol terms. (required)
        :type quotes: list[lusid.MarketQuote]
        :param market_data_type:  The available values are: DiscountFactorCurveData, EquityVolSurfaceData, FxVolSurfaceData, IrVolCubeData, OpaqueMarketData, YieldCurveData, FxForwardCurveData, FxForwardPipsCurveData, FxForwardTenorCurveData, FxForwardTenorPipsCurveData, FxForwardCurveByQuoteReference, CreditSpreadCurveData (required)
        :type market_data_type: str

        """  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration.get_default_copy()
        self.local_vars_configuration = local_vars_configuration

        self._base_date = None
        self._instruments = None
        self._quotes = None
        self._market_data_type = None
        self.discriminator = None

        self.base_date = base_date
        self.instruments = instruments
        self.quotes = quotes
        self.market_data_type = market_data_type
    def __init__(self,
                 href=None,
                 version=None,
                 properties=None,
                 links=None,
                 local_vars_configuration=None):  # noqa: E501
        """UpsertTransactionPropertiesResponse - a model defined in OpenAPI"
        
        :param href:  The specific Uniform Resource Identifier (URI) for this resource at the requested effective and asAt datetime.
        :type href: str
        :param version: 
        :type version: lusid.Version
        :param properties: 
        :type properties: dict[str, lusid.PerpetualProperty]
        :param links:  Collection of links.
        :type links: list[lusid.Link]

        """  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration.get_default_copy()
        self.local_vars_configuration = local_vars_configuration

        self._href = None
        self._version = None
        self._properties = None
        self._links = None
        self.discriminator = None

        self.href = href
        if version is not None:
            self.version = version
        self.properties = properties
        self.links = links
    def __init__(self,
                 identifier_type=None,
                 property_key=None,
                 is_unique_identifier_type=None,
                 local_vars_configuration=None):  # noqa: E501
        """InstrumentIdTypeDescriptor - a model defined in OpenAPI"
        
        :param identifier_type:  The name of the identifier type. (required)
        :type identifier_type: str
        :param property_key:  The property key that corresponds to the identifier type. (required)
        :type property_key: str
        :param is_unique_identifier_type:  Whether or not the identifier type is enforced to be unique. (required)
        :type is_unique_identifier_type: bool

        """  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration.get_default_copy()
        self.local_vars_configuration = local_vars_configuration

        self._identifier_type = None
        self._property_key = None
        self._is_unique_identifier_type = None
        self.discriminator = None

        self.identifier_type = identifier_type
        self.property_key = property_key
        self.is_unique_identifier_type = is_unique_identifier_type
Example #23
0
    def __init__(self,
                 identifier=None,
                 actions=None,
                 name=None,
                 description=None,
                 local_vars_configuration=None):  # noqa: E501
        """IdSelectorDefinition - a model defined in OpenAPI"
        
        :param identifier:  (required)
        :type identifier: dict(str, str)
        :param actions:  (required)
        :type actions: list[lusid.ActionId]
        :param name: 
        :type name: str
        :param description: 
        :type description: str

        """  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration.get_default_copy()
        self.local_vars_configuration = local_vars_configuration

        self._identifier = None
        self._actions = None
        self._name = None
        self._description = None
        self.discriminator = None

        self.identifier = identifier
        self.actions = actions
        self.name = name
        self.description = description
    def __init__(self,
                 source_entity_id=None,
                 target_entity_id=None,
                 effective_from=None,
                 local_vars_configuration=None):  # noqa: E501
        """DeleteRelationshipRequest - a model defined in OpenAPI"
        
        :param source_entity_id:  The identifier of the source entity of the relationship to be deleted. (required)
        :type source_entity_id: dict(str, str)
        :param target_entity_id:  The identifier of the target entity of the relationship to be deleted. (required)
        :type target_entity_id: dict(str, str)
        :param effective_from:  The effective date of the relationship to be deleted
        :type effective_from: str

        """  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration.get_default_copy()
        self.local_vars_configuration = local_vars_configuration

        self._source_entity_id = None
        self._target_entity_id = None
        self._effective_from = None
        self.discriminator = None

        self.source_entity_id = source_entity_id
        self.target_entity_id = target_entity_id
        self.effective_from = effective_from
Example #25
0
    def __init__(self,
                 left=None,
                 operator=None,
                 right=None,
                 right_operand_type=None,
                 local_vars_configuration=None):  # noqa: E501
        """PropertyFilter - a model defined in OpenAPI"
        
        :param left:  The key that uniquely identifies a queryable address in Lusid.
        :type left: str
        :param operator:  The available values are: Equals, NotEquals, GreaterThan, GreaterThanOrEqualTo, LessThan, LessThanOrEqualTo, In
        :type operator: str
        :param right: 
        :type right: object
        :param right_operand_type:  The available values are: Absolute, Property
        :type right_operand_type: str

        """  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration.get_default_copy()
        self.local_vars_configuration = local_vars_configuration

        self._left = None
        self._operator = None
        self._right = None
        self._right_operand_type = None
        self.discriminator = None

        self.left = left
        if operator is not None:
            self.operator = operator
        self.right = right
        if right_operand_type is not None:
            self.right_operand_type = right_operand_type
    def __init__(self,
                 tolerance=None,
                 left=None,
                 right=None,
                 instrument_property_keys=None,
                 local_vars_configuration=None):  # noqa: E501
        """PortfoliosReconciliationRequestPreview - a model defined in OpenAPI"
        
        :param tolerance:  Tolerance to be included for the units and cost.
        :type tolerance: dict[str, lusid.Tolerance]
        :param left:  (required)
        :type left: lusid.PortfolioReconciliationRequest
        :param right:  (required)
        :type right: lusid.PortfolioReconciliationRequest
        :param instrument_property_keys:  Instrument properties to be included with any identified breaks. These properties will be in the effective and AsAt dates of the left portfolio (required)
        :type instrument_property_keys: list[str]

        """  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration.get_default_copy()
        self.local_vars_configuration = local_vars_configuration

        self._tolerance = None
        self._left = None
        self._right = None
        self._instrument_property_keys = None
        self.discriminator = None

        self.tolerance = tolerance
        self.left = left
        self.right = right
        self.instrument_property_keys = instrument_property_keys
Example #27
0
    def __init__(self,
                 instrument_identifiers=None,
                 properties=None,
                 weight=None,
                 currency=None,
                 local_vars_configuration=None):  # noqa: E501
        """ReferencePortfolioConstituentRequest - a model defined in OpenAPI"
        
        :param instrument_identifiers:  Unique instrument identifiers (required)
        :type instrument_identifiers: dict(str, str)
        :param properties: 
        :type properties: dict[str, lusid.PerpetualProperty]
        :param weight:  (required)
        :type weight: float
        :param currency: 
        :type currency: str

        """  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration.get_default_copy()
        self.local_vars_configuration = local_vars_configuration

        self._instrument_identifiers = None
        self._properties = None
        self._weight = None
        self._currency = None
        self.discriminator = None

        self.instrument_identifiers = instrument_identifiers
        self.properties = properties
        self.weight = weight
        self.currency = currency
    def __init__(self,
                 display_name=None,
                 description=None,
                 acceptable_values=None,
                 acceptable_units=None,
                 local_vars_configuration=None):  # noqa: E501
        """UpdateDataTypeRequest - a model defined in OpenAPI"
        
        :param display_name:  The display name of the data type.
        :type display_name: str
        :param description:  The description of the data type.
        :type description: str
        :param acceptable_values:  The acceptable set of values for this data type. Only applies to 'open' value type range.
        :type acceptable_values: list[str]
        :param acceptable_units:  The definitions of the acceptable units.
        :type acceptable_units: list[lusid.UpdateUnitRequest]

        """  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration.get_default_copy()
        self.local_vars_configuration = local_vars_configuration

        self._display_name = None
        self._description = None
        self._acceptable_values = None
        self._acceptable_units = None
        self.discriminator = None

        self.display_name = display_name
        self.description = description
        self.acceptable_values = acceptable_values
        self.acceptable_units = acceptable_units
    def __init__(self,
                 href=None,
                 value=None,
                 links=None,
                 local_vars_configuration=None):  # noqa: E501
        """GetRecipeResponse - a model defined in OpenAPI"
        
        :param href:  The specific Uniform Resource Identifier (URI) for this resource at the requested effective and asAt datetime.
        :type href: str
        :param value: 
        :type value: lusid.ConfigurationRecipe
        :param links:  Collection of links.
        :type links: list[lusid.Link]

        """  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration.get_default_copy()
        self.local_vars_configuration = local_vars_configuration

        self._href = None
        self._value = None
        self._links = None
        self.discriminator = None

        self.href = href
        if value is not None:
            self.value = value
        self.links = links
Example #30
0
    def __init__(self,
                 quantity=None,
                 holding_identifier=None,
                 instrument=None,
                 local_vars_configuration=None):  # noqa: E501
        """WeightedInstrument - a model defined in OpenAPI"
        
        :param quantity:  The quantity of the instrument that is owned.
        :type quantity: float
        :param holding_identifier:  Identifier for the instrument.  For a single, unique trade or transaction this can be thought of as equivalent to the transaction identifier, or  a composite of the sub-holding keys for a regular sub-holding. When there are multiple transactions sharing the same underlying instrument  such as purchase of shares on multiple dates where tax implications are different this would not be the case.    In an inlined aggregation request if this is wanted to identify a line item, it can be specified in the set of aggregation keys given on the aggregation  request that accompanies the set of weighted instruments.
        :type holding_identifier: str
        :param instrument: 
        :type instrument: lusid.LusidInstrument

        """  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration.get_default_copy()
        self.local_vars_configuration = local_vars_configuration

        self._quantity = None
        self._holding_identifier = None
        self._instrument = None
        self.discriminator = None

        if quantity is not None:
            self.quantity = quantity
        self.holding_identifier = holding_identifier
        if instrument is not None:
            self.instrument = instrument