489cbf3794f03b30202e9c686ddf21686f050d68
[vfc/gvnfm/vnflcm.git] / lcm / lcm / nf / serializers / link.py
1 # you may not use this file except in compliance with the License.
2 # You may obtain a copy of the License at
3 #
4 #         http://www.apache.org/licenses/LICENSE-2.0
5 #
6 # Unless required by applicable law or agreed to in writing, software
7 # distributed under the License is distributed on an "AS IS" BASIS,
8 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9 # See the License for the specific language governing permissions and
10 # limitations under the License.
11
12 from rest_framework import serializers
13
14
15 class LinkSerializer(serializers.Serializer):
16     href = serializers.CharField(
17         help_text="URI of the referenced resource.",
18         required=True,
19         allow_null=False,
20         allow_blank=False)