| Name | Type | Description | Notes |
|---|---|---|---|
| Id | string | The repository ID | |
| Version | int32 | The repository version | |
| Key | string | The repository key | |
| Type | string | The repository type | |
| Url | string | The repository URL | |
| MainBranch | string | The repository main branch | |
| Projects | Pointer to ProjectSummaryCollection | [optional] |
func NewInsightsRepository(id string, version int32, key string, type_ string, url string, mainBranch string, ) *InsightsRepository
NewInsightsRepository instantiates a new InsightsRepository 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 NewInsightsRepositoryWithDefaults() *InsightsRepository
NewInsightsRepositoryWithDefaults instantiates a new InsightsRepository 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 *InsightsRepository) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *InsightsRepository) 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 *InsightsRepository) SetId(v string)
SetId sets Id field to given value.
func (o *InsightsRepository) GetVersion() int32
GetVersion returns the Version field if non-nil, zero value otherwise.
func (o *InsightsRepository) GetVersionOk() (*int32, bool)
GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *InsightsRepository) SetVersion(v int32)
SetVersion sets Version field to given value.
func (o *InsightsRepository) GetKey() string
GetKey returns the Key field if non-nil, zero value otherwise.
func (o *InsightsRepository) GetKeyOk() (*string, bool)
GetKeyOk returns a tuple with the Key field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *InsightsRepository) SetKey(v string)
SetKey sets Key field to given value.
func (o *InsightsRepository) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *InsightsRepository) 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 *InsightsRepository) SetType(v string)
SetType sets Type field to given value.
func (o *InsightsRepository) GetUrl() string
GetUrl returns the Url field if non-nil, zero value otherwise.
func (o *InsightsRepository) 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 *InsightsRepository) SetUrl(v string)
SetUrl sets Url field to given value.
func (o *InsightsRepository) GetMainBranch() string
GetMainBranch returns the MainBranch field if non-nil, zero value otherwise.
func (o *InsightsRepository) GetMainBranchOk() (*string, bool)
GetMainBranchOk returns a tuple with the MainBranch field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *InsightsRepository) SetMainBranch(v string)
SetMainBranch sets MainBranch field to given value.
func (o *InsightsRepository) GetProjects() ProjectSummaryCollection
GetProjects returns the Projects field if non-nil, zero value otherwise.
func (o *InsightsRepository) GetProjectsOk() (*ProjectSummaryCollection, bool)
GetProjectsOk returns a tuple with the Projects field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *InsightsRepository) SetProjects(v ProjectSummaryCollection)
SetProjects sets Projects field to given value.
func (o *InsightsRepository) HasProjects() bool
HasProjects returns a boolean if a field has been set.