Name | Type | Description | Notes |
---|---|---|---|
Name | string | ||
SourceLink | Pointer to string | [optional] | |
CommitUrlTemplate | Pointer to string | A template for constructing a valid URL to view the commit | [optional] |
HunkUrlTemplate | Pointer to string | A template for constructing a valid URL to view the hunk | [optional] |
Type | Pointer to string | Optionally specify a repository type. The default value is <code>custom</code> | [optional] |
DefaultBranch | Pointer to string | The default branch, if not specified, is <code>master</code> | [optional] |
func NewRepositoryPost(name string, ) *RepositoryPost
NewRepositoryPost instantiates a new RepositoryPost 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 NewRepositoryPostWithDefaults() *RepositoryPost
NewRepositoryPostWithDefaults instantiates a new RepositoryPost 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 *RepositoryPost) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *RepositoryPost) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RepositoryPost) SetName(v string)
SetName sets Name field to given value.
func (o *RepositoryPost) GetSourceLink() string
GetSourceLink returns the SourceLink field if non-nil, zero value otherwise.
func (o *RepositoryPost) GetSourceLinkOk() (*string, bool)
GetSourceLinkOk returns a tuple with the SourceLink field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RepositoryPost) SetSourceLink(v string)
SetSourceLink sets SourceLink field to given value.
func (o *RepositoryPost) HasSourceLink() bool
HasSourceLink returns a boolean if a field has been set.
func (o *RepositoryPost) GetCommitUrlTemplate() string
GetCommitUrlTemplate returns the CommitUrlTemplate field if non-nil, zero value otherwise.
func (o *RepositoryPost) GetCommitUrlTemplateOk() (*string, bool)
GetCommitUrlTemplateOk returns a tuple with the CommitUrlTemplate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RepositoryPost) SetCommitUrlTemplate(v string)
SetCommitUrlTemplate sets CommitUrlTemplate field to given value.
func (o *RepositoryPost) HasCommitUrlTemplate() bool
HasCommitUrlTemplate returns a boolean if a field has been set.
func (o *RepositoryPost) GetHunkUrlTemplate() string
GetHunkUrlTemplate returns the HunkUrlTemplate field if non-nil, zero value otherwise.
func (o *RepositoryPost) GetHunkUrlTemplateOk() (*string, bool)
GetHunkUrlTemplateOk returns a tuple with the HunkUrlTemplate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RepositoryPost) SetHunkUrlTemplate(v string)
SetHunkUrlTemplate sets HunkUrlTemplate field to given value.
func (o *RepositoryPost) HasHunkUrlTemplate() bool
HasHunkUrlTemplate returns a boolean if a field has been set.
func (o *RepositoryPost) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *RepositoryPost) GetTypeOk() (*string, 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 *RepositoryPost) SetType(v string)
SetType sets Type field to given value.
func (o *RepositoryPost) HasType() bool
HasType returns a boolean if a field has been set.
func (o *RepositoryPost) GetDefaultBranch() string
GetDefaultBranch returns the DefaultBranch field if non-nil, zero value otherwise.
func (o *RepositoryPost) GetDefaultBranchOk() (*string, bool)
GetDefaultBranchOk returns a tuple with the DefaultBranch field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RepositoryPost) SetDefaultBranch(v string)
SetDefaultBranch sets DefaultBranch field to given value.
func (o *RepositoryPost) HasDefaultBranch() bool
HasDefaultBranch returns a boolean if a field has been set.