# coding: utf-8
# Copyright (c) 2016, 2025, Oracle and/or its affiliates.  All rights reserved.
# 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.

# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20201210


from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel  # noqa: F401
from oci.decorators import init_model_state_from_kwargs


@init_model_state_from_kwargs
class CaBundleResponse(object):
    """
    Information about the CA Bundle of the rover node.
    """

    def __init__(self, **kwargs):
        """
        Initializes a new CaBundleResponse object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param rover_node_id:
            The value to assign to the rover_node_id property of this CaBundleResponse.
        :type rover_node_id: str

        :param ca_details:
            The value to assign to the ca_details property of this CaBundleResponse.
        :type ca_details: oci.rover.models.CaDetails

        """
        self.swagger_types = {
            'rover_node_id': 'str',
            'ca_details': 'CaDetails'
        }
        self.attribute_map = {
            'rover_node_id': 'roverNodeId',
            'ca_details': 'caDetails'
        }
        self._rover_node_id = None
        self._ca_details = None

    @property
    def rover_node_id(self):
        """
        **[Required]** Gets the rover_node_id of this CaBundleResponse.
        rover node ocid


        :return: The rover_node_id of this CaBundleResponse.
        :rtype: str
        """
        return self._rover_node_id

    @rover_node_id.setter
    def rover_node_id(self, rover_node_id):
        """
        Sets the rover_node_id of this CaBundleResponse.
        rover node ocid


        :param rover_node_id: The rover_node_id of this CaBundleResponse.
        :type: str
        """
        self._rover_node_id = rover_node_id

    @property
    def ca_details(self):
        """
        Gets the ca_details of this CaBundleResponse.

        :return: The ca_details of this CaBundleResponse.
        :rtype: oci.rover.models.CaDetails
        """
        return self._ca_details

    @ca_details.setter
    def ca_details(self, ca_details):
        """
        Sets the ca_details of this CaBundleResponse.

        :param ca_details: The ca_details of this CaBundleResponse.
        :type: oci.rover.models.CaDetails
        """
        self._ca_details = ca_details

    def __repr__(self):
        return formatted_flat_dict(self)

    def __eq__(self, other):
        if other is None:
            return False

        return self.__dict__ == other.__dict__

    def __ne__(self, other):
        return not self == other
