Skip to content

Commit

Permalink
updated the go-client for the existing code (#47)
Browse files Browse the repository at this point in the history
* updated the go-client for the existing code

* updating the go client

* ran go fmt
  • Loading branch information
AnilGadiyarHJ authored Aug 13, 2024
1 parent 789bfd4 commit a0dc8bf
Show file tree
Hide file tree
Showing 354 changed files with 919 additions and 587 deletions.
2 changes: 1 addition & 1 deletion dfp/docs/DfpCreateOrUpdateResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Results** | Pointer to [**Dfp**](Dfp.md) | | [optional]
**Results** | Pointer to [**Dfp**](Dfp.md) | The DNS Forwarding Proxy object. | [optional]

## Methods

Expand Down
2 changes: 1 addition & 1 deletion dfp/docs/DfpReadResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Results** | Pointer to [**Dfp**](Dfp.md) | | [optional]
**Results** | Pointer to [**Dfp**](Dfp.md) | The DNS Forwarding Proxy object. | [optional]

## Methods

Expand Down
1 change: 1 addition & 0 deletions dfp/model_dfp_create_or_update_response.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dfp/model_dfp_read_response.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dnsconfig/docs/ACLItem.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Name | Type | Description | Notes
**Acl** | Pointer to **string** | The resource identifier. | [optional]
**Address** | Pointer to **string** | Optional. Data for _ip_ _element_. Must be empty if _element_ is not _ip_. | [optional]
**Element** | **string** | Type of element. Allowed values: * _any_, * _ip_, * _acl_, * _tsig_key_. |
**TsigKey** | Pointer to [**TSIGKey**](TSIGKey.md) | | [optional]
**TsigKey** | Pointer to [**TSIGKey**](TSIGKey.md) | Optional. TSIG key. Must be empty if _element_ is not _tsig_key_. | [optional]

## Methods

Expand Down
4 changes: 2 additions & 2 deletions dnsconfig/docs/AuthZone.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Name | Type | Description | Notes
**GssTsigEnabled** | Pointer to **bool** | _gss_tsig_enabled_ enables/disables GSS-TSIG signed dynamic updates. Defaults to _false_. | [optional]
**Id** | Pointer to **string** | The resource identifier. | [optional] [readonly]
**InheritanceAssignedHosts** | Pointer to [**[]Inheritance2AssignedHost**](Inheritance2AssignedHost.md) | The list of the inheritance assigned hosts of the object. | [optional] [readonly]
**InheritanceSources** | Pointer to [**AuthZoneInheritance**](AuthZoneInheritance.md) | | [optional]
**InheritanceSources** | Pointer to [**AuthZoneInheritance**](AuthZoneInheritance.md) | Optional. Inheritance configuration. | [optional]
**InitialSoaSerial** | Pointer to **int64** | On-create-only. SOA serial is allowed to be set when the authoritative zone is created. | [optional]
**InternalSecondaries** | Pointer to [**[]InternalSecondary**](InternalSecondary.md) | Optional. BloxOne DDI hosts acting as internal secondaries. Order is not significant. | [optional]
**MappedSubnet** | Pointer to **string** | Reverse zone network address in the following format: \"ip-address/cidr\". Defaults to empty. | [optional] [readonly]
Expand All @@ -32,7 +32,7 @@ Name | Type | Description | Notes
**UseForwardersForSubzones** | Pointer to **bool** | Optional. Use default forwarders to resolve queries for subzones. Defaults to _true_. | [optional]
**View** | Pointer to **string** | The resource identifier. | [optional]
**Warnings** | Pointer to [**[]Warning**](Warning.md) | The list of an auth zone warnings. | [optional] [readonly]
**ZoneAuthority** | Pointer to [**ZoneAuthority**](ZoneAuthority.md) | | [optional]
**ZoneAuthority** | Pointer to [**ZoneAuthority**](ZoneAuthority.md) | Optional. ZoneAuthority. | [optional]

## Methods

Expand Down
14 changes: 7 additions & 7 deletions dnsconfig/docs/AuthZoneInheritance.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**GssTsigEnabled** | Pointer to [**Inheritance2InheritedBool**](Inheritance2InheritedBool.md) | | [optional]
**Notify** | Pointer to [**Inheritance2InheritedBool**](Inheritance2InheritedBool.md) | | [optional]
**QueryAcl** | Pointer to [**InheritedACLItems**](InheritedACLItems.md) | | [optional]
**TransferAcl** | Pointer to [**InheritedACLItems**](InheritedACLItems.md) | | [optional]
**UpdateAcl** | Pointer to [**InheritedACLItems**](InheritedACLItems.md) | | [optional]
**UseForwardersForSubzones** | Pointer to [**Inheritance2InheritedBool**](Inheritance2InheritedBool.md) | | [optional]
**ZoneAuthority** | Pointer to [**InheritedZoneAuthority**](InheritedZoneAuthority.md) | | [optional]
**GssTsigEnabled** | Pointer to [**Inheritance2InheritedBool**](Inheritance2InheritedBool.md) | Optional. Field config for _gss_tsig_enabled_ field from _AuthZone_ object. | [optional]
**Notify** | Pointer to [**Inheritance2InheritedBool**](Inheritance2InheritedBool.md) | Field config for _notify_ field from _AuthZone_ object. | [optional]
**QueryAcl** | Pointer to [**InheritedACLItems**](InheritedACLItems.md) | Optional. Field config for _query_acl_ field from _AuthZone_ object. | [optional]
**TransferAcl** | Pointer to [**InheritedACLItems**](InheritedACLItems.md) | Optional. Field config for _transfer_acl_ field from _AuthZone_ object. | [optional]
**UpdateAcl** | Pointer to [**InheritedACLItems**](InheritedACLItems.md) | Optional. Field config for _update_acl_ field from _AuthZone_ object. | [optional]
**UseForwardersForSubzones** | Pointer to [**Inheritance2InheritedBool**](Inheritance2InheritedBool.md) | Optional. Field config for _use_forwarders_for_subzones_ field from _AuthZone_ object. | [optional]
**ZoneAuthority** | Pointer to [**InheritedZoneAuthority**](InheritedZoneAuthority.md) | Optional. Field config for _zone_authority_ field from _AuthZone_ object. | [optional]

## Methods

Expand Down
6 changes: 3 additions & 3 deletions dnsconfig/docs/BulkCopyView.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**AuthZoneConfig** | Pointer to [**AuthZoneConfig**](AuthZoneConfig.md) | | [optional]
**ForwardZoneConfig** | Pointer to [**ForwardZoneConfig**](ForwardZoneConfig.md) | | [optional]
**AuthZoneConfig** | Pointer to [**AuthZoneConfig**](AuthZoneConfig.md) | Optional. Authoritative zone related configuration. | [optional]
**ForwardZoneConfig** | Pointer to [**ForwardZoneConfig**](ForwardZoneConfig.md) | Optional. Forward zone related configuration. | [optional]
**Recursive** | Pointer to **bool** | Indicates whether child objects should be copied or not. Defaults to _false_. Reserved for future use. | [optional]
**Resources** | **[]string** | The resource identifier. |
**SecondaryZoneConfig** | Pointer to [**AuthZoneConfig**](AuthZoneConfig.md) | | [optional]
**SecondaryZoneConfig** | Pointer to [**AuthZoneConfig**](AuthZoneConfig.md) | Optional. Secondary zone related configuration. | [optional]
**SkipOnError** | Pointer to **bool** | Indicates whether copying should skip object in case of error and continue with next, or abort copying in case of error. Defaults to _false_. | [optional]
**Target** | **string** | The resource identifier. |

Expand Down
2 changes: 1 addition & 1 deletion dnsconfig/docs/ConvertDomainNameResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Result** | Pointer to [**ConvertDomainName**](ConvertDomainName.md) | | [optional]
**Result** | Pointer to [**ConvertDomainName**](ConvertDomainName.md) | The ConvertDomainName object. | [optional]

## Methods

Expand Down
2 changes: 1 addition & 1 deletion dnsconfig/docs/CreateACLResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Result** | Pointer to [**ACL**](ACL.md) | | [optional]
**Result** | Pointer to [**ACL**](ACL.md) | The created ACL object. | [optional]

## Methods

Expand Down
2 changes: 1 addition & 1 deletion dnsconfig/docs/CreateAuthNSGResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Result** | Pointer to [**AuthNSG**](AuthNSG.md) | | [optional]
**Result** | Pointer to [**AuthNSG**](AuthNSG.md) | The created AuthNSG object. | [optional]

## Methods

Expand Down
2 changes: 1 addition & 1 deletion dnsconfig/docs/CreateAuthZoneResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Result** | Pointer to [**AuthZone**](AuthZone.md) | | [optional]
**Result** | Pointer to [**AuthZone**](AuthZone.md) | The created AuthZone object. | [optional]

## Methods

Expand Down
2 changes: 1 addition & 1 deletion dnsconfig/docs/CreateDelegationResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Result** | Pointer to [**Delegation**](Delegation.md) | | [optional]
**Result** | Pointer to [**Delegation**](Delegation.md) | The created Delegation object. | [optional]

## Methods

Expand Down
2 changes: 1 addition & 1 deletion dnsconfig/docs/CreateForwardNSGResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Result** | Pointer to [**ForwardNSG**](ForwardNSG.md) | | [optional]
**Result** | Pointer to [**ForwardNSG**](ForwardNSG.md) | The created ForwardNSG object. | [optional]

## Methods

Expand Down
2 changes: 1 addition & 1 deletion dnsconfig/docs/CreateForwardZoneResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Result** | Pointer to [**ForwardZone**](ForwardZone.md) | | [optional]
**Result** | Pointer to [**ForwardZone**](ForwardZone.md) | The created Forward Zone object. | [optional]

## Methods

Expand Down
2 changes: 1 addition & 1 deletion dnsconfig/docs/CreateLBDNResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Result** | Pointer to [**LBDN**](LBDN.md) | | [optional]
**Result** | Pointer to [**LBDN**](LBDN.md) | The created __LBDN__ object. | [optional]

## Methods

Expand Down
2 changes: 1 addition & 1 deletion dnsconfig/docs/CreateServerResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Result** | Pointer to [**Server**](Server.md) | | [optional]
**Result** | Pointer to [**Server**](Server.md) | The created Server object. | [optional]

## Methods

Expand Down
2 changes: 1 addition & 1 deletion dnsconfig/docs/CreateViewResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Result** | Pointer to [**View**](View.md) | | [optional]
**Result** | Pointer to [**View**](View.md) | The created View object. | [optional]

## Methods

Expand Down
2 changes: 1 addition & 1 deletion dnsconfig/docs/ExternalPrimary.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Name | Type | Description | Notes
**Nsg** | Pointer to **string** | The resource identifier. | [optional]
**ProtocolFqdn** | Pointer to **string** | FQDN of nameserver in punycode. | [optional] [readonly]
**TsigEnabled** | Pointer to **bool** | Optional. If enabled, secondaries will use the configured TSIG key when requesting a zone transfer from this primary. | [optional]
**TsigKey** | Pointer to [**TSIGKey**](TSIGKey.md) | | [optional]
**TsigKey** | Pointer to [**TSIGKey**](TSIGKey.md) | Optional. TSIG key. Error if empty while _tsig_enabled_ is _true_. | [optional]
**Type** | **string** | Allowed values: * _nsg_, * _primary_. |

## Methods
Expand Down
2 changes: 1 addition & 1 deletion dnsconfig/docs/ExternalSecondary.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Name | Type | Description | Notes
**ProtocolFqdn** | Pointer to **string** | FQDN of nameserver in punycode. | [optional] [readonly]
**Stealth** | Pointer to **bool** | If enabled, the NS record and glue record will NOT be automatically generated according to secondaries nameserver assignment. Default: _false_ | [optional]
**TsigEnabled** | Pointer to **bool** | If enabled, secondaries will use the configured TSIG key when requesting a zone transfer. Default: _false_ | [optional]
**TsigKey** | Pointer to [**TSIGKey**](TSIGKey.md) | | [optional]
**TsigKey** | Pointer to [**TSIGKey**](TSIGKey.md) | TSIG key. Error if empty while _tsig_enabled_ is _true_. | [optional]

## Methods

Expand Down
4 changes: 2 additions & 2 deletions dnsconfig/docs/Global.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Name | Type | Description | Notes
**DnssecRootKeys** | Pointer to [**[]TrustAnchor**](TrustAnchor.md) | DNSSEC root keys. The root keys are not configurable. A default list is provided by cloud management and included here for config generation. | [optional] [readonly]
**DnssecTrustAnchors** | Pointer to [**[]TrustAnchor**](TrustAnchor.md) | Optional. DNSSEC trust anchors. Error if there are list items with duplicate (_zone_, _sep_, _algorithm_) combinations. Defaults to empty. | [optional]
**DnssecValidateExpiry** | Pointer to **bool** | Optional. _true_ to reject expired DNSSEC keys. Ignored if either _dnssec_enabled_ or _dnssec_enable_validation_ is _false_. Defaults to _true_. | [optional]
**DtcConfig** | Pointer to [**DTCConfig**](DTCConfig.md) | | [optional]
**DtcConfig** | Pointer to [**DTCConfig**](DTCConfig.md) | Optional. DTC Configuration. | [optional]
**EcsEnabled** | Pointer to **bool** | Optional. _true_ to enable EDNS client subnet for recursive queries. Other _ecs_*_ fields are ignored if this field is not enabled. Defaults to _false_. | [optional]
**EcsForwarding** | Pointer to **bool** | Optional. _true_ to enable ECS options in outbound queries. This functionality has additional overhead so it is disabled by default. Defaults to _false_. | [optional]
**EcsPrefixV4** | Pointer to **int64** | Optional. Maximum scope length for v4 ECS. Unsigned integer, min 1 max 24. Defaults to 24. | [optional]
Expand Down Expand Up @@ -48,7 +48,7 @@ Name | Type | Description | Notes
**UpdateAcl** | Pointer to [**[]ACLItem**](ACLItem.md) | Optional. Specifies which hosts are allowed to issue Dynamic DNS updates for authoritative zones of _primary_type_ _cloud_. Defaults to empty. | [optional]
**UseForwardersForSubzones** | Pointer to **bool** | Optional. Use default forwarders to resolve queries for subzones. Defaults to _true_. | [optional]
**UseRootForwardersForLocalResolutionWithB1td** | Pointer to **bool** | _use_root_forwarders_for_local_resolution_with_b1td_ allows DNS recursive queries sent to root forwarders for local resolution when deployed alongside BloxOne Thread Defense. Defaults to _false_. | [optional]
**ZoneAuthority** | Pointer to [**ZoneAuthority**](ZoneAuthority.md) | | [optional]
**ZoneAuthority** | Pointer to [**ZoneAuthority**](ZoneAuthority.md) | Optional. ZoneAuthority. | [optional]

## Methods

Expand Down
4 changes: 2 additions & 2 deletions dnsconfig/docs/Host.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ Name | Type | Description | Notes
**AbsoluteName** | Pointer to **string** | Host FQDN. | [optional] [readonly]
**Address** | Pointer to **string** | Host's primary IP Address. | [optional] [readonly]
**AnycastAddresses** | Pointer to **[]string** | Anycast address configured to the host. Order is not significant. | [optional] [readonly]
**AssociatedServer** | Pointer to [**HostAssociatedServer**](HostAssociatedServer.md) | | [optional]
**AssociatedServer** | Pointer to [**HostAssociatedServer**](HostAssociatedServer.md) | Host associated server configuration. | [optional]
**Comment** | Pointer to **string** | Host description. | [optional] [readonly]
**CurrentVersion** | Pointer to **string** | Host current version. | [optional] [readonly]
**Dfp** | Pointer to **bool** | Below _dfp_ field is deprecated and not supported anymore. The indication whether or not BloxOne DDI DNS and BloxOne TD DFP are both active on the host will be migrated into the new _dfp_service_ field. | [optional] [readonly]
**DfpService** | Pointer to **string** | DFP service indicates whether or not BloxOne DDI DNS and BloxOne TD DFP are both active on the host. If so, BloxOne DDI DNS will augment recursive queries and forward them to BloxOne TD DFP. Allowed values: * _unavailable_: BloxOne TD DFP application is not available, * _enabled_: BloxOne TD DFP application is available and enabled, * _disabled_: BloxOne TD DFP application is available but disabled. | [optional] [readonly]
**Id** | Pointer to **string** | The resource identifier. | [optional] [readonly]
**InheritanceSources** | Pointer to [**HostInheritance**](HostInheritance.md) | | [optional]
**InheritanceSources** | Pointer to [**HostInheritance**](HostInheritance.md) | Optional. Inheritance configuration. | [optional]
**KerberosKeys** | Pointer to [**[]KerberosKey**](KerberosKey.md) | Optional. _kerberos_keys_ contains a list of keys for GSS-TSIG signed dynamic updates. Defaults to empty. | [optional]
**Name** | Pointer to **string** | Host display name. | [optional] [readonly]
**Ophid** | Pointer to **string** | On-Prem Host ID. | [optional] [readonly]
Expand Down
2 changes: 1 addition & 1 deletion dnsconfig/docs/HostInheritance.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**KerberosKeys** | Pointer to [**InheritedKerberosKeys**](InheritedKerberosKeys.md) | | [optional]
**KerberosKeys** | Pointer to [**InheritedKerberosKeys**](InheritedKerberosKeys.md) | Optional. Field config for _kerberos_keys_ field from _Host_ object. | [optional]

## Methods

Expand Down
2 changes: 1 addition & 1 deletion dnsconfig/docs/InheritedCustomRootNSBlock.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Name | Type | Description | Notes
**Action** | Pointer to **string** | Defaults to _inherit_. | [optional]
**DisplayName** | Pointer to **string** | Human-readable display name for the object referred to by _source_. | [optional] [readonly]
**Source** | Pointer to **string** | The resource identifier. | [optional] [readonly]
**Value** | Pointer to [**CustomRootNSBlock**](CustomRootNSBlock.md) | | [optional]
**Value** | Pointer to [**CustomRootNSBlock**](CustomRootNSBlock.md) | Inherited value. | [optional] [readonly]

## Methods

Expand Down
2 changes: 1 addition & 1 deletion dnsconfig/docs/InheritedDNSSECValidationBlock.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Name | Type | Description | Notes
**Action** | Pointer to **string** | Defaults to _inherit_. | [optional]
**DisplayName** | Pointer to **string** | Human-readable display name for the object referred to by _source_. | [optional] [readonly]
**Source** | Pointer to **string** | The resource identifier. | [optional] [readonly]
**Value** | Pointer to [**DNSSECValidationBlock**](DNSSECValidationBlock.md) | | [optional]
**Value** | Pointer to [**DNSSECValidationBlock**](DNSSECValidationBlock.md) | Inherited value. | [optional] [readonly]

## Methods

Expand Down
2 changes: 1 addition & 1 deletion dnsconfig/docs/InheritedDtcConfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**DefaultTtl** | Pointer to [**Inheritance2InheritedUInt32**](Inheritance2InheritedUInt32.md) | | [optional]
**DefaultTtl** | Pointer to [**Inheritance2InheritedUInt32**](Inheritance2InheritedUInt32.md) | Optional. Field config for _default_ttl_ field from _DTCConfig_ object. | [optional]

## Methods

Expand Down
2 changes: 1 addition & 1 deletion dnsconfig/docs/InheritedECSBlock.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Name | Type | Description | Notes
**Action** | Pointer to **string** | Defaults to _inherit_. | [optional]
**DisplayName** | Pointer to **string** | Human-readable display name for the object referred to by _source_. | [optional] [readonly]
**Source** | Pointer to **string** | The resource identifier. | [optional] [readonly]
**Value** | Pointer to [**ECSBlock**](ECSBlock.md) | | [optional]
**Value** | Pointer to [**ECSBlock**](ECSBlock.md) | Inherited value. | [optional] [readonly]

## Methods

Expand Down
2 changes: 1 addition & 1 deletion dnsconfig/docs/InheritedForwardersBlock.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Name | Type | Description | Notes
**Action** | Pointer to **string** | Defaults to _inherit_. | [optional]
**DisplayName** | Pointer to **string** | Human-readable display name for the object referred to by _source_. | [optional] [readonly]
**Source** | Pointer to **string** | The resource identifier. | [optional] [readonly]
**Value** | Pointer to [**ForwardersBlock**](ForwardersBlock.md) | | [optional]
**Value** | Pointer to [**ForwardersBlock**](ForwardersBlock.md) | Inherited value. | [optional] [readonly]

## Methods

Expand Down
Loading

0 comments on commit a0dc8bf

Please sign in to comment.