-
Notifications
You must be signed in to change notification settings - Fork 0
/
model_contents_expanded.go
21 lines (20 loc) · 1.85 KB
/
model_contents_expanded.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
* Data Repository Service
*
* GET request: - Fetch a DrsObject from the database by sending a unique ID through the request - Fetch an access url to the data which the object refers to - Fetch DrsObjects by doing a search on the aliases POST request: - Create a non-existing DrsObject in the database by giving an identifier DELETE request: - Delete a DrsObject from the database by unique identifier PUT request: - Update an existing DrsObject by unique identifier and the changes in the body
*
* API version: 1.2.0
* Contact: [email protected]
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package drs_api
type ContentsExpanded struct {
// A name declared by the bundle author that must be used when materialising this object, overriding any name directly associated with the object itself. The name must be unique with the containing bundle. This string is made up of uppercase and lowercase letters, decimal digits, hypen, period, and underscore [A-Za-z0-9.-_]. See http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_282[portable filenames].
Name string `json:"name"`
// A DRS identifier of a ```DrsObject``` (either a single blob or a nested bundle). If this ```ContentsObject``` is an object within a nested bundle, then the id is optional. Otherwise, the id is required.
Id string `json:"id,omitempty"`
// A list of full DRS identifier URI paths that may be used to obtain the object. These URIs may be external to this DRS instance.
DrsUri []string `json:"drs_uri,omitempty"`
// If this ContentsObject describes a nested bundle and the caller specified \"?expand=true\" on the request, then this contents array must be present and describe the objects within the nested bundle.
Contents []string `json:"contents,omitempty"`
}