github.com/vmware/go-vmware-nsxt@v0.0.0-20230223012718-d31b8a1ca05e/apiservice/batch_response.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 apiservice
     7  
     8  type BatchResponse struct {
     9  
    10  	// Indicates if any of the APIs failed
    11  	HasErrors bool `json:"has_errors,omitempty"`
    12  
    13  	// Bulk list results
    14  	Results []BatchResponseItem `json:"results"`
    15  
    16  	// Optional flag indicating that all items were rolled back even if succeeded initially
    17  	RolledBack bool `json:"rolled_back,omitempty"`
    18  }