Files
sdk/docs/CodeFileInput.md

2.3 KiB

CodeFileInput

Properties

Name Type Description Notes
Content Pointer to string Content is the file's full text. Max 1 MiB per file; binary files should simply be omitted rather than sent. [optional]
Path Pointer to string Path is the file's repo-relative path, e.g. "internal/store/db.go". [optional]

Methods

NewCodeFileInput

func NewCodeFileInput() *CodeFileInput

NewCodeFileInput instantiates a new CodeFileInput 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

NewCodeFileInputWithDefaults

func NewCodeFileInputWithDefaults() *CodeFileInput

NewCodeFileInputWithDefaults instantiates a new CodeFileInput 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 *CodeFileInput) GetContent() string

GetContent returns the Content field if non-nil, zero value otherwise.

GetContentOk

func (o *CodeFileInput) 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 *CodeFileInput) SetContent(v string)

SetContent sets Content field to given value.

HasContent

func (o *CodeFileInput) HasContent() bool

HasContent returns a boolean if a field has been set.

GetPath

func (o *CodeFileInput) GetPath() string

GetPath returns the Path field if non-nil, zero value otherwise.

GetPathOk

func (o *CodeFileInput) 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 *CodeFileInput) SetPath(v string)

SetPath sets Path field to given value.

HasPath

func (o *CodeFileInput) HasPath() bool

HasPath returns a boolean if a field has been set.

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