3 fY@s8dZddlmZddlmZddlZGdddeZdS)z Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1.7.4 Generated by: https://github.com/swagger-api/swagger-codegen.git )pformat) iteritemsNc@seZdZdZdddZeddZejddZedd Zejd d Zed d Z e jd d Z eddZ e jddZ eddZ e jddZ ddZ ddZ ddZddZddZdS)V1beta1ReplicaSetzw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. NcCsFdddddd|_dddd d d|_||_||_||_||_||_d S) aG V1beta1ReplicaSet - a model defined in Swagger :param dict swaggerTypes: The key is attribute name and the value is attribute type. :param dict attributeMap: The key is attribute name and the value is json key in definition. str V1ObjectMetaV1beta1ReplicaSetSpecV1beta1ReplicaSetStatus) api_versionkindmetadataspecstatus apiVersionr r r r N) swagger_types attribute_map _api_version_kind _metadata_spec_status)selfr r r r r r]/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v1beta1_replica_set.py__init__s   zV1beta1ReplicaSet.__init__cCs|jS)a Gets the api_version of this V1beta1ReplicaSet. APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :return: The api_version of this V1beta1ReplicaSet. :rtype: str )r)rrrrr 7s zV1beta1ReplicaSet.api_versioncCs ||_dS)a Sets the api_version of this V1beta1ReplicaSet. APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :param api_version: The api_version of this V1beta1ReplicaSet. :type: str N)r)rr rrrr Bs cCs|jS)a Gets the kind of this V1beta1ReplicaSet. Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :return: The kind of this V1beta1ReplicaSet. :rtype: str )r)rrrrr Ns zV1beta1ReplicaSet.kindcCs ||_dS)a Sets the kind of this V1beta1ReplicaSet. Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :param kind: The kind of this V1beta1ReplicaSet. :type: str N)r)rr rrrr Ys cCs|jS)a Gets the metadata of this V1beta1ReplicaSet. If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata :return: The metadata of this V1beta1ReplicaSet. :rtype: V1ObjectMeta )r)rrrrr es zV1beta1ReplicaSet.metadatacCs ||_dS)a Sets the metadata of this V1beta1ReplicaSet. If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata :param metadata: The metadata of this V1beta1ReplicaSet. :type: V1ObjectMeta N)r)rr rrrr ps cCs|jS)aF Gets the spec of this V1beta1ReplicaSet. Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status :return: The spec of this V1beta1ReplicaSet. :rtype: V1beta1ReplicaSetSpec )r)rrrrr |s zV1beta1ReplicaSet.speccCs ||_dS)aI Sets the spec of this V1beta1ReplicaSet. Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status :param spec: The spec of this V1beta1ReplicaSet. :type: V1beta1ReplicaSetSpec N)r)rr rrrr s cCs|jS)a Gets the status of this V1beta1ReplicaSet. Status is the most recently observed status of the ReplicaSet. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status :return: The status of this V1beta1ReplicaSet. :rtype: V1beta1ReplicaSetStatus )r)rrrrr s zV1beta1ReplicaSet.statuscCs ||_dS)a Sets the status of this V1beta1ReplicaSet. Status is the most recently observed status of the ReplicaSet. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status :param status: The status of this V1beta1ReplicaSet. :type: V1beta1ReplicaSetStatus N)r)rr rrrr s cCsi}xt|jD]z\}}t||}t|trDttdd|||<qt|dr\|j||<qt|trttdd|j ||<q|||<qW|S)z8 Returns the model properties as a dict cSst|dr|jS|S)Nto_dict)hasattrr)xrrrsz+V1beta1ReplicaSet.to_dict..rcSs&t|ddr"|d|djfS|S)Nrr)rr)itemrrrrs) rrgetattr isinstancelistmaprrdictitems)rresultattr_valuerrrrs     zV1beta1ReplicaSet.to_dictcCs t|jS)z@ Returns the string representation of the model )rr)rrrrto_strszV1beta1ReplicaSet.to_strcCs|jS)z* For `print` and `pprint` )r*)rrrr__repr__szV1beta1ReplicaSet.__repr__cCst|tsdS|j|jkS)z8 Returns true if both objects are equal F)r!r__dict__)rotherrrr__eq__s zV1beta1ReplicaSet.__eq__cCs ||k S)z< Returns true if both objects are not equal r)rr-rrr__ne__szV1beta1ReplicaSet.__ne__)NNNNN)__name__ __module__ __qualname____doc__rpropertyr setterr r r r rr*r+r.r/rrrrrs"        r)r3pprintrsixrreobjectrrrrr s