33# Copyright 2019-Present Datadog, Inc.
44from __future__ import annotations
55
6- from typing import Union , TYPE_CHECKING
6+ from typing import List , Union , TYPE_CHECKING
77
88from datadog_api_client .model_utils import (
99 ModelNormal ,
@@ -26,6 +26,7 @@ def openapi_types(_):
2626 "alias" : (str ,),
2727 "description" : (str ,),
2828 "index" : (int ,),
29+ "ip_addresses" : ([str ],),
2930 "mac_address" : (str ,),
3031 "name" : (str ,),
3132 "status" : (InterfaceAttributesStatus ,),
@@ -35,6 +36,7 @@ def openapi_types(_):
3536 "alias" : "alias" ,
3637 "description" : "description" ,
3738 "index" : "index" ,
39+ "ip_addresses" : "ip_addresses" ,
3840 "mac_address" : "mac_address" ,
3941 "name" : "name" ,
4042 "status" : "status" ,
@@ -45,6 +47,7 @@ def __init__(
4547 alias : Union [str , UnsetType ] = unset ,
4648 description : Union [str , UnsetType ] = unset ,
4749 index : Union [int , UnsetType ] = unset ,
50+ ip_addresses : Union [List [str ], UnsetType ] = unset ,
4851 mac_address : Union [str , UnsetType ] = unset ,
4952 name : Union [str , UnsetType ] = unset ,
5053 status : Union [InterfaceAttributesStatus , UnsetType ] = unset ,
@@ -62,6 +65,9 @@ def __init__(
6265 :param index: The interface index
6366 :type index: int, optional
6467
68+ :param ip_addresses: The interface IP addresses
69+ :type ip_addresses: [str], optional
70+
6571 :param mac_address: The interface MAC address
6672 :type mac_address: str, optional
6773
@@ -77,6 +83,8 @@ def __init__(
7783 kwargs ["description" ] = description
7884 if index is not unset :
7985 kwargs ["index" ] = index
86+ if ip_addresses is not unset :
87+ kwargs ["ip_addresses" ] = ip_addresses
8088 if mac_address is not unset :
8189 kwargs ["mac_address" ] = mac_address
8290 if name is not unset :
0 commit comments