1# coding: utf-8
2# Copyright (c) 2016, 2021, Oracle and/or its affiliates.  All rights reserved.
3# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
4
5
6from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel  # noqa: F401
7from oci.decorators import init_model_state_from_kwargs
8
9
10@init_model_state_from_kwargs
11class UpdateRRSetDetails(object):
12    """
13    UpdateRRSetDetails model.
14    """
15
16    def __init__(self, **kwargs):
17        """
18        Initializes a new UpdateRRSetDetails object with values from keyword arguments.
19        The following keyword arguments are supported (corresponding to the getters/setters of this class):
20
21        :param items:
22            The value to assign to the items property of this UpdateRRSetDetails.
23        :type items: list[oci.dns.models.RecordDetails]
24
25        """
26        self.swagger_types = {
27            'items': 'list[RecordDetails]'
28        }
29
30        self.attribute_map = {
31            'items': 'items'
32        }
33
34        self._items = None
35
36    @property
37    def items(self):
38        """
39        Gets the items of this UpdateRRSetDetails.
40
41        :return: The items of this UpdateRRSetDetails.
42        :rtype: list[oci.dns.models.RecordDetails]
43        """
44        return self._items
45
46    @items.setter
47    def items(self, items):
48        """
49        Sets the items of this UpdateRRSetDetails.
50
51        :param items: The items of this UpdateRRSetDetails.
52        :type: list[oci.dns.models.RecordDetails]
53        """
54        self._items = items
55
56    def __repr__(self):
57        return formatted_flat_dict(self)
58
59    def __eq__(self, other):
60        if other is None:
61            return False
62
63        return self.__dict__ == other.__dict__
64
65    def __ne__(self, other):
66        return not self == other
67