github.com/spinnaker/spin@v1.30.0/gateapi/model_file.go (about)

     1  /*
     2   * Spinnaker API
     3   *
     4   * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
     5   *
     6   * API version: 1.0.0
     7   * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
     8   */
     9  
    10  package swagger
    11  
    12  import (
    13  	"os"
    14  )
    15  
    16  type File struct {
    17  	Absolute bool `json:"absolute,omitempty"`
    18  	AbsoluteFile **os.File `json:"absoluteFile,omitempty"`
    19  	AbsolutePath string `json:"absolutePath,omitempty"`
    20  	CanonicalFile **os.File `json:"canonicalFile,omitempty"`
    21  	CanonicalPath string `json:"canonicalPath,omitempty"`
    22  	Directory bool `json:"directory,omitempty"`
    23  	Executable bool `json:"executable,omitempty"`
    24  	File bool `json:"file,omitempty"`
    25  	FreeSpace int64 `json:"freeSpace,omitempty"`
    26  	Hidden bool `json:"hidden,omitempty"`
    27  	LastModified int64 `json:"lastModified,omitempty"`
    28  	Name string `json:"name,omitempty"`
    29  	Parent string `json:"parent,omitempty"`
    30  	ParentFile **os.File `json:"parentFile,omitempty"`
    31  	Path string `json:"path,omitempty"`
    32  	Readable bool `json:"readable,omitempty"`
    33  	TotalSpace int64 `json:"totalSpace,omitempty"`
    34  	UsableSpace int64 `json:"usableSpace,omitempty"`
    35  	Writable bool `json:"writable,omitempty"`
    36  }