def __init__()

in custos-client-sdks/custos-python-sdk/custos/server/integration/TenantManagementService_pb2_grpc.py [0:0]


    def __init__(self, channel):
        """Constructor.

        Args:
            channel: A grpc.Channel.
        """
        self.createTenant = channel.unary_unary(
                '/org.apache.custos.tenant.management.service.TenantManagementService/createTenant',
                request_serializer=TenantProfileService__pb2.Tenant.SerializeToString,
                response_deserializer=TenantManagementService__pb2.CreateTenantResponse.FromString,
                )
        self.getTenant = channel.unary_unary(
                '/org.apache.custos.tenant.management.service.TenantManagementService/getTenant',
                request_serializer=TenantManagementService__pb2.GetTenantRequest.SerializeToString,
                response_deserializer=TenantProfileService__pb2.Tenant.FromString,
                )
        self.updateTenant = channel.unary_unary(
                '/org.apache.custos.tenant.management.service.TenantManagementService/updateTenant',
                request_serializer=TenantManagementService__pb2.UpdateTenantRequest.SerializeToString,
                response_deserializer=TenantProfileService__pb2.Tenant.FromString,
                )
        self.deleteTenant = channel.unary_unary(
                '/org.apache.custos.tenant.management.service.TenantManagementService/deleteTenant',
                request_serializer=TenantManagementService__pb2.DeleteTenantRequest.SerializeToString,
                response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
                )
        self.validateTenant = channel.unary_unary(
                '/org.apache.custos.tenant.management.service.TenantManagementService/validateTenant',
                request_serializer=TenantManagementService__pb2.TenantValidationRequest.SerializeToString,
                response_deserializer=IamAdminService__pb2.OperationStatus.FromString,
                )
        self.addTenantRoles = channel.unary_unary(
                '/org.apache.custos.tenant.management.service.TenantManagementService/addTenantRoles',
                request_serializer=IamAdminService__pb2.AddRolesRequest.SerializeToString,
                response_deserializer=IamAdminService__pb2.AllRoles.FromString,
                )
        self.getTenantRoles = channel.unary_unary(
                '/org.apache.custos.tenant.management.service.TenantManagementService/getTenantRoles',
                request_serializer=IamAdminService__pb2.GetRolesRequest.SerializeToString,
                response_deserializer=IamAdminService__pb2.AllRoles.FromString,
                )
        self.deleteRole = channel.unary_unary(
                '/org.apache.custos.tenant.management.service.TenantManagementService/deleteRole',
                request_serializer=IamAdminService__pb2.DeleteRoleRequest.SerializeToString,
                response_deserializer=IamAdminService__pb2.OperationStatus.FromString,
                )
        self.addProtocolMapper = channel.unary_unary(
                '/org.apache.custos.tenant.management.service.TenantManagementService/addProtocolMapper',
                request_serializer=IamAdminService__pb2.AddProtocolMapperRequest.SerializeToString,
                response_deserializer=IamAdminService__pb2.OperationStatus.FromString,
                )
        self.configureEventPersistence = channel.unary_unary(
                '/org.apache.custos.tenant.management.service.TenantManagementService/configureEventPersistence',
                request_serializer=IamAdminService__pb2.EventPersistenceRequest.SerializeToString,
                response_deserializer=IamAdminService__pb2.OperationStatus.FromString,
                )
        self.enableMessaging = channel.unary_unary(
                '/org.apache.custos.tenant.management.service.TenantManagementService/enableMessaging',
                request_serializer=MessagingService__pb2.MessageEnablingRequest.SerializeToString,
                response_deserializer=MessagingService__pb2.MessageEnablingResponse.FromString,
                )
        self.updateTenantStatus = channel.unary_unary(
                '/org.apache.custos.tenant.management.service.TenantManagementService/updateTenantStatus',
                request_serializer=TenantProfileService__pb2.UpdateStatusRequest.SerializeToString,
                response_deserializer=TenantProfileService__pb2.UpdateStatusResponse.FromString,
                )
        self.getAllTenants = channel.unary_unary(
                '/org.apache.custos.tenant.management.service.TenantManagementService/getAllTenants',
                request_serializer=TenantProfileService__pb2.GetTenantsRequest.SerializeToString,
                response_deserializer=TenantProfileService__pb2.GetAllTenantsResponse.FromString,
                )
        self.getChildTenants = channel.unary_unary(
                '/org.apache.custos.tenant.management.service.TenantManagementService/getChildTenants',
                request_serializer=TenantProfileService__pb2.GetTenantsRequest.SerializeToString,
                response_deserializer=TenantProfileService__pb2.GetAllTenantsResponse.FromString,
                )
        self.getAllTenantsForUser = channel.unary_unary(
                '/org.apache.custos.tenant.management.service.TenantManagementService/getAllTenantsForUser',
                request_serializer=TenantProfileService__pb2.GetAllTenantsForUserRequest.SerializeToString,
                response_deserializer=TenantProfileService__pb2.GetAllTenantsForUserResponse.FromString,
                )
        self.getTenantStatusUpdateAuditTrail = channel.unary_unary(
                '/org.apache.custos.tenant.management.service.TenantManagementService/getTenantStatusUpdateAuditTrail',
                request_serializer=TenantProfileService__pb2.GetAuditTrailRequest.SerializeToString,
                response_deserializer=TenantProfileService__pb2.GetStatusUpdateAuditTrailResponse.FromString,
                )
        self.getTenantAttributeUpdateAuditTrail = channel.unary_unary(
                '/org.apache.custos.tenant.management.service.TenantManagementService/getTenantAttributeUpdateAuditTrail',
                request_serializer=TenantProfileService__pb2.GetAuditTrailRequest.SerializeToString,
                response_deserializer=TenantProfileService__pb2.GetAttributeUpdateAuditTrailResponse.FromString,
                )
        self.addToCache = channel.unary_unary(
                '/org.apache.custos.tenant.management.service.TenantManagementService/addToCache',
                request_serializer=FederatedAuthenticationService__pb2.CacheManipulationRequest.SerializeToString,
                response_deserializer=FederatedAuthenticationService__pb2.Status.FromString,
                )
        self.removeFromCache = channel.unary_unary(
                '/org.apache.custos.tenant.management.service.TenantManagementService/removeFromCache',
                request_serializer=FederatedAuthenticationService__pb2.CacheManipulationRequest.SerializeToString,
                response_deserializer=FederatedAuthenticationService__pb2.Status.FromString,
                )
        self.getFromCache = channel.unary_unary(
                '/org.apache.custos.tenant.management.service.TenantManagementService/getFromCache',
                request_serializer=FederatedAuthenticationService__pb2.CacheManipulationRequest.SerializeToString,
                response_deserializer=FederatedAuthenticationService__pb2.GetInstitutionsResponse.FromString,
                )
        self.getInstitutions = channel.unary_unary(
                '/org.apache.custos.tenant.management.service.TenantManagementService/getInstitutions',
                request_serializer=FederatedAuthenticationService__pb2.CacheManipulationRequest.SerializeToString,
                response_deserializer=FederatedAuthenticationService__pb2.GetInstitutionsResponse.FromString,
                )