Skip to content

Commit

Permalink
Update common.py
Browse files Browse the repository at this point in the history
  • Loading branch information
FrantzT authored Jul 28, 2020
1 parent e880384 commit a734bb4
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions k8s/models/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,24 @@ class ObjectMeta(Model):
selfLink = ReadOnlyField(six.text_type)
uid = ReadOnlyField(six.text_type)

class ObjectReference(Model):
apiVersion = Field(six.text_type)
fieldPath = Field(six.text_type)
kind = Field(six.text_type)
name = Field(six.text_type)
namespace = Field(six.text_type)
resourceVersion = Field(six.text_type)
uid = Field(six.text_type)

class ListMeta(Model):

#continue = Field(six.text_type) // continue cant be used as variable name (restrictade name), I am not sure how this can be fixed
remainingItemCount = Field(int)
resourceVersion = Field(six.text_type)
selfLink = Field(six.text_type)

class Time(Model):
pass

class Preconditions(Model):
resourceVersion = Field(six.text_type)
Expand Down

0 comments on commit a734bb4

Please sign in to comment.