All Downloads are FREE. Search and download functionalities are using the official Maven repository.

Java.libraries.jersey3.model_oneof_doc.mustache Maven / Gradle / Ivy

There is a newer version: 7.9.0
Show newest version
# {{classname}}

{{#description}}
{{&description}}

{{/description}}
## oneOf schemas
{{#oneOf}}
* [{{{.}}}]({{{.}}}.md)
{{/oneOf}}

{{#isNullable}}
NOTE: this class is nullable.

{{/isNullable}}
## Example
```java
// Import classes:
import {{{package}}}.{{{classname}}};
{{#oneOf}}
import {{{package}}}.{{{.}}};
{{/oneOf}}

public class Example {
    public static void main(String[] args) {
        {{classname}} example{{classname}} = new {{classname}}();
        {{#oneOf}}

        // create a new {{{.}}}
        {{{.}}} example{{{.}}} = new {{{.}}}();
        // set {{{classname}}} to {{{.}}}
        example{{classname}}.setActualInstance(example{{{.}}});
        // to get back the {{{.}}} set earlier
        {{{.}}} test{{{.}}} = ({{{.}}}) example{{classname}}.getActualInstance();
        {{/oneOf}}
    }
}
```




© 2015 - 2024 Weber Informatics LLC | Privacy Policy