def modelconfigurationsetups_post(user=None, model_configuration_setup=None ): # noqa: E501 """Create one ModelConfigurationSetup Create a new instance of ModelConfigurationSetup (more information in https://w3id.org/okn/o/sdm#ModelConfigurationSetup) # noqa: E501 :param user: Username :type user: str :param model_configuration_setup: Information about the ModelConfigurationSetupto be created :type model_configuration_setup: dict | bytes :rtype: ModelConfigurationSetup """ if connexion.request.is_json: model_configuration_setup = ModelConfigurationSetup.from_dict( connexion.request.get_json()) # noqa: E501 return query_manager.post_resource( user=user, body=model_configuration_setup, rdf_type_uri=MODELCONFIGURATIONSETUP_TYPE_URI, rdf_type_name=MODELCONFIGURATIONSETUP_TYPE_NAME, kls=ModelConfigurationSetup)
def spatiallydistributedgrids_post(user=None, spatially_distributed_grid=None ): # noqa: E501 """Create one SpatiallyDistributedGrid Create a new instance of SpatiallyDistributedGrid (more information in https://w3id.org/okn/o/sdm#SpatiallyDistributedGrid) # noqa: E501 :param user: Username :type user: str :param spatially_distributed_grid: Information about the SpatiallyDistributedGridto be created :type spatially_distributed_grid: dict | bytes :rtype: SpatiallyDistributedGrid """ if connexion.request.is_json: spatially_distributed_grid = SpatiallyDistributedGrid.from_dict( connexion.request.get_json()) # noqa: E501 return query_manager.post_resource( user=user, body=spatially_distributed_grid, rdf_type_uri=SPATIALLYDISTRIBUTEDGRID_TYPE_URI, rdf_type_name=SPATIALLYDISTRIBUTEDGRID_TYPE_NAME, kls=SpatiallyDistributedGrid)
def datatransformationsetups_post(user=None, data_transformation_setup=None ): # noqa: E501 """Create one DataTransformationSetup Create a new instance of DataTransformationSetup (more information in https://w3id.org/okn/o/sd#DataTransformationSetup) # noqa: E501 :param user: Username :type user: str :param data_transformation_setup: Information about the DataTransformationSetupto be created :type data_transformation_setup: dict | bytes :rtype: DataTransformationSetup """ if connexion.request.is_json: data_transformation_setup = DataTransformationSetup.from_dict( connexion.request.get_json()) # noqa: E501 return query_manager.post_resource( user=user, body=data_transformation_setup, rdf_type_uri=DATATRANSFORMATIONSETUP_TYPE_URI, rdf_type_name=DATATRANSFORMATIONSETUP_TYPE_NAME, kls=DataTransformationSetup)
def grids_post(user=None, grid=None): # noqa: E501 """Create one Grid Create a new instance of Grid (more information in https://w3id.org/okn/o/sdm#Grid) # noqa: E501 :param user: Username :type user: str :param grid: Information about the Gridto be created :type grid: dict | bytes :rtype: Grid """ if connexion.request.is_json: grid = Grid.from_dict(connexion.request.get_json()) # noqa: E501 return query_manager.post_resource(user=user, body=grid, rdf_type_uri=GRID_TYPE_URI, rdf_type_name=GRID_TYPE_NAME, kls=Grid)
def processs_post(user=None, process=None): # noqa: E501 """Create one Process Create a new instance of Process (more information in https://w3id.org/okn/o/sdm#Process) # noqa: E501 :param user: Username :type user: str :param process: Information about the Processto be created :type process: dict | bytes :rtype: Process """ if connexion.request.is_json: process = Process.from_dict(connexion.request.get_json()) # noqa: E501 return query_manager.post_resource(user=user, body=process, rdf_type_uri=PROCESS_TYPE_URI, rdf_type_name=PROCESS_TYPE_NAME, kls=Process)
def models_post(user=None, model=None): # noqa: E501 """Create one Model Create a new instance of Model (more information in https://w3id.org/okn/o/sdm#Model) # noqa: E501 :param user: Username :type user: str :param model: Information about the Modelto be created :type model: dict | bytes :rtype: Model """ if connexion.request.is_json: model = Model.from_dict(connexion.request.get_json()) # noqa: E501 return query_manager.post_resource(user=user, body=model, rdf_type_uri=MODEL_TYPE_URI, rdf_type_name=MODEL_TYPE_NAME, kls=Model)
def images_post(user=None, image=None): # noqa: E501 """Create one Image Create a new instance of Image (more information in https://w3id.org/okn/o/sd#Image) # noqa: E501 :param user: Username :type user: str :param image: Information about the Imageto be created :type image: dict | bytes :rtype: Image """ if connexion.request.is_json: image = Image.from_dict(connexion.request.get_json()) # noqa: E501 return query_manager.post_resource(user=user, body=image, rdf_type_uri=IMAGE_TYPE_URI, rdf_type_name=IMAGE_TYPE_NAME, kls=Image)
def persons_post(user=None, person=None): # noqa: E501 """Create one Person Create a new instance of Person (more information in https://w3id.org/okn/o/sd#Person) # noqa: E501 :param user: Username :type user: str :param person: Information about the Personto be created :type person: dict | bytes :rtype: Person """ if connexion.request.is_json: person = Person.from_dict(connexion.request.get_json()) # noqa: E501 return query_manager.post_resource(user=user, body=person, rdf_type_uri=PERSON_TYPE_URI, rdf_type_name=PERSON_TYPE_NAME, kls=Person)
def units_post(user=None, unit=None): # noqa: E501 """Create one Unit Create a new instance of Unit (more information in https://w3id.org/okn/o/sd#Unit) # noqa: E501 :param user: Username :type user: str :param unit: Information about the Unitto be created :type unit: dict | bytes :rtype: Unit """ if connexion.request.is_json: unit = Unit.from_dict(connexion.request.get_json()) # noqa: E501 return query_manager.post_resource(user=user, body=unit, rdf_type_uri=UNIT_TYPE_URI, rdf_type_name=UNIT_TYPE_NAME, kls=Unit)
def timeintervals_post(user=None, time_interval=None): # noqa: E501 """Create one TimeInterval Create a new instance of TimeInterval (more information in https://w3id.org/okn/o/sdm#TimeInterval) # noqa: E501 :param user: Username :type user: str :param time_interval: Information about the TimeIntervalto be created :type time_interval: dict | bytes :rtype: TimeInterval """ if connexion.request.is_json: time_interval = TimeInterval.from_dict( connexion.request.get_json()) # noqa: E501 return query_manager.post_resource(user=user, body=time_interval, rdf_type_uri=TIMEINTERVAL_TYPE_URI, rdf_type_name=TIMEINTERVAL_TYPE_NAME, kls=TimeInterval)
def softwareversions_post(user=None, software_version=None): # noqa: E501 """Create one SoftwareVersion Create a new instance of SoftwareVersion (more information in https://w3id.org/okn/o/sd#SoftwareVersion) # noqa: E501 :param user: Username :type user: str :param software_version: Information about the SoftwareVersionto be created :type software_version: dict | bytes :rtype: SoftwareVersion """ if connexion.request.is_json: software_version = SoftwareVersion.from_dict(connexion.request.get_json()) # noqa: E501 return query_manager.post_resource( user=user, body=software_version, rdf_type_uri=SOFTWAREVERSION_TYPE_URI, rdf_type_name=SOFTWAREVERSION_TYPE_NAME, kls=SoftwareVersion)
def causaldiagrams_post(user=None, causal_diagram=None): # noqa: E501 """Create one CausalDiagram Create a new instance of CausalDiagram (more information in https://w3id.org/okn/o/sdm#CausalDiagram) # noqa: E501 :param user: Username :type user: str :param causal_diagram: Information about the CausalDiagramto be created :type causal_diagram: dict | bytes :rtype: CausalDiagram """ if connexion.request.is_json: causal_diagram = CausalDiagram.from_dict(connexion.request.get_json()) # noqa: E501 return query_manager.post_resource( user=user, body=causal_diagram, rdf_type_uri=CAUSALDIAGRAM_TYPE_URI, rdf_type_name=CAUSALDIAGRAM_TYPE_NAME, kls=CausalDiagram)
def variables_post(user=None, variable=None): # noqa: E501 """Create one Variable Create a new instance of Variable (more information in https://w3id.org/okn/o/sd#Variable) # noqa: E501 :param user: Username :type user: str :param variable: Information about the Variableto be created :type variable: dict | bytes :rtype: Variable """ if connexion.request.is_json: variable = Variable.from_dict(connexion.request.get_json()) # noqa: E501 return query_manager.post_resource( user=user, body=variable, rdf_type_uri=VARIABLE_TYPE_URI, rdf_type_name=VARIABLE_TYPE_NAME, kls=Variable)
def equations_post(user=None, equation=None): # noqa: E501 """Create one Equation Create a new instance of Equation (more information in https://w3id.org/okn/o/sdm#Equation) # noqa: E501 :param user: Username :type user: str :param equation: Information about the Equationto be created :type equation: dict | bytes :rtype: Equation """ if connexion.request.is_json: equation = Equation.from_dict(connexion.request.get_json()) # noqa: E501 return query_manager.post_resource( user=user, body=equation, rdf_type_uri=EQUATION_TYPE_URI, rdf_type_name=EQUATION_TYPE_NAME, kls=Equation)
def pointbasedgrids_post(user=None, point_based_grid=None): # noqa: E501 """Create one PointBasedGrid Create a new instance of PointBasedGrid (more information in https://w3id.org/okn/o/sdm#PointBasedGrid) # noqa: E501 :param user: Username :type user: str :param point_based_grid: Information about the PointBasedGridto be created :type point_based_grid: dict | bytes :rtype: PointBasedGrid """ if connexion.request.is_json: point_based_grid = PointBasedGrid.from_dict( connexion.request.get_json()) # noqa: E501 return query_manager.post_resource(user=user, body=point_based_grid, rdf_type_uri=POINTBASEDGRID_TYPE_URI, rdf_type_name=POINTBASEDGRID_TYPE_NAME, kls=PointBasedGrid)
def theory_guidedmodels_post(user=None, theory_guided_model=None): # noqa: E501 """Create one Theory-GuidedModel Create a new instance of Theory-GuidedModel (more information in https://w3id.org/okn/o/sdm#Theory-GuidedModel) # noqa: E501 :param user: Username :type user: str :param theory_guided_model: Information about the Theory-GuidedModelto be created :type theory_guided_model: dict | bytes :rtype: TheoryGuidedModel """ if connexion.request.is_json: theory_guided_model = TheoryGuidedModel.from_dict(connexion.request.get_json()) # noqa: E501 return query_manager.post_resource( user=user, body=theory_guided_model, rdf_type_uri=THEORYGUIDEDMODEL_TYPE_URI, rdf_type_name=THEORYGUIDEDMODEL_TYPE_NAME, kls=TheoryGuidedModel)
def parameters_post(user=None, parameter=None): # noqa: E501 """Create one Parameter Create a new instance of Parameter (more information in https://w3id.org/okn/o/sd#Parameter) # noqa: E501 :param user: Username :type user: str :param parameter: Information about the Parameterto be created :type parameter: dict | bytes :rtype: Parameter """ if connexion.request.is_json: parameter = Parameter.from_dict( connexion.request.get_json()) # noqa: E501 return query_manager.post_resource(user=user, body=parameter, rdf_type_uri=PARAMETER_TYPE_URI, rdf_type_name=PARAMETER_TYPE_NAME, kls=Parameter)
def emulators_post(user=None, emulator=None): # noqa: E501 """Create one Emulator Create a new instance of Emulator (more information in https://w3id.org/okn/o/sdm#Emulator) # noqa: E501 :param user: Username :type user: str :param emulator: Information about the Emulatorto be created :type emulator: dict | bytes :rtype: Emulator """ if connexion.request.is_json: emulator = Emulator.from_dict( connexion.request.get_json()) # noqa: E501 return query_manager.post_resource(user=user, body=emulator, rdf_type_uri=EMULATOR_TYPE_URI, rdf_type_name=EMULATOR_TYPE_NAME, kls=Emulator)
def geoshapes_post(user=None, geo_shape=None): # noqa: E501 """Create one GeoShape Create a new instance of GeoShape (more information in https://w3id.org/okn/o/sdm#GeoShape) # noqa: E501 :param user: Username :type user: str :param geo_shape: Information about the GeoShapeto be created :type geo_shape: dict | bytes :rtype: GeoShape """ if connexion.request.is_json: geo_shape = GeoShape.from_dict( connexion.request.get_json()) # noqa: E501 return query_manager.post_resource(user=user, body=geo_shape, rdf_type_uri=GEOSHAPE_TYPE_URI, rdf_type_name=GEOSHAPE_TYPE_NAME, kls=GeoShape)
def geocoordinatess_post(user=None, geo_coordinates=None): # noqa: E501 """Create one GeoCoordinates Create a new instance of GeoCoordinates (more information in https://w3id.org/okn/o/sdm#GeoCoordinates) # noqa: E501 :param user: Username :type user: str :param geo_coordinates: Information about the GeoCoordinatesto be created :type geo_coordinates: dict | bytes :rtype: GeoCoordinates """ if connexion.request.is_json: geo_coordinates = GeoCoordinates.from_dict(connexion.request.get_json()) # noqa: E501 return query_manager.post_resource( user=user, body=geo_coordinates, rdf_type_uri=GEOCOORDINATES_TYPE_URI, rdf_type_name=GEOCOORDINATES_TYPE_NAME, kls=GeoCoordinates)
def numericalindexs_post(user=None, numerical_index=None): # noqa: E501 """Create one NumericalIndex Create a new instance of NumericalIndex (more information in https://w3id.org/okn/o/sd#NumericalIndex) # noqa: E501 :param user: Username :type user: str :param numerical_index: Information about the NumericalIndexto be created :type numerical_index: dict | bytes :rtype: NumericalIndex """ if connexion.request.is_json: numerical_index = NumericalIndex.from_dict(connexion.request.get_json()) # noqa: E501 return query_manager.post_resource( user=user, body=numerical_index, rdf_type_uri=NUMERICALINDEX_TYPE_URI, rdf_type_name=NUMERICALINDEX_TYPE_NAME, kls=NumericalIndex)
def catalogidentifiers_post(user=None, catalog_identifier=None): # noqa: E501 """Create one CatalogIdentifier Create a new instance of CatalogIdentifier (more information in https://w3id.org/okn/o/sd#CatalogIdentifier) # noqa: E501 :param user: Username :type user: str :param catalog_identifier: Information about the CatalogIdentifierto be created :type catalog_identifier: dict | bytes :rtype: CatalogIdentifier """ if connexion.request.is_json: catalog_identifier = CatalogIdentifier.from_dict(connexion.request.get_json()) # noqa: E501 return query_manager.post_resource( user=user, body=catalog_identifier, rdf_type_uri=CATALOGIDENTIFIER_TYPE_URI, rdf_type_name=CATALOGIDENTIFIER_TYPE_NAME, kls=CatalogIdentifier)
def visualizations_post(user=None, visualization=None): # noqa: E501 """Create one Visualization Create a new instance of Visualization (more information in https://w3id.org/okn/o/sd#Visualization) # noqa: E501 :param user: Username :type user: str :param visualization: Information about the Visualizationto be created :type visualization: dict | bytes :rtype: Visualization """ if connexion.request.is_json: visualization = Visualization.from_dict( connexion.request.get_json()) # noqa: E501 return query_manager.post_resource(user=user, body=visualization, rdf_type_uri=VISUALIZATION_TYPE_URI, rdf_type_name=VISUALIZATION_TYPE_NAME, kls=Visualization)
def sampleexecutions_post(user=None, sample_execution=None): # noqa: E501 """Create one SampleExecution Create a new instance of SampleExecution (more information in https://w3id.org/okn/o/sd#SampleExecution) # noqa: E501 :param user: Username :type user: str :param sample_execution: Information about the SampleExecutionto be created :type sample_execution: dict | bytes :rtype: SampleExecution """ if connexion.request.is_json: sample_execution = SampleExecution.from_dict( connexion.request.get_json()) # noqa: E501 return query_manager.post_resource(user=user, body=sample_execution, rdf_type_uri=SAMPLEEXECUTION_TYPE_URI, rdf_type_name=SAMPLEEXECUTION_TYPE_NAME, kls=SampleExecution)
def sourcecodes_post(user=None, source_code=None): # noqa: E501 """Create one SourceCode Create a new instance of SourceCode (more information in https://w3id.org/okn/o/sd#SourceCode) # noqa: E501 :param user: Username :type user: str :param source_code: Information about the SourceCodeto be created :type source_code: dict | bytes :rtype: SourceCode """ if connexion.request.is_json: source_code = SourceCode.from_dict( connexion.request.get_json()) # noqa: E501 return query_manager.post_resource(user=user, body=source_code, rdf_type_uri=SOURCECODE_TYPE_URI, rdf_type_name=SOURCECODE_TYPE_NAME, kls=SourceCode)
def constraints_post(user=None, constraint=None): # noqa: E501 """Create one Constraint Create a new instance of Constraint (more information in https://w3id.org/okn/o/sd#Constraint) # noqa: E501 :param user: Username :type user: str :param constraint: Information about the Constraintto be created :type constraint: dict | bytes :rtype: Constraint """ if connexion.request.is_json: constraint = Constraint.from_dict( connexion.request.get_json()) # noqa: E501 return query_manager.post_resource(user=user, body=constraint, rdf_type_uri=CONSTRAINT_TYPE_URI, rdf_type_name=CONSTRAINT_TYPE_NAME, kls=Constraint)
def sampleresources_post(user=None, sample_resource=None): # noqa: E501 """Create one SampleResource Create a new instance of SampleResource (more information in https://w3id.org/okn/o/sd#SampleResource) # noqa: E501 :param user: Username :type user: str :param sample_resource: Information about the SampleResourceto be created :type sample_resource: dict | bytes :rtype: SampleResource """ if connexion.request.is_json: sample_resource = SampleResource.from_dict( connexion.request.get_json()) # noqa: E501 return query_manager.post_resource(user=user, body=sample_resource, rdf_type_uri=SAMPLERESOURCE_TYPE_URI, rdf_type_name=SAMPLERESOURCE_TYPE_NAME, kls=SampleResource)
def interventions_post(user=None, intervention=None): # noqa: E501 """Create one Intervention Create a new instance of Intervention (more information in https://w3id.org/okn/o/sdm#Intervention) # noqa: E501 :param user: Username :type user: str :param intervention: Information about the Interventionto be created :type intervention: dict | bytes :rtype: Intervention """ if connexion.request.is_json: intervention = Intervention.from_dict( connexion.request.get_json()) # noqa: E501 return query_manager.post_resource(user=user, body=intervention, rdf_type_uri=INTERVENTION_TYPE_URI, rdf_type_name=INTERVENTION_TYPE_NAME, kls=Intervention)
def empiricalmodels_post(user=None, empirical_model=None): # noqa: E501 """Create one EmpiricalModel Create a new instance of EmpiricalModel (more information in https://w3id.org/okn/o/sdm#EmpiricalModel) # noqa: E501 :param user: Username :type user: str :param empirical_model: Information about the EmpiricalModelto be created :type empirical_model: dict | bytes :rtype: EmpiricalModel """ if connexion.request.is_json: empirical_model = EmpiricalModel.from_dict( connexion.request.get_json()) # noqa: E501 return query_manager.post_resource(user=user, body=empirical_model, rdf_type_uri=EMPIRICALMODEL_TYPE_URI, rdf_type_name=EMPIRICALMODEL_TYPE_NAME, kls=EmpiricalModel)
def organizations_post(user=None, organization=None): # noqa: E501 """Create one Organization Create a new instance of Organization (more information in https://w3id.org/okn/o/sd#Organization) # noqa: E501 :param user: Username :type user: str :param organization: Information about the Organizationto be created :type organization: dict | bytes :rtype: Organization """ if connexion.request.is_json: organization = Organization.from_dict( connexion.request.get_json()) # noqa: E501 return query_manager.post_resource(user=user, body=organization, rdf_type_uri=ORGANIZATION_TYPE_URI, rdf_type_name=ORGANIZATION_TYPE_NAME, kls=Organization)