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 UpdateSteeringPolicyAttachmentDetails(object):
12    """
13    The body for updating a steering policy attachment.
14
15
16    **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.
17    """
18
19    def __init__(self, **kwargs):
20        """
21        Initializes a new UpdateSteeringPolicyAttachmentDetails object with values from keyword arguments.
22        The following keyword arguments are supported (corresponding to the getters/setters of this class):
23
24        :param display_name:
25            The value to assign to the display_name property of this UpdateSteeringPolicyAttachmentDetails.
26        :type display_name: str
27
28        """
29        self.swagger_types = {
30            'display_name': 'str'
31        }
32
33        self.attribute_map = {
34            'display_name': 'displayName'
35        }
36
37        self._display_name = None
38
39    @property
40    def display_name(self):
41        """
42        Gets the display_name of this UpdateSteeringPolicyAttachmentDetails.
43        A user-friendly name for the steering policy attachment.
44        Does not have to be unique and can be changed.
45        Avoid entering confidential information.
46
47
48        :return: The display_name of this UpdateSteeringPolicyAttachmentDetails.
49        :rtype: str
50        """
51        return self._display_name
52
53    @display_name.setter
54    def display_name(self, display_name):
55        """
56        Sets the display_name of this UpdateSteeringPolicyAttachmentDetails.
57        A user-friendly name for the steering policy attachment.
58        Does not have to be unique and can be changed.
59        Avoid entering confidential information.
60
61
62        :param display_name: The display_name of this UpdateSteeringPolicyAttachmentDetails.
63        :type: str
64        """
65        self._display_name = display_name
66
67    def __repr__(self):
68        return formatted_flat_dict(self)
69
70    def __eq__(self, other):
71        if other is None:
72            return False
73
74        return self.__dict__ == other.__dict__
75
76    def __ne__(self, other):
77        return not self == other
78