Files
sdk/model_task_issue_view.go

839 lines
24 KiB
Go

/*
Hanzo Cloud API
The Hanzo Cloud API as a customer calls it: every operation under /v1/ except the operator's admin product, relay routes, legacy spellings and capabilities still reached by flag. Tagged by product: the first path segment after /v1/.
API version: v1
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
package hanzoai
import (
"encoding/json"
)
// checks if the TaskIssueView type satisfies the MappedNullable interface at compile time
var _ MappedNullable = &TaskIssueView{}
// TaskIssueView struct for TaskIssueView
type TaskIssueView struct {
// Assignee is who holds the work — an IAM username, or the login of the FIRST assignee when a forge issue has several. Absent when nobody holds it, which is exactly the state a claim needs.
Assignee *string `json:"assignee,omitempty"`
// CreatedAt is when the item was opened, in unix seconds. 0 when the source gave no parseable timestamp.
CreatedAt *int64 `json:"createdAt,omitempty"`
// Description is the body, markdown as its author wrote it. Absent when empty.
Description *string `json:"description,omitempty"`
// DueAt is when the work is due, in unix seconds; absent means no due date. A forge row takes it from its MILESTONE's due date, since a forge issue has no deadline of its own. Never before StartAt, and never past 2200-01-01.
DueAt *int64 `json:"dueAt,omitempty"`
// ExtRef anchors the item to something outside the task — a mirrored issue (\"github:owner/repo#123\"), a pushed PR branch, or a record on another plane. It is the idempotency key the mirror upsert matches on. Absent when the item has no external origin.
ExtRef *string `json:"extRef,omitempty"`
// ID is the work item's opaque handle, and it is NOT how you address it — ProjectKey plus Number is. Its shape says which source answered: a forge issue's is the forge's own numeric id in decimal, an index row's a minted \"issue_\" id.
Id *string `json:"id,omitempty"`
// Identifier is the human handle, \"<key>#<number>\" — the board and the number on it, joined. ONE spelling whichever source answered, because a list where forge rows read cli#1 and index rows read OPS-3 is two products in one list.
Identifier *string `json:"identifier,omitempty"`
// Kind is what the item IS: issue, pr or epic. Set once at create and never changed, so a row does not migrate between surfaces. Deliberately not \"task\" — that word is the async plane (contract.go).
Kind *string `json:"kind,omitempty"`
// Labels are the item's remaining tags, with the status and priority labels lifted OUT — a column that stayed here would render twice, once as the card's column and once as a chip on the card. Always present; empty is [].
Labels []string `json:"labels,omitempty"`
// Number is the item's number ON ITS BOARD, from 1 and monotonic there — the forge's own issue number for a forge row, allocated inside the create transaction for an index row so it cannot race. Unique per board, never across the org.
Number *int64 `json:"number,omitempty"`
// Priority is urgent, high, medium, low or none. Also a label on a forge row. Never empty: \"none\" when nothing names one, so callers compare a value rather than test for absence.
Priority *string `json:"priority,omitempty"`
// ProjectKey is the board this item is on: the repository name for a forge issue, the index board's key otherwise. With Number it is the item's address in every other route.
ProjectKey *string `json:"projectKey,omitempty"`
// Repo is the git repository the item is bound to, so a repository's Issues and PRs tabs are filters over this one table. Absent when the item is not repo-bound.
Repo *string `json:"repo,omitempty"`
// Source is which surface OPENED it: team, git, crm, helpdesk, cms or agent. Also set once. It is the ORIGIN, not the subject — source=helpdesk is an engineering issue opened from a support escalation, not a support ticket.
Source *string `json:"source,omitempty"`
// StartAt is when the work starts, in unix seconds; absent means unscheduled. A forge row takes it from when the issue was opened, but only once the issue has a due date — an interval needs both ends.
StartAt *int64 `json:"startAt,omitempty"`
// Status is the board column: backlog, todo, in_progress, done or canceled, and nothing else. On a forge row it is read off a LABEL, so relabelling in the forge web UI moves the card here and vice versa — and a CLOSED forge issue reads done whatever its labels say. Never empty: \"backlog\" when nothing names a column.
Status *string `json:"status,omitempty"`
// Title is the item's one-line summary.
Title *string `json:"title,omitempty"`
// UpdatedAt is when it last changed, in unix seconds.
UpdatedAt *int64 `json:"updatedAt,omitempty"`
// URL is where a person reads the item: its page on the forge or on GitHub. Absent for an index row, which has no page of its own.
Url *string `json:"url,omitempty"`
AdditionalProperties map[string]interface{}
}
type _TaskIssueView TaskIssueView
// NewTaskIssueView instantiates a new TaskIssueView 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 NewTaskIssueView() *TaskIssueView {
this := TaskIssueView{}
return &this
}
// NewTaskIssueViewWithDefaults instantiates a new TaskIssueView 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 NewTaskIssueViewWithDefaults() *TaskIssueView {
this := TaskIssueView{}
return &this
}
// GetAssignee returns the Assignee field value if set, zero value otherwise.
func (o *TaskIssueView) GetAssignee() string {
if o == nil || IsNil(o.Assignee) {
var ret string
return ret
}
return *o.Assignee
}
// GetAssigneeOk returns a tuple with the Assignee field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *TaskIssueView) GetAssigneeOk() (*string, bool) {
if o == nil || IsNil(o.Assignee) {
return nil, false
}
return o.Assignee, true
}
// HasAssignee returns a boolean if a field has been set.
func (o *TaskIssueView) HasAssignee() bool {
if o != nil && !IsNil(o.Assignee) {
return true
}
return false
}
// SetAssignee gets a reference to the given string and assigns it to the Assignee field.
func (o *TaskIssueView) SetAssignee(v string) {
o.Assignee = &v
}
// GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (o *TaskIssueView) GetCreatedAt() int64 {
if o == nil || IsNil(o.CreatedAt) {
var ret int64
return ret
}
return *o.CreatedAt
}
// GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *TaskIssueView) GetCreatedAtOk() (*int64, bool) {
if o == nil || IsNil(o.CreatedAt) {
return nil, false
}
return o.CreatedAt, true
}
// HasCreatedAt returns a boolean if a field has been set.
func (o *TaskIssueView) HasCreatedAt() bool {
if o != nil && !IsNil(o.CreatedAt) {
return true
}
return false
}
// SetCreatedAt gets a reference to the given int64 and assigns it to the CreatedAt field.
func (o *TaskIssueView) SetCreatedAt(v int64) {
o.CreatedAt = &v
}
// GetDescription returns the Description field value if set, zero value otherwise.
func (o *TaskIssueView) GetDescription() string {
if o == nil || IsNil(o.Description) {
var ret string
return ret
}
return *o.Description
}
// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *TaskIssueView) GetDescriptionOk() (*string, bool) {
if o == nil || IsNil(o.Description) {
return nil, false
}
return o.Description, true
}
// HasDescription returns a boolean if a field has been set.
func (o *TaskIssueView) HasDescription() bool {
if o != nil && !IsNil(o.Description) {
return true
}
return false
}
// SetDescription gets a reference to the given string and assigns it to the Description field.
func (o *TaskIssueView) SetDescription(v string) {
o.Description = &v
}
// GetDueAt returns the DueAt field value if set, zero value otherwise.
func (o *TaskIssueView) GetDueAt() int64 {
if o == nil || IsNil(o.DueAt) {
var ret int64
return ret
}
return *o.DueAt
}
// GetDueAtOk returns a tuple with the DueAt field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *TaskIssueView) GetDueAtOk() (*int64, bool) {
if o == nil || IsNil(o.DueAt) {
return nil, false
}
return o.DueAt, true
}
// HasDueAt returns a boolean if a field has been set.
func (o *TaskIssueView) HasDueAt() bool {
if o != nil && !IsNil(o.DueAt) {
return true
}
return false
}
// SetDueAt gets a reference to the given int64 and assigns it to the DueAt field.
func (o *TaskIssueView) SetDueAt(v int64) {
o.DueAt = &v
}
// GetExtRef returns the ExtRef field value if set, zero value otherwise.
func (o *TaskIssueView) GetExtRef() string {
if o == nil || IsNil(o.ExtRef) {
var ret string
return ret
}
return *o.ExtRef
}
// GetExtRefOk returns a tuple with the ExtRef field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *TaskIssueView) GetExtRefOk() (*string, bool) {
if o == nil || IsNil(o.ExtRef) {
return nil, false
}
return o.ExtRef, true
}
// HasExtRef returns a boolean if a field has been set.
func (o *TaskIssueView) HasExtRef() bool {
if o != nil && !IsNil(o.ExtRef) {
return true
}
return false
}
// SetExtRef gets a reference to the given string and assigns it to the ExtRef field.
func (o *TaskIssueView) SetExtRef(v string) {
o.ExtRef = &v
}
// GetId returns the Id field value if set, zero value otherwise.
func (o *TaskIssueView) GetId() string {
if o == nil || IsNil(o.Id) {
var ret string
return ret
}
return *o.Id
}
// GetIdOk returns a tuple with the Id field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *TaskIssueView) GetIdOk() (*string, bool) {
if o == nil || IsNil(o.Id) {
return nil, false
}
return o.Id, true
}
// HasId returns a boolean if a field has been set.
func (o *TaskIssueView) HasId() bool {
if o != nil && !IsNil(o.Id) {
return true
}
return false
}
// SetId gets a reference to the given string and assigns it to the Id field.
func (o *TaskIssueView) SetId(v string) {
o.Id = &v
}
// GetIdentifier returns the Identifier field value if set, zero value otherwise.
func (o *TaskIssueView) GetIdentifier() string {
if o == nil || IsNil(o.Identifier) {
var ret string
return ret
}
return *o.Identifier
}
// GetIdentifierOk returns a tuple with the Identifier field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *TaskIssueView) GetIdentifierOk() (*string, bool) {
if o == nil || IsNil(o.Identifier) {
return nil, false
}
return o.Identifier, true
}
// HasIdentifier returns a boolean if a field has been set.
func (o *TaskIssueView) HasIdentifier() bool {
if o != nil && !IsNil(o.Identifier) {
return true
}
return false
}
// SetIdentifier gets a reference to the given string and assigns it to the Identifier field.
func (o *TaskIssueView) SetIdentifier(v string) {
o.Identifier = &v
}
// GetKind returns the Kind field value if set, zero value otherwise.
func (o *TaskIssueView) GetKind() string {
if o == nil || IsNil(o.Kind) {
var ret string
return ret
}
return *o.Kind
}
// GetKindOk returns a tuple with the Kind field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *TaskIssueView) GetKindOk() (*string, bool) {
if o == nil || IsNil(o.Kind) {
return nil, false
}
return o.Kind, true
}
// HasKind returns a boolean if a field has been set.
func (o *TaskIssueView) HasKind() bool {
if o != nil && !IsNil(o.Kind) {
return true
}
return false
}
// SetKind gets a reference to the given string and assigns it to the Kind field.
func (o *TaskIssueView) SetKind(v string) {
o.Kind = &v
}
// GetLabels returns the Labels field value if set, zero value otherwise.
func (o *TaskIssueView) GetLabels() []string {
if o == nil || IsNil(o.Labels) {
var ret []string
return ret
}
return o.Labels
}
// GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *TaskIssueView) GetLabelsOk() ([]string, bool) {
if o == nil || IsNil(o.Labels) {
return nil, false
}
return o.Labels, true
}
// HasLabels returns a boolean if a field has been set.
func (o *TaskIssueView) HasLabels() bool {
if o != nil && !IsNil(o.Labels) {
return true
}
return false
}
// SetLabels gets a reference to the given []string and assigns it to the Labels field.
func (o *TaskIssueView) SetLabels(v []string) {
o.Labels = v
}
// GetNumber returns the Number field value if set, zero value otherwise.
func (o *TaskIssueView) GetNumber() int64 {
if o == nil || IsNil(o.Number) {
var ret int64
return ret
}
return *o.Number
}
// GetNumberOk returns a tuple with the Number field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *TaskIssueView) GetNumberOk() (*int64, bool) {
if o == nil || IsNil(o.Number) {
return nil, false
}
return o.Number, true
}
// HasNumber returns a boolean if a field has been set.
func (o *TaskIssueView) HasNumber() bool {
if o != nil && !IsNil(o.Number) {
return true
}
return false
}
// SetNumber gets a reference to the given int64 and assigns it to the Number field.
func (o *TaskIssueView) SetNumber(v int64) {
o.Number = &v
}
// GetPriority returns the Priority field value if set, zero value otherwise.
func (o *TaskIssueView) GetPriority() string {
if o == nil || IsNil(o.Priority) {
var ret string
return ret
}
return *o.Priority
}
// GetPriorityOk returns a tuple with the Priority field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *TaskIssueView) GetPriorityOk() (*string, bool) {
if o == nil || IsNil(o.Priority) {
return nil, false
}
return o.Priority, true
}
// HasPriority returns a boolean if a field has been set.
func (o *TaskIssueView) HasPriority() bool {
if o != nil && !IsNil(o.Priority) {
return true
}
return false
}
// SetPriority gets a reference to the given string and assigns it to the Priority field.
func (o *TaskIssueView) SetPriority(v string) {
o.Priority = &v
}
// GetProjectKey returns the ProjectKey field value if set, zero value otherwise.
func (o *TaskIssueView) GetProjectKey() string {
if o == nil || IsNil(o.ProjectKey) {
var ret string
return ret
}
return *o.ProjectKey
}
// GetProjectKeyOk returns a tuple with the ProjectKey field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *TaskIssueView) GetProjectKeyOk() (*string, bool) {
if o == nil || IsNil(o.ProjectKey) {
return nil, false
}
return o.ProjectKey, true
}
// HasProjectKey returns a boolean if a field has been set.
func (o *TaskIssueView) HasProjectKey() bool {
if o != nil && !IsNil(o.ProjectKey) {
return true
}
return false
}
// SetProjectKey gets a reference to the given string and assigns it to the ProjectKey field.
func (o *TaskIssueView) SetProjectKey(v string) {
o.ProjectKey = &v
}
// GetRepo returns the Repo field value if set, zero value otherwise.
func (o *TaskIssueView) GetRepo() string {
if o == nil || IsNil(o.Repo) {
var ret string
return ret
}
return *o.Repo
}
// GetRepoOk returns a tuple with the Repo field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *TaskIssueView) GetRepoOk() (*string, bool) {
if o == nil || IsNil(o.Repo) {
return nil, false
}
return o.Repo, true
}
// HasRepo returns a boolean if a field has been set.
func (o *TaskIssueView) HasRepo() bool {
if o != nil && !IsNil(o.Repo) {
return true
}
return false
}
// SetRepo gets a reference to the given string and assigns it to the Repo field.
func (o *TaskIssueView) SetRepo(v string) {
o.Repo = &v
}
// GetSource returns the Source field value if set, zero value otherwise.
func (o *TaskIssueView) GetSource() string {
if o == nil || IsNil(o.Source) {
var ret string
return ret
}
return *o.Source
}
// GetSourceOk returns a tuple with the Source field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *TaskIssueView) GetSourceOk() (*string, bool) {
if o == nil || IsNil(o.Source) {
return nil, false
}
return o.Source, true
}
// HasSource returns a boolean if a field has been set.
func (o *TaskIssueView) HasSource() bool {
if o != nil && !IsNil(o.Source) {
return true
}
return false
}
// SetSource gets a reference to the given string and assigns it to the Source field.
func (o *TaskIssueView) SetSource(v string) {
o.Source = &v
}
// GetStartAt returns the StartAt field value if set, zero value otherwise.
func (o *TaskIssueView) GetStartAt() int64 {
if o == nil || IsNil(o.StartAt) {
var ret int64
return ret
}
return *o.StartAt
}
// GetStartAtOk returns a tuple with the StartAt field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *TaskIssueView) GetStartAtOk() (*int64, bool) {
if o == nil || IsNil(o.StartAt) {
return nil, false
}
return o.StartAt, true
}
// HasStartAt returns a boolean if a field has been set.
func (o *TaskIssueView) HasStartAt() bool {
if o != nil && !IsNil(o.StartAt) {
return true
}
return false
}
// SetStartAt gets a reference to the given int64 and assigns it to the StartAt field.
func (o *TaskIssueView) SetStartAt(v int64) {
o.StartAt = &v
}
// GetStatus returns the Status field value if set, zero value otherwise.
func (o *TaskIssueView) GetStatus() string {
if o == nil || IsNil(o.Status) {
var ret string
return ret
}
return *o.Status
}
// GetStatusOk returns a tuple with the Status field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *TaskIssueView) GetStatusOk() (*string, bool) {
if o == nil || IsNil(o.Status) {
return nil, false
}
return o.Status, true
}
// HasStatus returns a boolean if a field has been set.
func (o *TaskIssueView) HasStatus() bool {
if o != nil && !IsNil(o.Status) {
return true
}
return false
}
// SetStatus gets a reference to the given string and assigns it to the Status field.
func (o *TaskIssueView) SetStatus(v string) {
o.Status = &v
}
// GetTitle returns the Title field value if set, zero value otherwise.
func (o *TaskIssueView) GetTitle() string {
if o == nil || IsNil(o.Title) {
var ret string
return ret
}
return *o.Title
}
// GetTitleOk returns a tuple with the Title field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *TaskIssueView) GetTitleOk() (*string, bool) {
if o == nil || IsNil(o.Title) {
return nil, false
}
return o.Title, true
}
// HasTitle returns a boolean if a field has been set.
func (o *TaskIssueView) HasTitle() bool {
if o != nil && !IsNil(o.Title) {
return true
}
return false
}
// SetTitle gets a reference to the given string and assigns it to the Title field.
func (o *TaskIssueView) SetTitle(v string) {
o.Title = &v
}
// GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (o *TaskIssueView) GetUpdatedAt() int64 {
if o == nil || IsNil(o.UpdatedAt) {
var ret int64
return ret
}
return *o.UpdatedAt
}
// GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *TaskIssueView) GetUpdatedAtOk() (*int64, bool) {
if o == nil || IsNil(o.UpdatedAt) {
return nil, false
}
return o.UpdatedAt, true
}
// HasUpdatedAt returns a boolean if a field has been set.
func (o *TaskIssueView) HasUpdatedAt() bool {
if o != nil && !IsNil(o.UpdatedAt) {
return true
}
return false
}
// SetUpdatedAt gets a reference to the given int64 and assigns it to the UpdatedAt field.
func (o *TaskIssueView) SetUpdatedAt(v int64) {
o.UpdatedAt = &v
}
// GetUrl returns the Url field value if set, zero value otherwise.
func (o *TaskIssueView) GetUrl() string {
if o == nil || IsNil(o.Url) {
var ret string
return ret
}
return *o.Url
}
// GetUrlOk returns a tuple with the Url field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *TaskIssueView) GetUrlOk() (*string, bool) {
if o == nil || IsNil(o.Url) {
return nil, false
}
return o.Url, true
}
// HasUrl returns a boolean if a field has been set.
func (o *TaskIssueView) HasUrl() bool {
if o != nil && !IsNil(o.Url) {
return true
}
return false
}
// SetUrl gets a reference to the given string and assigns it to the Url field.
func (o *TaskIssueView) SetUrl(v string) {
o.Url = &v
}
func (o TaskIssueView) MarshalJSON() ([]byte, error) {
toSerialize, err := o.ToMap()
if err != nil {
return []byte{}, err
}
return json.Marshal(toSerialize)
}
func (o TaskIssueView) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
if !IsNil(o.Assignee) {
toSerialize["assignee"] = o.Assignee
}
if !IsNil(o.CreatedAt) {
toSerialize["createdAt"] = o.CreatedAt
}
if !IsNil(o.Description) {
toSerialize["description"] = o.Description
}
if !IsNil(o.DueAt) {
toSerialize["dueAt"] = o.DueAt
}
if !IsNil(o.ExtRef) {
toSerialize["extRef"] = o.ExtRef
}
if !IsNil(o.Id) {
toSerialize["id"] = o.Id
}
if !IsNil(o.Identifier) {
toSerialize["identifier"] = o.Identifier
}
if !IsNil(o.Kind) {
toSerialize["kind"] = o.Kind
}
if !IsNil(o.Labels) {
toSerialize["labels"] = o.Labels
}
if !IsNil(o.Number) {
toSerialize["number"] = o.Number
}
if !IsNil(o.Priority) {
toSerialize["priority"] = o.Priority
}
if !IsNil(o.ProjectKey) {
toSerialize["projectKey"] = o.ProjectKey
}
if !IsNil(o.Repo) {
toSerialize["repo"] = o.Repo
}
if !IsNil(o.Source) {
toSerialize["source"] = o.Source
}
if !IsNil(o.StartAt) {
toSerialize["startAt"] = o.StartAt
}
if !IsNil(o.Status) {
toSerialize["status"] = o.Status
}
if !IsNil(o.Title) {
toSerialize["title"] = o.Title
}
if !IsNil(o.UpdatedAt) {
toSerialize["updatedAt"] = o.UpdatedAt
}
if !IsNil(o.Url) {
toSerialize["url"] = o.Url
}
for key, value := range o.AdditionalProperties {
toSerialize[key] = value
}
return toSerialize, nil
}
func (o *TaskIssueView) UnmarshalJSON(data []byte) (err error) {
varTaskIssueView := _TaskIssueView{}
err = json.Unmarshal(data, &varTaskIssueView)
if err != nil {
return err
}
*o = TaskIssueView(varTaskIssueView)
additionalProperties := make(map[string]interface{})
if err = json.Unmarshal(data, &additionalProperties); err == nil {
delete(additionalProperties, "assignee")
delete(additionalProperties, "createdAt")
delete(additionalProperties, "description")
delete(additionalProperties, "dueAt")
delete(additionalProperties, "extRef")
delete(additionalProperties, "id")
delete(additionalProperties, "identifier")
delete(additionalProperties, "kind")
delete(additionalProperties, "labels")
delete(additionalProperties, "number")
delete(additionalProperties, "priority")
delete(additionalProperties, "projectKey")
delete(additionalProperties, "repo")
delete(additionalProperties, "source")
delete(additionalProperties, "startAt")
delete(additionalProperties, "status")
delete(additionalProperties, "title")
delete(additionalProperties, "updatedAt")
delete(additionalProperties, "url")
o.AdditionalProperties = additionalProperties
}
return err
}
type NullableTaskIssueView struct {
value *TaskIssueView
isSet bool
}
func (v NullableTaskIssueView) Get() *TaskIssueView {
return v.value
}
func (v *NullableTaskIssueView) Set(val *TaskIssueView) {
v.value = val
v.isSet = true
}
func (v NullableTaskIssueView) IsSet() bool {
return v.isSet
}
func (v *NullableTaskIssueView) Unset() {
v.value = nil
v.isSet = false
}
func NewNullableTaskIssueView(val *TaskIssueView) *NullableTaskIssueView {
return &NullableTaskIssueView{value: val, isSet: true}
}
func (v NullableTaskIssueView) MarshalJSON() ([]byte, error) {
return json.Marshal(v.value)
}
func (v *NullableTaskIssueView) UnmarshalJSON(src []byte) error {
v.isSet = true
return json.Unmarshal(src, &v.value)
}