Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions openstack/dns/v2/ptrrecords/requests.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ type CreateOpts struct {

// Tags of the ptr.
Tags []Tag `json:"tags,omitempty"`

// Enterprise project id
EnterpriseProjectID string `json:"enterprise_project_id,omitempty"`
}

// Tag is a structure of key value pair.
Expand Down
3 changes: 3 additions & 0 deletions openstack/dns/v2/ptrrecords/results.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,7 @@ type Ptr struct {

// Status of the PTR.
Status string `json:"status"`

// Enterprise project id
EnterpriseProjectID string `json:"enterprise_project_id"`
}
3 changes: 3 additions & 0 deletions openstack/dns/v2/zones/requests.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ type CreateOpts struct {

// Type specifies if this is a primary or secondary zone.
Type string `json:"type,omitempty"`

// Enterprise project id
EnterpriseProjectID string `json:"enterprise_project_id,omitempty"`
}

// ToZoneCreateMap formats an CreateOpts structure into a request body.
Expand Down
3 changes: 3 additions & 0 deletions openstack/dns/v2/zones/results.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,9 @@ type Zone struct {

// Routers associate with the Zone
Routers []RouterResult `json:"routers"`

// Enterprise project id
EnterpriseProjectID string `json:"enterprise_project_id"`
}

type RouterResult struct {
Expand Down