// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // DNS API // // API for the DNS service. Use this API to manage DNS zones, records, and other DNS resources. // For more information, see Overview of the DNS Service (https://docs.cloud.oracle.com/iaas/Content/DNS/Concepts/dnszonemanagement.htm). // package dns import ( "github.com/oracle/oci-go-sdk/common" ) // Nameserver A server that has been set up to answer DNS queries for a zone. type Nameserver struct { // The hostname of the nameserver. Hostname *string `mandatory:"true" json:"hostname"` } func (m Nameserver) String() string { return common.PointerString(m) }