github.com/vmware/go-vmware-nsxt@v0.0.0-20230223012718-d31b8a1ca05e/common/resource.go (about)

     1  /* Copyright © 2017 VMware, Inc. All Rights Reserved.
     2     SPDX-License-Identifier: BSD-2-Clause
     3  
     4     Generated by: https://github.com/swagger-api/swagger-codegen.git */
     5  
     6  package common
     7  
     8  type Resource struct {
     9  
    10  	// The server will populate this field when returing the resource. Ignored on PUT and POST.
    11  	Links []ResourceLink `json:"_links,omitempty"`
    12  
    13  	Schema string `json:"_schema,omitempty"`
    14  
    15  	Self *SelfResourceLink `json:"_self,omitempty"`
    16  }