Source code for ib1.openenergy.support.raidiam

from dataclasses import dataclass
from datetime import datetime
from typing import List


[docs]@dataclass(frozen=True) class Organisation: organisation_id: str status: str organisation_name: str created_on: datetime legal_entity_name: str country_of_registration: str company_register: str registration_number: str registered_name: str city: str postcode: str country: str requires_participant_terms_and_conditions_signing: bool registration_id: str = '' address_line1: str = '' address_line2: str = '' parent_organisation_reference: str = ''
[docs]@dataclass(frozen=True) class AdminUser: status: str user_email: str
[docs]@dataclass(frozen=True) class OrganisationAuthorityDomainClaim: organisation_authority_domain_claim_id: str authorisation_domain_name: str authority_id: str authority_name: str registration_id: str status: str
[docs]@dataclass(frozen=True) class OrganisationContact: contact_id: str organisation_id: str contact_type: dict first_name: str last_name: str department: str email_address: str phone_number: str address_line1: str address_line2: str city: str postcode: str country: str additional_information: str pgp_public_key: str
[docs]@dataclass(frozen=True) class ApiDiscoveryEndpoint: api_discovery_id: str api_endpoint: str
[docs]@dataclass(frozen=True) class ApiResource: api_resource_id: str api_family_type: str api_version: str api_discovery_endpoints: List[ApiDiscoveryEndpoint]
[docs]@dataclass(frozen=True) class AuthorisationServer: authorisation_server_id: str organisation_id: str auto_registration_supported: bool = False customer_friendly_description: str = '' customer_friendly_logo_uri: str = '' customer_friendly_name: str = '' developer_portal_uri: str = '' terms_of_service_uri: str = '' open_i_d_discovery_document: str = '' payload_signing_cert_location_uri: str = '' parent_authorisation_server_id: str = '' api_resources: List[ApiResource] = None notification_webhook: str = '' notification_webhook_status: str = ''