gitee.com/openeuler/go-gitee@v0.0.0-20220530104019-3af895bc380c/gitee/model_issue.go (about)

     1  /*
     2   * 码云 Open API
     3   *
     4   * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
     5   *
     6   * API version: 5.3.2
     7   * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
     8   */
     9  
    10  package gitee
    11  
    12  import (
    13  	"time"
    14  )
    15  
    16  // 搜索 Issues
    17  type Issue struct {
    18  	Id            int32         `json:"id,omitempty"`
    19  	Url           string        `json:"url,omitempty"`
    20  	RepositoryUrl string        `json:"repository_url,omitempty"`
    21  	LabelsUrl     string        `json:"labels_url,omitempty"`
    22  	CommentsUrl   string        `json:"comments_url,omitempty"`
    23  	HtmlUrl       string        `json:"html_url,omitempty"`
    24  	ParentUrl     string        `json:"parent_url,omitempty"`
    25  	Number        string        `json:"number,omitempty"`
    26  	State         string        `json:"state,omitempty"`
    27  	Title         string        `json:"title,omitempty"`
    28  	Body          string        `json:"body,omitempty"`
    29  	BodyHtml      string        `json:"body_html,omitempty"`
    30  	User          *UserBasic    `json:"user,omitempty"`
    31  	Labels        []Label       `json:"labels,omitempty"`
    32  	Assignee      *UserBasic    `json:"assignee,omitempty"`
    33  	Collaborators []UserBasic   `json:"collaborators,omitempty"`
    34  	Repository    string        `json:"repository,omitempty"`
    35  	Milestone     *Milestone    `json:"milestone,omitempty"`
    36  	CreatedAt     time.Time     `json:"created_at,omitempty"`
    37  	UpdatedAt     time.Time     `json:"updated_at,omitempty"`
    38  	PlanStartedAt time.Time     `json:"plan_started_at,omitempty"`
    39  	Deadline      time.Time     `json:"deadline,omitempty"`
    40  	FinishedAt    time.Time     `json:"finished_at,omitempty"`
    41  	ScheduledTime string        `json:"scheduled_time,omitempty"`
    42  	Comments      int32         `json:"comments,omitempty"`
    43  	IssueType     string        `json:"issue_type,omitempty"`
    44  	Program       *ProgramBasic `json:"program,omitempty"`
    45  }