Skip to main content
Glama

AYX-MCP-Wrapper

by jupiterbak
dcme_credential_contract.py7.5 kB
# coding: utf-8 """ Alteryx Server API V3 No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 OpenAPI spec version: 3 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six from src.server_client.configuration import Configuration class DCMECredentialContract(object): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ """ Attributes: swagger_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is attribute name and the value is json key in definition. """ swagger_types = { "id": "str", "name": "str", "schema_name": "str", "user_name": "str", "parameters": "dict(str, object)", "secrets": "dict(str, DCMESecretContract)", } attribute_map = { "id": "id", "name": "name", "schema_name": "schemaName", "user_name": "userName", "parameters": "parameters", "secrets": "secrets", } def __init__( self, id=None, name=None, schema_name=None, user_name=None, parameters=None, secrets=None, _configuration=None ): # noqa: E501 """DCMECredentialContract - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() self._configuration = _configuration self._id = None self._name = None self._schema_name = None self._user_name = None self._parameters = None self._secrets = None self.discriminator = None if id is not None: self.id = id self.name = name self.schema_name = schema_name if user_name is not None: self.user_name = user_name self.parameters = parameters self.secrets = secrets @property def id(self): """Gets the id of this DCMECredentialContract. # noqa: E501 :return: The id of this DCMECredentialContract. # noqa: E501 :rtype: str """ return self._id @id.setter def id(self, id): """Sets the id of this DCMECredentialContract. :param id: The id of this DCMECredentialContract. # noqa: E501 :type: str """ self._id = id @property def name(self): """Gets the name of this DCMECredentialContract. # noqa: E501 :return: The name of this DCMECredentialContract. # noqa: E501 :rtype: str """ return self._name @name.setter def name(self, name): """Sets the name of this DCMECredentialContract. :param name: The name of this DCMECredentialContract. # noqa: E501 :type: str """ if self._configuration.client_side_validation and name is None: raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 self._name = name @property def schema_name(self): """Gets the schema_name of this DCMECredentialContract. # noqa: E501 :return: The schema_name of this DCMECredentialContract. # noqa: E501 :rtype: str """ return self._schema_name @schema_name.setter def schema_name(self, schema_name): """Sets the schema_name of this DCMECredentialContract. :param schema_name: The schema_name of this DCMECredentialContract. # noqa: E501 :type: str """ if self._configuration.client_side_validation and schema_name is None: raise ValueError("Invalid value for `schema_name`, must not be `None`") # noqa: E501 self._schema_name = schema_name @property def user_name(self): """Gets the user_name of this DCMECredentialContract. # noqa: E501 :return: The user_name of this DCMECredentialContract. # noqa: E501 :rtype: str """ return self._user_name @user_name.setter def user_name(self, user_name): """Sets the user_name of this DCMECredentialContract. :param user_name: The user_name of this DCMECredentialContract. # noqa: E501 :type: str """ self._user_name = user_name @property def parameters(self): """Gets the parameters of this DCMECredentialContract. # noqa: E501 :return: The parameters of this DCMECredentialContract. # noqa: E501 :rtype: dict(str, object) """ return self._parameters @parameters.setter def parameters(self, parameters): """Sets the parameters of this DCMECredentialContract. :param parameters: The parameters of this DCMECredentialContract. # noqa: E501 :type: dict(str, object) """ if self._configuration.client_side_validation and parameters is None: raise ValueError("Invalid value for `parameters`, must not be `None`") # noqa: E501 self._parameters = parameters @property def secrets(self): """Gets the secrets of this DCMECredentialContract. # noqa: E501 :return: The secrets of this DCMECredentialContract. # noqa: E501 :rtype: dict(str, DCMESecretContract) """ return self._secrets @secrets.setter def secrets(self, secrets): """Sets the secrets of this DCMECredentialContract. :param secrets: The secrets of this DCMECredentialContract. # noqa: E501 :type: dict(str, DCMESecretContract) """ if self._configuration.client_side_validation and secrets is None: raise ValueError("Invalid value for `secrets`, must not be `None`") # noqa: E501 self._secrets = secrets def to_dict(self): """Returns the model properties as a dict""" result = {} for attr, _ in six.iteritems(self.swagger_types): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map(lambda x: x.to_dict() if hasattr(x, "to_dict") else x, value)) elif hasattr(value, "to_dict"): result[attr] = value.to_dict() elif isinstance(value, dict): result[attr] = dict( map( lambda item: (item[0], item[1].to_dict()) if hasattr(item[1], "to_dict") else item, value.items(), ) ) else: result[attr] = value if issubclass(DCMECredentialContract, dict): for key, value in self.items(): result[key] = value return result def to_str(self): """Returns the string representation of the model""" return pprint.pformat(self.to_dict()) def __repr__(self): """For `print` and `pprint`""" return self.to_str() def __eq__(self, other): """Returns true if both objects are equal""" if not isinstance(other, DCMECredentialContract): return False return self.to_dict() == other.to_dict() def __ne__(self, other): """Returns true if both objects are not equal""" if not isinstance(other, DCMECredentialContract): return True return self.to_dict() != other.to_dict()

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jupiterbak/AYX-MCP-Wrapper'

If you have feedback or need assistance with the MCP directory API, please join our Discord server