File tree Expand file tree Collapse file tree 4 files changed +22
-0
lines changed
scaleway-async/scaleway_async/interlink/v1beta1
scaleway/scaleway/interlink/v1beta1 Expand file tree Collapse file tree 4 files changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -117,6 +117,12 @@ def unmarshal_Link(data: Any) -> Link:
117117 else :
118118 args ["updated_at" ] = None
119119
120+ field = data .get ("disapproved_reason" , None )
121+ if field is not None :
122+ args ["disapproved_reason" ] = field
123+ else :
124+ args ["disapproved_reason" ] = None
125+
120126 return Link (** args )
121127
122128
Original file line number Diff line number Diff line change @@ -173,6 +173,11 @@ class Link:
173173 Last modification date of the link.
174174 """
175175
176+ disapproved_reason : Optional [str ]
177+ """
178+ Reason given by partner to explain why they did not approve the request for a hosted link.
179+ """
180+
176181
177182@dataclass
178183class Partner :
Original file line number Diff line number Diff line change @@ -117,6 +117,12 @@ def unmarshal_Link(data: Any) -> Link:
117117 else :
118118 args ["updated_at" ] = None
119119
120+ field = data .get ("disapproved_reason" , None )
121+ if field is not None :
122+ args ["disapproved_reason" ] = field
123+ else :
124+ args ["disapproved_reason" ] = None
125+
120126 return Link (** args )
121127
122128
Original file line number Diff line number Diff line change @@ -173,6 +173,11 @@ class Link:
173173 Last modification date of the link.
174174 """
175175
176+ disapproved_reason : Optional [str ]
177+ """
178+ Reason given by partner to explain why they did not approve the request for a hosted link.
179+ """
180+
176181
177182@dataclass
178183class Partner :
You can’t perform that action at this time.
0 commit comments