Beispiel #1
0
    def __init__(self,
                 proposal_id=None,
                 issuer_id=None,
                 state=None,
                 prev_proposal_id=None,
                 local_vars_configuration=None):  # noqa: E501
        """ProposalAllOf - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._proposal_id = None
        self._issuer_id = None
        self._state = None
        self._prev_proposal_id = None
        self.discriminator = None

        if proposal_id is not None:
            self.proposal_id = proposal_id
        if issuer_id is not None:
            self.issuer_id = issuer_id
        if state is not None:
            self.state = state
        if prev_proposal_id is not None:
            self.prev_proposal_id = prev_proposal_id
Beispiel #2
0
    def __init__(self, agreement_id=None, demand=None, offer=None, valid_to=None, approved_date=None, state=None, proposed_signature=None, approved_signature=None, committed_signature=None, local_vars_configuration=None):  # noqa: E501
        """Agreement - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._agreement_id = None
        self._demand = None
        self._offer = None
        self._valid_to = None
        self._approved_date = None
        self._state = None
        self._proposed_signature = None
        self._approved_signature = None
        self._committed_signature = None
        self.discriminator = None

        self.agreement_id = agreement_id
        self.demand = demand
        self.offer = offer
        self.valid_to = valid_to
        if approved_date is not None:
            self.approved_date = approved_date
        self.state = state
        if proposed_signature is not None:
            self.proposed_signature = proposed_signature
        if approved_signature is not None:
            self.approved_signature = approved_signature
        if committed_signature is not None:
            self.committed_signature = committed_signature
Beispiel #3
0
    def __init__(self, message=None, local_vars_configuration=None):  # noqa: E501
        """ErrorMessage - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._message = None
        self.discriminator = None

        if message is not None:
            self.message = message
    def __init__(self, proposal=None, local_vars_configuration=None):  # noqa: E501
        """ProposalEventAllOf - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._proposal = None
        self.discriminator = None

        if proposal is not None:
            self.proposal = proposal
Beispiel #5
0
    def __init__(self, agreement=None, local_vars_configuration=None):  # noqa: E501
        """AgreementEvent - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._agreement = None
        self.discriminator = None

        if agreement is not None:
            self.agreement = agreement
Beispiel #6
0
    def __init__(self, properties=None, constraints=None, local_vars_configuration=None):  # noqa: E501
        """DemandOfferBase - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._properties = None
        self._constraints = None
        self.discriminator = None

        self.properties = properties
        self.constraints = constraints
    def __init__(self,
                 event_type=None,
                 event_date=None,
                 local_vars_configuration=None):  # noqa: E501
        """Event - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._event_type = None
        self._event_date = None
        self.discriminator = 'event_type'

        self.event_type = event_type
        self.event_date = event_date
    def __init__(self,
                 proposal_id=None,
                 valid_to=None,
                 local_vars_configuration=None):  # noqa: E501
        """AgreementProposal - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._proposal_id = None
        self._valid_to = None
        self.discriminator = None

        self.proposal_id = proposal_id
        self.valid_to = valid_to
    def __init__(self,
                 offer_id=None,
                 provider_id=None,
                 local_vars_configuration=None):  # noqa: E501
        """OfferAllOf - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._offer_id = None
        self._provider_id = None
        self.discriminator = None

        if offer_id is not None:
            self.offer_id = offer_id
        if provider_id is not None:
            self.provider_id = provider_id
    def __init__(self,
                 demand_id=None,
                 requestor_id=None,
                 local_vars_configuration=None):  # noqa: E501
        """DemandAllOf - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._demand_id = None
        self._requestor_id = None
        self.discriminator = None

        if demand_id is not None:
            self.demand_id = demand_id
        if requestor_id is not None:
            self.requestor_id = requestor_id
    def __init__(self, properties=None, constraints=None, demand_id=None, requestor_id=None, local_vars_configuration=None):  # noqa: E501
        """Demand - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._properties = None
        self._constraints = None
        self._demand_id = None
        self._requestor_id = None
        self.discriminator = None

        self.properties = properties
        self.constraints = constraints
        if demand_id is not None:
            self.demand_id = demand_id
        if requestor_id is not None:
            self.requestor_id = requestor_id
    def __init__(self,
                 configuration=None,
                 header_name=None,
                 header_value=None,
                 cookie=None,
                 pool_threads=1):
        if configuration is None:
            configuration = Configuration.get_default_copy()
        self.configuration = configuration
        self.pool_threads = pool_threads

        self.rest_client = rest.RESTClientObject(configuration)
        self.default_headers = {}
        if header_name is not None:
            self.default_headers[header_name] = header_value
        self.cookie = cookie
        # Set default User-Agent.
        self.user_agent = 'OpenAPI-Generator//python'
        self.client_side_validation = configuration.client_side_validation
    def __init__(self,
                 issuer_properties=None,
                 query_id=None,
                 queried_properties=None,
                 local_vars_configuration=None):  # noqa: E501
        """PropertyQuery - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._issuer_properties = None
        self._query_id = None
        self._queried_properties = None
        self.discriminator = None

        if issuer_properties is not None:
            self.issuer_properties = issuer_properties
        if query_id is not None:
            self.query_id = query_id
        if queried_properties is not None:
            self.queried_properties = queried_properties