ruạṛ
# 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: 20200630 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 ScriptParameter(object): """ Details of the script parameters, paramName must be from the script content and these details can be used to overwrite the default parameter present in the script content. """ def __init__(self, **kwargs): """ Initializes a new ScriptParameter object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param param_name: The value to assign to the param_name property of this ScriptParameter. :type param_name: str :param param_value: The value to assign to the param_value property of this ScriptParameter. :type param_value: str :param is_secret: The value to assign to the is_secret property of this ScriptParameter. :type is_secret: bool """ self.swagger_types = { 'param_name': 'str', 'param_value': 'str', 'is_secret': 'bool' } self.attribute_map = { 'param_name': 'paramName', 'param_value': 'paramValue', 'is_secret': 'isSecret' } self._param_name = None self._param_value = None self._is_secret = None @property def param_name(self): """ **[Required]** Gets the param_name of this ScriptParameter. Name of the parameter. :return: The param_name of this ScriptParameter. :rtype: str """ return self._param_name @param_name.setter def param_name(self, param_name): """ Sets the param_name of this ScriptParameter. Name of the parameter. :param param_name: The param_name of this ScriptParameter. :type: str """ self._param_name = param_name @property def param_value(self): """ Gets the param_value of this ScriptParameter. Value of the parameter. :return: The param_value of this ScriptParameter. :rtype: str """ return self._param_value @param_value.setter def param_value(self, param_value): """ Sets the param_value of this ScriptParameter. Value of the parameter. :param param_value: The param_value of this ScriptParameter. :type: str """ self._param_value = param_value @property def is_secret(self): """ Gets the is_secret of this ScriptParameter. If the parameter value is secret and should be kept confidential, then set isSecret to true. :return: The is_secret of this ScriptParameter. :rtype: bool """ return self._is_secret @is_secret.setter def is_secret(self, is_secret): """ Sets the is_secret of this ScriptParameter. If the parameter value is secret and should be kept confidential, then set isSecret to true. :param is_secret: The is_secret of this ScriptParameter. :type: bool """ self._is_secret = is_secret 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
cải xoăn