1// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. 2// 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. 3// Code generated. DO NOT EDIT. 4 5// DNS API 6// 7// API for the DNS service. Use this API to manage DNS zones, records, and other DNS resources. 8// For more information, see Overview of the DNS Service (https://docs.cloud.oracle.com/iaas/Content/DNS/Concepts/dnszonemanagement.htm). 9// 10 11package dns 12 13import ( 14 "github.com/oracle/oci-go-sdk/common" 15) 16 17// Nameserver A server that has been set up to answer DNS queries for a zone. 18type Nameserver struct { 19 20 // The hostname of the nameserver. 21 Hostname *string `mandatory:"true" json:"hostname"` 22} 23 24func (m Nameserver) String() string { 25 return common.PointerString(m) 26} 27