-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7081923
commit 83bfd34
Showing
17 changed files
with
335 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,12 @@ | ||
# This file was generated by the Julia OpenAPI Code Generator | ||
# Do not modify this file directly. Modify the OpenAPI specification instead. | ||
|
||
include("models/model_BmiGetGridTypeResponse.jl") | ||
include("models/model_BmiInitializeRequest.jl") | ||
include("models/model_BmiSetValueAtIndicesRequest.jl") | ||
include("models/model_GetComponentNameResponse.jl") | ||
include("models/model_GetGridTypeResponse.jl") | ||
include("models/model_GetTimeUnitsResponse.jl") | ||
include("models/model_GetVarLocationResponseLocation.jl") | ||
include("models/model_GetVarTypeResponse.jl") | ||
include("models/model_GetVarUnitsResponse.jl") | ||
include("models/model_InitializeRequest.jl") | ||
include("models/model_ProblemDetails.jl") | ||
include("models/model_SetValueAtIndicesRequest.jl") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# This file was generated by the Julia OpenAPI Code Generator | ||
# Do not modify this file directly. Modify the OpenAPI specification instead. | ||
|
||
|
||
@doc raw"""GetComponentNameResponse | ||
GetComponentNameResponse(; | ||
name=nothing, | ||
) | ||
- name::String | ||
""" | ||
Base.@kwdef mutable struct GetComponentNameResponse <: OpenAPI.APIModel | ||
name::Union{Nothing, String} = nothing | ||
|
||
function GetComponentNameResponse(name, ) | ||
OpenAPI.validate_property(GetComponentNameResponse, Symbol("name"), name) | ||
return new(name, ) | ||
end | ||
end # type GetComponentNameResponse | ||
|
||
const _property_types_GetComponentNameResponse = Dict{Symbol,String}(Symbol("name")=>"String", ) | ||
OpenAPI.property_type(::Type{ GetComponentNameResponse }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_GetComponentNameResponse[name]))} | ||
|
||
function check_required(o::GetComponentNameResponse) | ||
o.name === nothing && (return false) | ||
true | ||
end | ||
|
||
function OpenAPI.validate_property(::Type{ GetComponentNameResponse }, name::Symbol, val) | ||
if name === Symbol("name") | ||
OpenAPI.validate_param(name, "GetComponentNameResponse", :minLength, val, 1) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# This file was generated by the Julia OpenAPI Code Generator | ||
# Do not modify this file directly. Modify the OpenAPI specification instead. | ||
|
||
|
||
@doc raw"""GetGridTypeResponse | ||
GetGridTypeResponse(; | ||
type=nothing, | ||
) | ||
- type::String | ||
""" | ||
Base.@kwdef mutable struct GetGridTypeResponse <: OpenAPI.APIModel | ||
type::Union{Nothing, String} = nothing | ||
|
||
function GetGridTypeResponse(type, ) | ||
OpenAPI.validate_property(GetGridTypeResponse, Symbol("type"), type) | ||
return new(type, ) | ||
end | ||
end # type GetGridTypeResponse | ||
|
||
const _property_types_GetGridTypeResponse = Dict{Symbol,String}(Symbol("type")=>"String", ) | ||
OpenAPI.property_type(::Type{ GetGridTypeResponse }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_GetGridTypeResponse[name]))} | ||
|
||
function check_required(o::GetGridTypeResponse) | ||
o.type === nothing && (return false) | ||
true | ||
end | ||
|
||
function OpenAPI.validate_property(::Type{ GetGridTypeResponse }, name::Symbol, val) | ||
if name === Symbol("type") | ||
OpenAPI.validate_param(name, "GetGridTypeResponse", :enum, val, ["scalar", "points", "vector", "unstructured", "structured_quadrilateral", "rectilinear", "uniform_rectilinear"]) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# This file was generated by the Julia OpenAPI Code Generator | ||
# Do not modify this file directly. Modify the OpenAPI specification instead. | ||
|
||
|
||
@doc raw"""GetTimeUnitsResponse | ||
GetTimeUnitsResponse(; | ||
units=nothing, | ||
) | ||
- units::String | ||
""" | ||
Base.@kwdef mutable struct GetTimeUnitsResponse <: OpenAPI.APIModel | ||
units::Union{Nothing, String} = nothing | ||
|
||
function GetTimeUnitsResponse(units, ) | ||
OpenAPI.validate_property(GetTimeUnitsResponse, Symbol("units"), units) | ||
return new(units, ) | ||
end | ||
end # type GetTimeUnitsResponse | ||
|
||
const _property_types_GetTimeUnitsResponse = Dict{Symbol,String}(Symbol("units")=>"String", ) | ||
OpenAPI.property_type(::Type{ GetTimeUnitsResponse }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_GetTimeUnitsResponse[name]))} | ||
|
||
function check_required(o::GetTimeUnitsResponse) | ||
o.units === nothing && (return false) | ||
true | ||
end | ||
|
||
function OpenAPI.validate_property(::Type{ GetTimeUnitsResponse }, name::Symbol, val) | ||
if name === Symbol("units") | ||
OpenAPI.validate_param(name, "GetTimeUnitsResponse", :minLength, val, 1) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.