2.3 KiB
CodeAskPostIn
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Query | Pointer to string | Query is the question, from the BODY. Takes precedence over `?q=`. | [optional] |
| Repo | Pointer to string | Repo is the repository narrowing, from the BODY. Takes precedence over `?repo=`. | [optional] |
Methods
NewCodeAskPostIn
func NewCodeAskPostIn() *CodeAskPostIn
NewCodeAskPostIn instantiates a new CodeAskPostIn 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
NewCodeAskPostInWithDefaults
func NewCodeAskPostInWithDefaults() *CodeAskPostIn
NewCodeAskPostInWithDefaults instantiates a new CodeAskPostIn 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
GetQuery
func (o *CodeAskPostIn) GetQuery() string
GetQuery returns the Query field if non-nil, zero value otherwise.
GetQueryOk
func (o *CodeAskPostIn) GetQueryOk() (*string, bool)
GetQueryOk returns a tuple with the Query field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetQuery
func (o *CodeAskPostIn) SetQuery(v string)
SetQuery sets Query field to given value.
HasQuery
func (o *CodeAskPostIn) HasQuery() bool
HasQuery returns a boolean if a field has been set.
GetRepo
func (o *CodeAskPostIn) GetRepo() string
GetRepo returns the Repo field if non-nil, zero value otherwise.
GetRepoOk
func (o *CodeAskPostIn) GetRepoOk() (*string, bool)
GetRepoOk returns a tuple with the Repo field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetRepo
func (o *CodeAskPostIn) SetRepo(v string)
SetRepo sets Repo field to given value.
HasRepo
func (o *CodeAskPostIn) HasRepo() bool
HasRepo returns a boolean if a field has been set.