Files
sdk/docs/GitFilesJSON.md

2.2 KiB

GitFilesJSON

Properties

Name Type Description Notes
Files Pointer to []GitFileJSON Files are the selected files, sorted by path. Directories are never returned. [optional]
Rev Pointer to string Rev is the full revision the ref resolved to — pin follow-up reads to it. [optional]

Methods

NewGitFilesJSON

func NewGitFilesJSON() *GitFilesJSON

NewGitFilesJSON instantiates a new GitFilesJSON object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

NewGitFilesJSONWithDefaults

func NewGitFilesJSONWithDefaults() *GitFilesJSON

NewGitFilesJSONWithDefaults instantiates a new GitFilesJSON object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

GetFiles

func (o *GitFilesJSON) GetFiles() []GitFileJSON

GetFiles returns the Files field if non-nil, zero value otherwise.

GetFilesOk

func (o *GitFilesJSON) GetFilesOk() (*[]GitFileJSON, bool)

GetFilesOk returns a tuple with the Files field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetFiles

func (o *GitFilesJSON) SetFiles(v []GitFileJSON)

SetFiles sets Files field to given value.

HasFiles

func (o *GitFilesJSON) HasFiles() bool

HasFiles returns a boolean if a field has been set.

GetRev

func (o *GitFilesJSON) GetRev() string

GetRev returns the Rev field if non-nil, zero value otherwise.

GetRevOk

func (o *GitFilesJSON) GetRevOk() (*string, bool)

GetRevOk returns a tuple with the Rev field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetRev

func (o *GitFilesJSON) SetRev(v string)

SetRev sets Rev field to given value.

HasRev

func (o *GitFilesJSON) HasRev() bool

HasRev returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]