Skip to content

Commit

Permalink
Auto generated from API Specifications for 20.10.15
Browse files Browse the repository at this point in the history
  • Loading branch information
nuagebot committed Jun 22, 2024
1 parent 1b5669e commit fb634fd
Show file tree
Hide file tree
Showing 5 changed files with 78 additions and 66 deletions.
35 changes: 18 additions & 17 deletions vspk/ipfilterprofile.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,23 +55,24 @@ type IPFilterProfilesParent interface {

// IPFilterProfile represents the model of a ipfilterprofile
type IPFilterProfile struct {
ID string `json:"ID,omitempty"`
ParentID string `json:"parentID,omitempty"`
ParentType string `json:"parentType,omitempty"`
Owner string `json:"owner,omitempty"`
Name string `json:"name,omitempty"`
LastUpdatedBy string `json:"lastUpdatedBy,omitempty"`
LastUpdatedDate string `json:"lastUpdatedDate,omitempty"`
Description string `json:"description,omitempty"`
BlobText string `json:"blobText,omitempty"`
BlobType string `json:"blobType,omitempty"`
EmbeddedMetadata []interface{} `json:"embeddedMetadata,omitempty"`
EntityScope string `json:"entityScope,omitempty"`
CreationDate string `json:"creationDate,omitempty"`
AssocEntityType string `json:"assocEntityType,omitempty"`
CustomerID int `json:"customerID,omitempty"`
Owner string `json:"owner,omitempty"`
ExternalID string `json:"externalID,omitempty"`
ID string `json:"ID,omitempty"`
ParentID string `json:"parentID,omitempty"`
ParentType string `json:"parentType,omitempty"`
Owner string `json:"owner,omitempty"`
Name string `json:"name,omitempty"`
LastUpdatedBy string `json:"lastUpdatedBy,omitempty"`
LastUpdatedDate string `json:"lastUpdatedDate,omitempty"`
Description string `json:"description,omitempty"`
BlobText string `json:"blobText,omitempty"`
BlobText_SRL_23_10 string `json:"blobText_SRL_23_10,omitempty"`
BlobType string `json:"blobType,omitempty"`
EmbeddedMetadata []interface{} `json:"embeddedMetadata,omitempty"`
EntityScope string `json:"entityScope,omitempty"`
CreationDate string `json:"creationDate,omitempty"`
AssocEntityType string `json:"assocEntityType,omitempty"`
CustomerID int `json:"customerID,omitempty"`
Owner string `json:"owner,omitempty"`
ExternalID string `json:"externalID,omitempty"`
}

// NewIPFilterProfile returns a new *IPFilterProfile
Expand Down
35 changes: 18 additions & 17 deletions vspk/ipv6filterprofile.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,23 +55,24 @@ type IPv6FilterProfilesParent interface {

// IPv6FilterProfile represents the model of a ipv6filterprofile
type IPv6FilterProfile struct {
ID string `json:"ID,omitempty"`
ParentID string `json:"parentID,omitempty"`
ParentType string `json:"parentType,omitempty"`
Owner string `json:"owner,omitempty"`
Name string `json:"name,omitempty"`
LastUpdatedBy string `json:"lastUpdatedBy,omitempty"`
LastUpdatedDate string `json:"lastUpdatedDate,omitempty"`
Description string `json:"description,omitempty"`
BlobText string `json:"blobText,omitempty"`
BlobType string `json:"blobType,omitempty"`
EmbeddedMetadata []interface{} `json:"embeddedMetadata,omitempty"`
EntityScope string `json:"entityScope,omitempty"`
CreationDate string `json:"creationDate,omitempty"`
AssocEntityType string `json:"assocEntityType,omitempty"`
CustomerID int `json:"customerID,omitempty"`
Owner string `json:"owner,omitempty"`
ExternalID string `json:"externalID,omitempty"`
ID string `json:"ID,omitempty"`
ParentID string `json:"parentID,omitempty"`
ParentType string `json:"parentType,omitempty"`
Owner string `json:"owner,omitempty"`
Name string `json:"name,omitempty"`
LastUpdatedBy string `json:"lastUpdatedBy,omitempty"`
LastUpdatedDate string `json:"lastUpdatedDate,omitempty"`
Description string `json:"description,omitempty"`
BlobText string `json:"blobText,omitempty"`
BlobText_SRL_23_10 string `json:"blobText_SRL_23_10,omitempty"`
BlobType string `json:"blobType,omitempty"`
EmbeddedMetadata []interface{} `json:"embeddedMetadata,omitempty"`
EntityScope string `json:"entityScope,omitempty"`
CreationDate string `json:"creationDate,omitempty"`
AssocEntityType string `json:"assocEntityType,omitempty"`
CustomerID int `json:"customerID,omitempty"`
Owner string `json:"owner,omitempty"`
ExternalID string `json:"externalID,omitempty"`
}

// NewIPv6FilterProfile returns a new *IPv6FilterProfile
Expand Down
31 changes: 16 additions & 15 deletions vspk/routingpolicy.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,21 +55,22 @@ type RoutingPoliciesParent interface {

// RoutingPolicy represents the model of a routingpolicy
type RoutingPolicy struct {
ID string `json:"ID,omitempty"`
ParentID string `json:"parentID,omitempty"`
ParentType string `json:"parentType,omitempty"`
Owner string `json:"owner,omitempty"`
Name string `json:"name,omitempty"`
DefaultAction string `json:"defaultAction,omitempty"`
Description string `json:"description,omitempty"`
EmbeddedMetadata []interface{} `json:"embeddedMetadata,omitempty"`
EntityScope string `json:"entityScope,omitempty"`
PolicyDefinition string `json:"policyDefinition,omitempty"`
PolicyUniqueID int `json:"policyUniqueID,omitempty"`
ContentType string `json:"contentType,omitempty"`
RoutingProtocol string `json:"routingProtocol,omitempty"`
CustomerID int `json:"CustomerID,omitempty"`
ExternalID string `json:"externalID,omitempty"`
ID string `json:"ID,omitempty"`
ParentID string `json:"parentID,omitempty"`
ParentType string `json:"parentType,omitempty"`
Owner string `json:"owner,omitempty"`
Name string `json:"name,omitempty"`
DefaultAction string `json:"defaultAction,omitempty"`
Description string `json:"description,omitempty"`
EmbeddedMetadata []interface{} `json:"embeddedMetadata,omitempty"`
EntityScope string `json:"entityScope,omitempty"`
PolicyDefinition string `json:"policyDefinition,omitempty"`
PolicyDefinition_SRL_23_10 string `json:"policyDefinition_SRL_23_10,omitempty"`
PolicyUniqueID int `json:"policyUniqueID,omitempty"`
ContentType string `json:"contentType,omitempty"`
RoutingProtocol string `json:"routingProtocol,omitempty"`
CustomerID int `json:"CustomerID,omitempty"`
ExternalID string `json:"externalID,omitempty"`
}

// NewRoutingPolicy returns a new *RoutingPolicy
Expand Down
35 changes: 18 additions & 17 deletions vspk/sapingressqosprofile.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,23 +55,24 @@ type SAPIngressQoSProfilesParent interface {

// SAPIngressQoSProfile represents the model of a sapingressqosprofile
type SAPIngressQoSProfile struct {
ID string `json:"ID,omitempty"`
ParentID string `json:"parentID,omitempty"`
ParentType string `json:"parentType,omitempty"`
Owner string `json:"owner,omitempty"`
Name string `json:"name,omitempty"`
LastUpdatedBy string `json:"lastUpdatedBy,omitempty"`
LastUpdatedDate string `json:"lastUpdatedDate,omitempty"`
Description string `json:"description,omitempty"`
BlobText string `json:"blobText,omitempty"`
BlobType string `json:"blobType,omitempty"`
EmbeddedMetadata []interface{} `json:"embeddedMetadata,omitempty"`
EntityScope string `json:"entityScope,omitempty"`
CreationDate string `json:"creationDate,omitempty"`
AssocEntityType string `json:"assocEntityType,omitempty"`
CustomerID int `json:"customerID,omitempty"`
Owner string `json:"owner,omitempty"`
ExternalID string `json:"externalID,omitempty"`
ID string `json:"ID,omitempty"`
ParentID string `json:"parentID,omitempty"`
ParentType string `json:"parentType,omitempty"`
Owner string `json:"owner,omitempty"`
Name string `json:"name,omitempty"`
LastUpdatedBy string `json:"lastUpdatedBy,omitempty"`
LastUpdatedDate string `json:"lastUpdatedDate,omitempty"`
Description string `json:"description,omitempty"`
BlobText string `json:"blobText,omitempty"`
BlobText_SRL_23_10 string `json:"blobText_SRL_23_10,omitempty"`
BlobType string `json:"blobType,omitempty"`
EmbeddedMetadata []interface{} `json:"embeddedMetadata,omitempty"`
EntityScope string `json:"entityScope,omitempty"`
CreationDate string `json:"creationDate,omitempty"`
AssocEntityType string `json:"assocEntityType,omitempty"`
CustomerID int `json:"customerID,omitempty"`
Owner string `json:"owner,omitempty"`
ExternalID string `json:"externalID,omitempty"`
}

// NewSAPIngressQoSProfile returns a new *SAPIngressQoSProfile
Expand Down
8 changes: 8 additions & 0 deletions vspk/subnet.go
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,14 @@ func (o *Subnet) AssignIKEGatewayConnections(children IKEGatewayConnectionsList)
return bambou.CurrentSession().AssignChildren(o, list, IKEGatewayConnectionIdentity)
}

// FloatingIps retrieves the list of child FloatingIps of the Subnet
func (o *Subnet) FloatingIps(info *bambou.FetchingInfo) (FloatingIpsList, *bambou.Error) {

var list FloatingIpsList
err := bambou.CurrentSession().FetchChildren(o, FloatingIpIdentity, &list, info)
return list, err
}

// GlobalMetadatas retrieves the list of child GlobalMetadatas of the Subnet
func (o *Subnet) GlobalMetadatas(info *bambou.FetchingInfo) (GlobalMetadatasList, *bambou.Error) {

Expand Down

0 comments on commit fb634fd

Please sign in to comment.