| Name | Type | Description | Notes |
|---|---|---|---|
| Id | int32 | ||
| Deleted | Pointer to bool | [optional] | |
| Type | Pointer to HackerNewsItemType | [optional] | |
| By | Pointer to string | [optional] | |
| Time | Pointer to int32 | Unix epoch seconds | [optional] |
| Text | Pointer to string | HTML text for comments, stories, polls, and jobs. | [optional] |
| Dead | Pointer to bool | [optional] | |
| Parent | Pointer to int32 | [optional] | |
| Poll | Pointer to int32 | [optional] | |
| Kids | Pointer to []int32 | [optional] | |
| Url | Pointer to string | [optional] | |
| Score | Pointer to int32 | [optional] | |
| Title | Pointer to string | HTML title for stories, polls, and jobs. | [optional] |
| Parts | Pointer to []int32 | [optional] | |
| Descendants | Pointer to int32 | [optional] |
func NewHackerNewsItem(id int32, ) *HackerNewsItem
NewHackerNewsItem instantiates a new HackerNewsItem 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
func NewHackerNewsItemWithDefaults() *HackerNewsItem
NewHackerNewsItemWithDefaults instantiates a new HackerNewsItem 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
func (o *HackerNewsItem) GetId() int32
GetId returns the Id field if non-nil, zero value otherwise.
func (o *HackerNewsItem) GetIdOk() (*int32, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *HackerNewsItem) SetId(v int32)
SetId sets Id field to given value.
func (o *HackerNewsItem) GetDeleted() bool
GetDeleted returns the Deleted field if non-nil, zero value otherwise.
func (o *HackerNewsItem) GetDeletedOk() (*bool, bool)
GetDeletedOk returns a tuple with the Deleted field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *HackerNewsItem) SetDeleted(v bool)
SetDeleted sets Deleted field to given value.
func (o *HackerNewsItem) HasDeleted() bool
HasDeleted returns a boolean if a field has been set.
func (o *HackerNewsItem) GetType() HackerNewsItemType
GetType returns the Type field if non-nil, zero value otherwise.
func (o *HackerNewsItem) GetTypeOk() (*HackerNewsItemType, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *HackerNewsItem) SetType(v HackerNewsItemType)
SetType sets Type field to given value.
func (o *HackerNewsItem) HasType() bool
HasType returns a boolean if a field has been set.
func (o *HackerNewsItem) GetBy() string
GetBy returns the By field if non-nil, zero value otherwise.
func (o *HackerNewsItem) GetByOk() (*string, bool)
GetByOk returns a tuple with the By field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *HackerNewsItem) SetBy(v string)
SetBy sets By field to given value.
func (o *HackerNewsItem) HasBy() bool
HasBy returns a boolean if a field has been set.
func (o *HackerNewsItem) GetTime() int32
GetTime returns the Time field if non-nil, zero value otherwise.
func (o *HackerNewsItem) GetTimeOk() (*int32, bool)
GetTimeOk returns a tuple with the Time field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *HackerNewsItem) SetTime(v int32)
SetTime sets Time field to given value.
func (o *HackerNewsItem) HasTime() bool
HasTime returns a boolean if a field has been set.
func (o *HackerNewsItem) GetText() string
GetText returns the Text field if non-nil, zero value otherwise.
func (o *HackerNewsItem) GetTextOk() (*string, bool)
GetTextOk returns a tuple with the Text field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *HackerNewsItem) SetText(v string)
SetText sets Text field to given value.
func (o *HackerNewsItem) HasText() bool
HasText returns a boolean if a field has been set.
func (o *HackerNewsItem) GetDead() bool
GetDead returns the Dead field if non-nil, zero value otherwise.
func (o *HackerNewsItem) GetDeadOk() (*bool, bool)
GetDeadOk returns a tuple with the Dead field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *HackerNewsItem) SetDead(v bool)
SetDead sets Dead field to given value.
func (o *HackerNewsItem) HasDead() bool
HasDead returns a boolean if a field has been set.
func (o *HackerNewsItem) GetParent() int32
GetParent returns the Parent field if non-nil, zero value otherwise.
func (o *HackerNewsItem) GetParentOk() (*int32, bool)
GetParentOk returns a tuple with the Parent field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *HackerNewsItem) SetParent(v int32)
SetParent sets Parent field to given value.
func (o *HackerNewsItem) HasParent() bool
HasParent returns a boolean if a field has been set.
func (o *HackerNewsItem) GetPoll() int32
GetPoll returns the Poll field if non-nil, zero value otherwise.
func (o *HackerNewsItem) GetPollOk() (*int32, bool)
GetPollOk returns a tuple with the Poll field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *HackerNewsItem) SetPoll(v int32)
SetPoll sets Poll field to given value.
func (o *HackerNewsItem) HasPoll() bool
HasPoll returns a boolean if a field has been set.
func (o *HackerNewsItem) GetKids() []int32
GetKids returns the Kids field if non-nil, zero value otherwise.
func (o *HackerNewsItem) GetKidsOk() (*[]int32, bool)
GetKidsOk returns a tuple with the Kids field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *HackerNewsItem) SetKids(v []int32)
SetKids sets Kids field to given value.
func (o *HackerNewsItem) HasKids() bool
HasKids returns a boolean if a field has been set.
func (o *HackerNewsItem) GetUrl() string
GetUrl returns the Url field if non-nil, zero value otherwise.
func (o *HackerNewsItem) GetUrlOk() (*string, bool)
GetUrlOk returns a tuple with the Url field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *HackerNewsItem) SetUrl(v string)
SetUrl sets Url field to given value.
func (o *HackerNewsItem) HasUrl() bool
HasUrl returns a boolean if a field has been set.
func (o *HackerNewsItem) GetScore() int32
GetScore returns the Score field if non-nil, zero value otherwise.
func (o *HackerNewsItem) GetScoreOk() (*int32, bool)
GetScoreOk returns a tuple with the Score field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *HackerNewsItem) SetScore(v int32)
SetScore sets Score field to given value.
func (o *HackerNewsItem) HasScore() bool
HasScore returns a boolean if a field has been set.
func (o *HackerNewsItem) GetTitle() string
GetTitle returns the Title field if non-nil, zero value otherwise.
func (o *HackerNewsItem) GetTitleOk() (*string, bool)
GetTitleOk returns a tuple with the Title field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *HackerNewsItem) SetTitle(v string)
SetTitle sets Title field to given value.
func (o *HackerNewsItem) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (o *HackerNewsItem) GetParts() []int32
GetParts returns the Parts field if non-nil, zero value otherwise.
func (o *HackerNewsItem) GetPartsOk() (*[]int32, bool)
GetPartsOk returns a tuple with the Parts field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *HackerNewsItem) SetParts(v []int32)
SetParts sets Parts field to given value.
func (o *HackerNewsItem) HasParts() bool
HasParts returns a boolean if a field has been set.
func (o *HackerNewsItem) GetDescendants() int32
GetDescendants returns the Descendants field if non-nil, zero value otherwise.
func (o *HackerNewsItem) GetDescendantsOk() (*int32, bool)
GetDescendantsOk returns a tuple with the Descendants field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *HackerNewsItem) SetDescendants(v int32)
SetDescendants sets Descendants field to given value.
func (o *HackerNewsItem) HasDescendants() bool
HasDescendants returns a boolean if a field has been set.