| Name | Type | Description | Notes |
|---|---|---|---|
| Id | string | The pull request internal ID | |
| ExternalId | string | The pull request number | |
| Title | string | The pull request title | |
| Status | string | The pull request status | |
| Author | string | The pull request author | |
| CreateTime | int64 | ||
| MergeTime | Pointer to int64 | [optional] | |
| MergeCommitKey | Pointer to string | The pull request merge commit key | [optional] |
| BaseCommitKey | string | The pull request base commit key | |
| HeadCommitKey | string | The pull request head commit key | |
| FilesChanged | int32 | The number of files changed | |
| LinesAdded | int32 | The number of lines added | |
| LinesDeleted | int32 | The number of lines deleted | |
| Url | string | The pull request URL | |
| Deployments | Pointer to DeploymentCollectionRep | [optional] | |
| FlagReferences | Pointer to FlagReferenceCollectionRep | [optional] | |
| LeadTime | Pointer to PullRequestLeadTimeRep | [optional] |
func NewPullRequestRep(id string, externalId string, title string, status string, author string, createTime int64, baseCommitKey string, headCommitKey string, filesChanged int32, linesAdded int32, linesDeleted int32, url string, ) *PullRequestRep
NewPullRequestRep instantiates a new PullRequestRep 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 NewPullRequestRepWithDefaults() *PullRequestRep
NewPullRequestRepWithDefaults instantiates a new PullRequestRep 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 *PullRequestRep) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *PullRequestRep) GetIdOk() (*string, 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 *PullRequestRep) SetId(v string)
SetId sets Id field to given value.
func (o *PullRequestRep) GetExternalId() string
GetExternalId returns the ExternalId field if non-nil, zero value otherwise.
func (o *PullRequestRep) GetExternalIdOk() (*string, bool)
GetExternalIdOk returns a tuple with the ExternalId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PullRequestRep) SetExternalId(v string)
SetExternalId sets ExternalId field to given value.
func (o *PullRequestRep) GetTitle() string
GetTitle returns the Title field if non-nil, zero value otherwise.
func (o *PullRequestRep) 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 *PullRequestRep) SetTitle(v string)
SetTitle sets Title field to given value.
func (o *PullRequestRep) GetStatus() string
GetStatus returns the Status field if non-nil, zero value otherwise.
func (o *PullRequestRep) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PullRequestRep) SetStatus(v string)
SetStatus sets Status field to given value.
func (o *PullRequestRep) GetAuthor() string
GetAuthor returns the Author field if non-nil, zero value otherwise.
func (o *PullRequestRep) GetAuthorOk() (*string, bool)
GetAuthorOk returns a tuple with the Author field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PullRequestRep) SetAuthor(v string)
SetAuthor sets Author field to given value.
func (o *PullRequestRep) GetCreateTime() int64
GetCreateTime returns the CreateTime field if non-nil, zero value otherwise.
func (o *PullRequestRep) GetCreateTimeOk() (*int64, bool)
GetCreateTimeOk returns a tuple with the CreateTime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PullRequestRep) SetCreateTime(v int64)
SetCreateTime sets CreateTime field to given value.
func (o *PullRequestRep) GetMergeTime() int64
GetMergeTime returns the MergeTime field if non-nil, zero value otherwise.
func (o *PullRequestRep) GetMergeTimeOk() (*int64, bool)
GetMergeTimeOk returns a tuple with the MergeTime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PullRequestRep) SetMergeTime(v int64)
SetMergeTime sets MergeTime field to given value.
func (o *PullRequestRep) HasMergeTime() bool
HasMergeTime returns a boolean if a field has been set.
func (o *PullRequestRep) GetMergeCommitKey() string
GetMergeCommitKey returns the MergeCommitKey field if non-nil, zero value otherwise.
func (o *PullRequestRep) GetMergeCommitKeyOk() (*string, bool)
GetMergeCommitKeyOk returns a tuple with the MergeCommitKey field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PullRequestRep) SetMergeCommitKey(v string)
SetMergeCommitKey sets MergeCommitKey field to given value.
func (o *PullRequestRep) HasMergeCommitKey() bool
HasMergeCommitKey returns a boolean if a field has been set.
func (o *PullRequestRep) GetBaseCommitKey() string
GetBaseCommitKey returns the BaseCommitKey field if non-nil, zero value otherwise.
func (o *PullRequestRep) GetBaseCommitKeyOk() (*string, bool)
GetBaseCommitKeyOk returns a tuple with the BaseCommitKey field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PullRequestRep) SetBaseCommitKey(v string)
SetBaseCommitKey sets BaseCommitKey field to given value.
func (o *PullRequestRep) GetHeadCommitKey() string
GetHeadCommitKey returns the HeadCommitKey field if non-nil, zero value otherwise.
func (o *PullRequestRep) GetHeadCommitKeyOk() (*string, bool)
GetHeadCommitKeyOk returns a tuple with the HeadCommitKey field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PullRequestRep) SetHeadCommitKey(v string)
SetHeadCommitKey sets HeadCommitKey field to given value.
func (o *PullRequestRep) GetFilesChanged() int32
GetFilesChanged returns the FilesChanged field if non-nil, zero value otherwise.
func (o *PullRequestRep) GetFilesChangedOk() (*int32, bool)
GetFilesChangedOk returns a tuple with the FilesChanged field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PullRequestRep) SetFilesChanged(v int32)
SetFilesChanged sets FilesChanged field to given value.
func (o *PullRequestRep) GetLinesAdded() int32
GetLinesAdded returns the LinesAdded field if non-nil, zero value otherwise.
func (o *PullRequestRep) GetLinesAddedOk() (*int32, bool)
GetLinesAddedOk returns a tuple with the LinesAdded field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PullRequestRep) SetLinesAdded(v int32)
SetLinesAdded sets LinesAdded field to given value.
func (o *PullRequestRep) GetLinesDeleted() int32
GetLinesDeleted returns the LinesDeleted field if non-nil, zero value otherwise.
func (o *PullRequestRep) GetLinesDeletedOk() (*int32, bool)
GetLinesDeletedOk returns a tuple with the LinesDeleted field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PullRequestRep) SetLinesDeleted(v int32)
SetLinesDeleted sets LinesDeleted field to given value.
func (o *PullRequestRep) GetUrl() string
GetUrl returns the Url field if non-nil, zero value otherwise.
func (o *PullRequestRep) 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 *PullRequestRep) SetUrl(v string)
SetUrl sets Url field to given value.
func (o *PullRequestRep) GetDeployments() DeploymentCollectionRep
GetDeployments returns the Deployments field if non-nil, zero value otherwise.
func (o *PullRequestRep) GetDeploymentsOk() (*DeploymentCollectionRep, bool)
GetDeploymentsOk returns a tuple with the Deployments field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PullRequestRep) SetDeployments(v DeploymentCollectionRep)
SetDeployments sets Deployments field to given value.
func (o *PullRequestRep) HasDeployments() bool
HasDeployments returns a boolean if a field has been set.
func (o *PullRequestRep) GetFlagReferences() FlagReferenceCollectionRep
GetFlagReferences returns the FlagReferences field if non-nil, zero value otherwise.
func (o *PullRequestRep) GetFlagReferencesOk() (*FlagReferenceCollectionRep, bool)
GetFlagReferencesOk returns a tuple with the FlagReferences field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PullRequestRep) SetFlagReferences(v FlagReferenceCollectionRep)
SetFlagReferences sets FlagReferences field to given value.
func (o *PullRequestRep) HasFlagReferences() bool
HasFlagReferences returns a boolean if a field has been set.
func (o *PullRequestRep) GetLeadTime() PullRequestLeadTimeRep
GetLeadTime returns the LeadTime field if non-nil, zero value otherwise.
func (o *PullRequestRep) GetLeadTimeOk() (*PullRequestLeadTimeRep, bool)
GetLeadTimeOk returns a tuple with the LeadTime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PullRequestRep) SetLeadTime(v PullRequestLeadTimeRep)
SetLeadTime sets LeadTime field to given value.
func (o *PullRequestRep) HasLeadTime() bool
HasLeadTime returns a boolean if a field has been set.