kubernetes_asyncio.client.models.apiextensions_v1_service_reference module

Kubernetes

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501

The version of the OpenAPI document: v1.34.3 Generated by: https://openapi-generator.tech

class kubernetes_asyncio.client.models.apiextensions_v1_service_reference.ApiextensionsV1ServiceReference(name=None, namespace=None, path=None, port=None, local_vars_configuration=None)

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

attribute_map = {'name': 'name', 'namespace': 'namespace', 'path': 'path', 'port': 'port'}
property name

Gets the name of this ApiextensionsV1ServiceReference. # noqa: E501

name is the name of the service. Required # noqa: E501

Returns:

The name of this ApiextensionsV1ServiceReference. # noqa: E501

Return type:

str

property namespace

Gets the namespace of this ApiextensionsV1ServiceReference. # noqa: E501

namespace is the namespace of the service. Required # noqa: E501

Returns:

The namespace of this ApiextensionsV1ServiceReference. # noqa: E501

Return type:

str

openapi_types = {'name': 'str', 'namespace': 'str', 'path': 'str', 'port': 'int'}
property path

Gets the path of this ApiextensionsV1ServiceReference. # noqa: E501

path is an optional URL path at which the webhook will be contacted. # noqa: E501

Returns:

The path of this ApiextensionsV1ServiceReference. # noqa: E501

Return type:

str

property port

Gets the port of this ApiextensionsV1ServiceReference. # noqa: E501

port is an optional service port at which the webhook will be contacted. port should be a valid port number (1-65535, inclusive). Defaults to 443 for backward compatibility. # noqa: E501

Returns:

The port of this ApiextensionsV1ServiceReference. # noqa: E501

Return type:

int

to_dict(serialize=False)

Returns the model properties as a dict

to_str()

Returns the string representation of the model