Package org.apache.juneau.bean.openapi3
Class OpenApiCopyUtils
java.lang.Object
org.apache.juneau.commons.utils.CopyUtils
org.apache.juneau.bean.openapi3.OpenApiCopyUtils
Copy utilities for the OpenAPI 3.0 bean module.
Extends CopyUtils so that a single static-import-on-demand of this class
(
See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ComponentscopyOf(Components value) Null-safe copy: returns a deep copy of the specified value, ornull if the value isnull .static ContactNull-safe copy: returns a deep copy of the specified value, ornull if the value isnull .static DiscriminatorcopyOf(Discriminator value) Null-safe copy: returns a deep copy of the specified value, ornull if the value isnull .static ExternalDocumentationcopyOf(ExternalDocumentation value) Null-safe copy: returns a deep copy of the specified value, ornull if the value isnull .static InfoNull-safe copy: returns a deep copy of the specified value, ornull if the value isnull .static ItemsNull-safe copy: returns a deep copy of the specified value, ornull if the value isnull .static LicenseNull-safe copy: returns a deep copy of the specified value, ornull if the value isnull .static OAuthFlowNull-safe copy: returns a deep copy of the specified value, ornull if the value isnull .static OperationNull-safe copy: returns a deep copy of the specified value, ornull if the value isnull .static RequestBodyInfocopyOf(RequestBodyInfo value) Null-safe copy: returns a deep copy of the specified value, ornull if the value isnull .static SchemaInfocopyOf(SchemaInfo value) Null-safe copy: returns a deep copy of the specified value, ornull if the value isnull .static ServerNull-safe copy: returns a deep copy of the specified value, ornull if the value isnull .static XmlNull-safe copy: returns a deep copy of the specified value, ornull if the value isnull .
-
Constructor Details
-
OpenApiCopyUtils
protected OpenApiCopyUtils()Constructor.
-
-
Method Details
-
copyOf
Null-safe copy: returns a deep copy of the specified value, ornull if the value isnull .- Parameters:
value- The value to copy. Can benull (returnsnull ).- Returns:
- A copy of the value, or
null if the value wasnull .
-
copyOf
Null-safe copy: returns a deep copy of the specified value, ornull if the value isnull .- Parameters:
value- The value to copy. Can benull (returnsnull ).- Returns:
- A copy of the value, or
null if the value wasnull .
-
copyOf
Null-safe copy: returns a deep copy of the specified value, ornull if the value isnull .- Parameters:
value- The value to copy. Can benull (returnsnull ).- Returns:
- A copy of the value, or
null if the value wasnull .
-
copyOf
Null-safe copy: returns a deep copy of the specified value, ornull if the value isnull .- Parameters:
value- The value to copy. Can benull (returnsnull ).- Returns:
- A copy of the value, or
null if the value wasnull .
-
copyOf
Null-safe copy: returns a deep copy of the specified value, ornull if the value isnull .- Parameters:
value- The value to copy. Can benull (returnsnull ).- Returns:
- A copy of the value, or
null if the value wasnull .
-
copyOf
Null-safe copy: returns a deep copy of the specified value, ornull if the value isnull .- Parameters:
value- The value to copy. Can benull (returnsnull ).- Returns:
- A copy of the value, or
null if the value wasnull .
-
copyOf
Null-safe copy: returns a deep copy of the specified value, ornull if the value isnull .- Parameters:
value- The value to copy. Can benull (returnsnull ).- Returns:
- A copy of the value, or
null if the value wasnull .
-
copyOf
Null-safe copy: returns a deep copy of the specified value, ornull if the value isnull .- Parameters:
value- The value to copy. Can benull (returnsnull ).- Returns:
- A copy of the value, or
null if the value wasnull .
-
copyOf
Null-safe copy: returns a deep copy of the specified value, ornull if the value isnull .- Parameters:
value- The value to copy. Can benull (returnsnull ).- Returns:
- A copy of the value, or
null if the value wasnull .
-
copyOf
Null-safe copy: returns a deep copy of the specified value, ornull if the value isnull .- Parameters:
value- The value to copy. Can benull (returnsnull ).- Returns:
- A copy of the value, or
null if the value wasnull .
-
copyOf
Null-safe copy: returns a deep copy of the specified value, ornull if the value isnull .- Parameters:
value- The value to copy. Can benull (returnsnull ).- Returns:
- A copy of the value, or
null if the value wasnull .
-
copyOf
Null-safe copy: returns a deep copy of the specified value, ornull if the value isnull .- Parameters:
value- The value to copy. Can benull (returnsnull ).- Returns:
- A copy of the value, or
null if the value wasnull .
-
copyOf
Null-safe copy: returns a deep copy of the specified value, ornull if the value isnull .- Parameters:
value- The value to copy. Can benull (returnsnull ).- Returns:
- A copy of the value, or
null if the value wasnull .
-