= RepresentationTypeSimplifiedV2 _(enum)_
:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR  CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

== API

[source,java]
.RepresentationTypeSimplifiedV2.java
----
enum RepresentationTypeSimplifiedV2 {
  OBJECT     // <.>
  OBJECT_COLLECTION     // <.>
  OBJECT_PROPERTY     // <.>
  LIST     // <.>
  VALUE     // <.>
  VALUES     // <.>
  VOID     // <.>
  @Getter
final String typeLiteral;
  boolean isObject()
  boolean isObjectCollection()
  boolean isObjectProperty()
  boolean isList()
  boolean isValue()
  boolean isValues()
  boolean isVoid()
  String getContentTypeHeaderValue(String profileName)
  Optional<RepresentationTypeSimplifiedV2> parse(String typeLiteral)
  Optional<RepresentationTypeSimplifiedV2> parseContentTypeHeaderString(String contentTypeHeaderString)
}
----

<.> xref:#OBJECT[OBJECT]
+
--
The media type used as content-Type header when a domain object is rendered.
--
<.> xref:#OBJECT_COLLECTION[OBJECT_COLLECTION]
+
--
The media type used as content-Type header when a parented collection is rendered.
--
<.> xref:#OBJECT_PROPERTY[OBJECT_PROPERTY]
+
--
The media type used as content-Type header when an object property is rendered.
--
<.> xref:#LIST[LIST]
+
--
The media type used as content-Type header when a standalone collection is rendered.
--
<.> xref:#VALUE[VALUE]
+
--
The media type used as content-Type header when a single (nullable) value is rendered.
--
<.> xref:#VALUES[VALUES]
+
--
The media type used as content-Type header when a list of values is rendered.
--
<.> xref:#VOID[VOID]
+
--
The media type used as content-Type header when a void action result is rendered.
--

== Members

[#OBJECT]
=== OBJECT

The media type used as content-Type header when a domain object is rendered.

[#OBJECT_COLLECTION]
=== OBJECT_COLLECTION

The media type used as content-Type header when a parented collection is rendered.

[#OBJECT_PROPERTY]
=== OBJECT_PROPERTY

The media type used as content-Type header when an object property is rendered.

[#LIST]
=== LIST

The media type used as content-Type header when a standalone collection is rendered.

[#VALUE]
=== VALUE

The media type used as content-Type header when a single (nullable) value is rendered.

[#VALUES]
=== VALUES

The media type used as content-Type header when a list of values is rendered.

[#VOID]
=== VOID

The media type used as content-Type header when a void action result is rendered.
