2.9 KiB
GitReadmeJSON
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Content | Pointer to string | Content is the file's text, verbatim and unrendered. | [optional] |
| Encoding | Pointer to string | Encoding is always "utf8" — a README is text by definition. | [optional] |
| Path | Pointer to string | Path is the file the README was found at (README.md, README, …). | [optional] |
Methods
NewGitReadmeJSON
func NewGitReadmeJSON() *GitReadmeJSON
NewGitReadmeJSON instantiates a new GitReadmeJSON 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
NewGitReadmeJSONWithDefaults
func NewGitReadmeJSONWithDefaults() *GitReadmeJSON
NewGitReadmeJSONWithDefaults instantiates a new GitReadmeJSON 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
GetContent
func (o *GitReadmeJSON) GetContent() string
GetContent returns the Content field if non-nil, zero value otherwise.
GetContentOk
func (o *GitReadmeJSON) GetContentOk() (*string, bool)
GetContentOk returns a tuple with the Content field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetContent
func (o *GitReadmeJSON) SetContent(v string)
SetContent sets Content field to given value.
HasContent
func (o *GitReadmeJSON) HasContent() bool
HasContent returns a boolean if a field has been set.
GetEncoding
func (o *GitReadmeJSON) GetEncoding() string
GetEncoding returns the Encoding field if non-nil, zero value otherwise.
GetEncodingOk
func (o *GitReadmeJSON) GetEncodingOk() (*string, bool)
GetEncodingOk returns a tuple with the Encoding field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetEncoding
func (o *GitReadmeJSON) SetEncoding(v string)
SetEncoding sets Encoding field to given value.
HasEncoding
func (o *GitReadmeJSON) HasEncoding() bool
HasEncoding returns a boolean if a field has been set.
GetPath
func (o *GitReadmeJSON) GetPath() string
GetPath returns the Path field if non-nil, zero value otherwise.
GetPathOk
func (o *GitReadmeJSON) GetPathOk() (*string, bool)
GetPathOk returns a tuple with the Path field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetPath
func (o *GitReadmeJSON) SetPath(v string)
SetPath sets Path field to given value.
HasPath
func (o *GitReadmeJSON) HasPath() bool
HasPath returns a boolean if a field has been set.