github.com/opentelekomcloud/gophertelekomcloud@v0.9.3/openstack/obs/model_response.go (about)

     1  package obs
     2  
     3  import (
     4  	"encoding/xml"
     5  )
     6  
     7  // BaseModel defines base model response from OBS
     8  type BaseModel struct {
     9  	StatusCode      int                 `xml:"-"`
    10  	RequestId       string              `xml:"RequestId" json:"request_id"`
    11  	ResponseHeaders map[string][]string `xml:"-"`
    12  }
    13  
    14  // Error defines the error property in DeleteObjectsOutput
    15  type Error struct {
    16  	XMLName   xml.Name `xml:"Error"`
    17  	Key       string   `xml:"Key"`
    18  	VersionId string   `xml:"VersionId"`
    19  	Code      string   `xml:"Code"`
    20  	Message   string   `xml:"Message"`
    21  }