Files
sdk/model_git_activity_group.go

915 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 GitActivityGroup type satisfies the MappedNullable interface at compile time
var _ MappedNullable = &GitActivityGroup{}
// GitActivityGroup struct for GitActivityGroup
type GitActivityGroup struct {
// Active is how many of the group's repositories have a commit on each UTC day.
Active map[string]int64 `json:"active,omitempty"`
// Active30 is how many have a commit in the last 30 days.
Active30 *int64 `json:"active30,omitempty"`
// Commits is distinct commits in the window, each counted once in this scope: every commit the scope's repositories hold, the upstream projects carried and kept current included.
Commits *int64 `json:"commits,omitempty"`
// Contributors is distinct author addresses in the window, counted and never named.
Contributors *int64 `json:"contributors,omitempty"`
// Daily is the group's distinct commits per UTC day, YYYY-MM-DD.
Daily map[string]int64 `json:"daily,omitempty"`
// Empty is how many hold no commit.
Empty *int64 `json:"empty,omitempty"`
// Last is the newest commit time in the scope, RFC 3339 UTC; empty when none.
Last *string `json:"last,omitempty"`
// Latest is the group's newest commits of public repositories, newest first.
Latest []GitActivityCommit `json:"latest,omitempty"`
// MergeMonths is Merges per calendar month, as Months.
MergeMonths []int64 `json:"mergeMonths,omitempty"`
// Merges is how many of those have more than one parent.
Merges *int64 `json:"merges,omitempty"`
// Mirrors is how many are pull mirrors of github.com.
Mirrors *int64 `json:"mirrors,omitempty"`
// Months is Commits per calendar month, oldest first, one per entry of the document's Months.
Months []int64 `json:"months,omitempty"`
// Name is the group.
Name *string `json:"name,omitempty"`
// Orgs is how many orgs the group holds.
Orgs *int64 `json:"orgs,omitempty"`
// Ours is how many of those the estate's people authored: an address a member of an estate org commits with, or one at an estate domain.
Ours *int64 `json:"ours,omitempty"`
// OursDaily is the group's own commits per UTC day.
OursDaily map[string]int64 `json:"oursDaily,omitempty"`
// OursMonths is Ours per calendar month, as Months.
OursMonths []int64 `json:"oursMonths,omitempty"`
// People is how many of those are the estate's own.
People *int64 `json:"people,omitempty"`
// Private is how many only their members can read. They are counted, never named.
Private *int64 `json:"private,omitempty"`
// Public is how many of them anyone can read.
Public *int64 `json:"public,omitempty"`
// Repos is how many repositories the scope holds on the forge.
Repos *int64 `json:"repos,omitempty"`
AdditionalProperties map[string]interface{}
}
type _GitActivityGroup GitActivityGroup
// NewGitActivityGroup instantiates a new GitActivityGroup 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 NewGitActivityGroup() *GitActivityGroup {
this := GitActivityGroup{}
return &this
}
// NewGitActivityGroupWithDefaults instantiates a new GitActivityGroup 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 NewGitActivityGroupWithDefaults() *GitActivityGroup {
this := GitActivityGroup{}
return &this
}
// GetActive returns the Active field value if set, zero value otherwise.
func (o *GitActivityGroup) GetActive() map[string]int64 {
if o == nil || IsNil(o.Active) {
var ret map[string]int64
return ret
}
return o.Active
}
// GetActiveOk returns a tuple with the Active field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *GitActivityGroup) GetActiveOk() (map[string]int64, bool) {
if o == nil || IsNil(o.Active) {
return map[string]int64{}, false
}
return o.Active, true
}
// HasActive returns a boolean if a field has been set.
func (o *GitActivityGroup) HasActive() bool {
if o != nil && !IsNil(o.Active) {
return true
}
return false
}
// SetActive gets a reference to the given map[string]int64 and assigns it to the Active field.
func (o *GitActivityGroup) SetActive(v map[string]int64) {
o.Active = v
}
// GetActive30 returns the Active30 field value if set, zero value otherwise.
func (o *GitActivityGroup) GetActive30() int64 {
if o == nil || IsNil(o.Active30) {
var ret int64
return ret
}
return *o.Active30
}
// GetActive30Ok returns a tuple with the Active30 field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *GitActivityGroup) GetActive30Ok() (*int64, bool) {
if o == nil || IsNil(o.Active30) {
return nil, false
}
return o.Active30, true
}
// HasActive30 returns a boolean if a field has been set.
func (o *GitActivityGroup) HasActive30() bool {
if o != nil && !IsNil(o.Active30) {
return true
}
return false
}
// SetActive30 gets a reference to the given int64 and assigns it to the Active30 field.
func (o *GitActivityGroup) SetActive30(v int64) {
o.Active30 = &v
}
// GetCommits returns the Commits field value if set, zero value otherwise.
func (o *GitActivityGroup) GetCommits() int64 {
if o == nil || IsNil(o.Commits) {
var ret int64
return ret
}
return *o.Commits
}
// GetCommitsOk returns a tuple with the Commits field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *GitActivityGroup) GetCommitsOk() (*int64, bool) {
if o == nil || IsNil(o.Commits) {
return nil, false
}
return o.Commits, true
}
// HasCommits returns a boolean if a field has been set.
func (o *GitActivityGroup) HasCommits() bool {
if o != nil && !IsNil(o.Commits) {
return true
}
return false
}
// SetCommits gets a reference to the given int64 and assigns it to the Commits field.
func (o *GitActivityGroup) SetCommits(v int64) {
o.Commits = &v
}
// GetContributors returns the Contributors field value if set, zero value otherwise.
func (o *GitActivityGroup) GetContributors() int64 {
if o == nil || IsNil(o.Contributors) {
var ret int64
return ret
}
return *o.Contributors
}
// GetContributorsOk returns a tuple with the Contributors field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *GitActivityGroup) GetContributorsOk() (*int64, bool) {
if o == nil || IsNil(o.Contributors) {
return nil, false
}
return o.Contributors, true
}
// HasContributors returns a boolean if a field has been set.
func (o *GitActivityGroup) HasContributors() bool {
if o != nil && !IsNil(o.Contributors) {
return true
}
return false
}
// SetContributors gets a reference to the given int64 and assigns it to the Contributors field.
func (o *GitActivityGroup) SetContributors(v int64) {
o.Contributors = &v
}
// GetDaily returns the Daily field value if set, zero value otherwise.
func (o *GitActivityGroup) GetDaily() map[string]int64 {
if o == nil || IsNil(o.Daily) {
var ret map[string]int64
return ret
}
return o.Daily
}
// GetDailyOk returns a tuple with the Daily field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *GitActivityGroup) GetDailyOk() (map[string]int64, bool) {
if o == nil || IsNil(o.Daily) {
return map[string]int64{}, false
}
return o.Daily, true
}
// HasDaily returns a boolean if a field has been set.
func (o *GitActivityGroup) HasDaily() bool {
if o != nil && !IsNil(o.Daily) {
return true
}
return false
}
// SetDaily gets a reference to the given map[string]int64 and assigns it to the Daily field.
func (o *GitActivityGroup) SetDaily(v map[string]int64) {
o.Daily = v
}
// GetEmpty returns the Empty field value if set, zero value otherwise.
func (o *GitActivityGroup) GetEmpty() int64 {
if o == nil || IsNil(o.Empty) {
var ret int64
return ret
}
return *o.Empty
}
// GetEmptyOk returns a tuple with the Empty field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *GitActivityGroup) GetEmptyOk() (*int64, bool) {
if o == nil || IsNil(o.Empty) {
return nil, false
}
return o.Empty, true
}
// HasEmpty returns a boolean if a field has been set.
func (o *GitActivityGroup) HasEmpty() bool {
if o != nil && !IsNil(o.Empty) {
return true
}
return false
}
// SetEmpty gets a reference to the given int64 and assigns it to the Empty field.
func (o *GitActivityGroup) SetEmpty(v int64) {
o.Empty = &v
}
// GetLast returns the Last field value if set, zero value otherwise.
func (o *GitActivityGroup) GetLast() string {
if o == nil || IsNil(o.Last) {
var ret string
return ret
}
return *o.Last
}
// GetLastOk returns a tuple with the Last field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *GitActivityGroup) GetLastOk() (*string, bool) {
if o == nil || IsNil(o.Last) {
return nil, false
}
return o.Last, true
}
// HasLast returns a boolean if a field has been set.
func (o *GitActivityGroup) HasLast() bool {
if o != nil && !IsNil(o.Last) {
return true
}
return false
}
// SetLast gets a reference to the given string and assigns it to the Last field.
func (o *GitActivityGroup) SetLast(v string) {
o.Last = &v
}
// GetLatest returns the Latest field value if set, zero value otherwise.
func (o *GitActivityGroup) GetLatest() []GitActivityCommit {
if o == nil || IsNil(o.Latest) {
var ret []GitActivityCommit
return ret
}
return o.Latest
}
// GetLatestOk returns a tuple with the Latest field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *GitActivityGroup) GetLatestOk() ([]GitActivityCommit, bool) {
if o == nil || IsNil(o.Latest) {
return nil, false
}
return o.Latest, true
}
// HasLatest returns a boolean if a field has been set.
func (o *GitActivityGroup) HasLatest() bool {
if o != nil && !IsNil(o.Latest) {
return true
}
return false
}
// SetLatest gets a reference to the given []GitActivityCommit and assigns it to the Latest field.
func (o *GitActivityGroup) SetLatest(v []GitActivityCommit) {
o.Latest = v
}
// GetMergeMonths returns the MergeMonths field value if set, zero value otherwise.
func (o *GitActivityGroup) GetMergeMonths() []int64 {
if o == nil || IsNil(o.MergeMonths) {
var ret []int64
return ret
}
return o.MergeMonths
}
// GetMergeMonthsOk returns a tuple with the MergeMonths field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *GitActivityGroup) GetMergeMonthsOk() ([]int64, bool) {
if o == nil || IsNil(o.MergeMonths) {
return nil, false
}
return o.MergeMonths, true
}
// HasMergeMonths returns a boolean if a field has been set.
func (o *GitActivityGroup) HasMergeMonths() bool {
if o != nil && !IsNil(o.MergeMonths) {
return true
}
return false
}
// SetMergeMonths gets a reference to the given []int64 and assigns it to the MergeMonths field.
func (o *GitActivityGroup) SetMergeMonths(v []int64) {
o.MergeMonths = v
}
// GetMerges returns the Merges field value if set, zero value otherwise.
func (o *GitActivityGroup) GetMerges() int64 {
if o == nil || IsNil(o.Merges) {
var ret int64
return ret
}
return *o.Merges
}
// GetMergesOk returns a tuple with the Merges field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *GitActivityGroup) GetMergesOk() (*int64, bool) {
if o == nil || IsNil(o.Merges) {
return nil, false
}
return o.Merges, true
}
// HasMerges returns a boolean if a field has been set.
func (o *GitActivityGroup) HasMerges() bool {
if o != nil && !IsNil(o.Merges) {
return true
}
return false
}
// SetMerges gets a reference to the given int64 and assigns it to the Merges field.
func (o *GitActivityGroup) SetMerges(v int64) {
o.Merges = &v
}
// GetMirrors returns the Mirrors field value if set, zero value otherwise.
func (o *GitActivityGroup) GetMirrors() int64 {
if o == nil || IsNil(o.Mirrors) {
var ret int64
return ret
}
return *o.Mirrors
}
// GetMirrorsOk returns a tuple with the Mirrors field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *GitActivityGroup) GetMirrorsOk() (*int64, bool) {
if o == nil || IsNil(o.Mirrors) {
return nil, false
}
return o.Mirrors, true
}
// HasMirrors returns a boolean if a field has been set.
func (o *GitActivityGroup) HasMirrors() bool {
if o != nil && !IsNil(o.Mirrors) {
return true
}
return false
}
// SetMirrors gets a reference to the given int64 and assigns it to the Mirrors field.
func (o *GitActivityGroup) SetMirrors(v int64) {
o.Mirrors = &v
}
// GetMonths returns the Months field value if set, zero value otherwise.
func (o *GitActivityGroup) GetMonths() []int64 {
if o == nil || IsNil(o.Months) {
var ret []int64
return ret
}
return o.Months
}
// GetMonthsOk returns a tuple with the Months field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *GitActivityGroup) GetMonthsOk() ([]int64, bool) {
if o == nil || IsNil(o.Months) {
return nil, false
}
return o.Months, true
}
// HasMonths returns a boolean if a field has been set.
func (o *GitActivityGroup) HasMonths() bool {
if o != nil && !IsNil(o.Months) {
return true
}
return false
}
// SetMonths gets a reference to the given []int64 and assigns it to the Months field.
func (o *GitActivityGroup) SetMonths(v []int64) {
o.Months = v
}
// GetName returns the Name field value if set, zero value otherwise.
func (o *GitActivityGroup) GetName() string {
if o == nil || IsNil(o.Name) {
var ret string
return ret
}
return *o.Name
}
// GetNameOk returns a tuple with the Name field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *GitActivityGroup) GetNameOk() (*string, bool) {
if o == nil || IsNil(o.Name) {
return nil, false
}
return o.Name, true
}
// HasName returns a boolean if a field has been set.
func (o *GitActivityGroup) HasName() bool {
if o != nil && !IsNil(o.Name) {
return true
}
return false
}
// SetName gets a reference to the given string and assigns it to the Name field.
func (o *GitActivityGroup) SetName(v string) {
o.Name = &v
}
// GetOrgs returns the Orgs field value if set, zero value otherwise.
func (o *GitActivityGroup) GetOrgs() int64 {
if o == nil || IsNil(o.Orgs) {
var ret int64
return ret
}
return *o.Orgs
}
// GetOrgsOk returns a tuple with the Orgs field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *GitActivityGroup) GetOrgsOk() (*int64, bool) {
if o == nil || IsNil(o.Orgs) {
return nil, false
}
return o.Orgs, true
}
// HasOrgs returns a boolean if a field has been set.
func (o *GitActivityGroup) HasOrgs() bool {
if o != nil && !IsNil(o.Orgs) {
return true
}
return false
}
// SetOrgs gets a reference to the given int64 and assigns it to the Orgs field.
func (o *GitActivityGroup) SetOrgs(v int64) {
o.Orgs = &v
}
// GetOurs returns the Ours field value if set, zero value otherwise.
func (o *GitActivityGroup) GetOurs() int64 {
if o == nil || IsNil(o.Ours) {
var ret int64
return ret
}
return *o.Ours
}
// GetOursOk returns a tuple with the Ours field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *GitActivityGroup) GetOursOk() (*int64, bool) {
if o == nil || IsNil(o.Ours) {
return nil, false
}
return o.Ours, true
}
// HasOurs returns a boolean if a field has been set.
func (o *GitActivityGroup) HasOurs() bool {
if o != nil && !IsNil(o.Ours) {
return true
}
return false
}
// SetOurs gets a reference to the given int64 and assigns it to the Ours field.
func (o *GitActivityGroup) SetOurs(v int64) {
o.Ours = &v
}
// GetOursDaily returns the OursDaily field value if set, zero value otherwise.
func (o *GitActivityGroup) GetOursDaily() map[string]int64 {
if o == nil || IsNil(o.OursDaily) {
var ret map[string]int64
return ret
}
return o.OursDaily
}
// GetOursDailyOk returns a tuple with the OursDaily field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *GitActivityGroup) GetOursDailyOk() (map[string]int64, bool) {
if o == nil || IsNil(o.OursDaily) {
return map[string]int64{}, false
}
return o.OursDaily, true
}
// HasOursDaily returns a boolean if a field has been set.
func (o *GitActivityGroup) HasOursDaily() bool {
if o != nil && !IsNil(o.OursDaily) {
return true
}
return false
}
// SetOursDaily gets a reference to the given map[string]int64 and assigns it to the OursDaily field.
func (o *GitActivityGroup) SetOursDaily(v map[string]int64) {
o.OursDaily = v
}
// GetOursMonths returns the OursMonths field value if set, zero value otherwise.
func (o *GitActivityGroup) GetOursMonths() []int64 {
if o == nil || IsNil(o.OursMonths) {
var ret []int64
return ret
}
return o.OursMonths
}
// GetOursMonthsOk returns a tuple with the OursMonths field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *GitActivityGroup) GetOursMonthsOk() ([]int64, bool) {
if o == nil || IsNil(o.OursMonths) {
return nil, false
}
return o.OursMonths, true
}
// HasOursMonths returns a boolean if a field has been set.
func (o *GitActivityGroup) HasOursMonths() bool {
if o != nil && !IsNil(o.OursMonths) {
return true
}
return false
}
// SetOursMonths gets a reference to the given []int64 and assigns it to the OursMonths field.
func (o *GitActivityGroup) SetOursMonths(v []int64) {
o.OursMonths = v
}
// GetPeople returns the People field value if set, zero value otherwise.
func (o *GitActivityGroup) GetPeople() int64 {
if o == nil || IsNil(o.People) {
var ret int64
return ret
}
return *o.People
}
// GetPeopleOk returns a tuple with the People field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *GitActivityGroup) GetPeopleOk() (*int64, bool) {
if o == nil || IsNil(o.People) {
return nil, false
}
return o.People, true
}
// HasPeople returns a boolean if a field has been set.
func (o *GitActivityGroup) HasPeople() bool {
if o != nil && !IsNil(o.People) {
return true
}
return false
}
// SetPeople gets a reference to the given int64 and assigns it to the People field.
func (o *GitActivityGroup) SetPeople(v int64) {
o.People = &v
}
// GetPrivate returns the Private field value if set, zero value otherwise.
func (o *GitActivityGroup) GetPrivate() int64 {
if o == nil || IsNil(o.Private) {
var ret int64
return ret
}
return *o.Private
}
// GetPrivateOk returns a tuple with the Private field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *GitActivityGroup) GetPrivateOk() (*int64, bool) {
if o == nil || IsNil(o.Private) {
return nil, false
}
return o.Private, true
}
// HasPrivate returns a boolean if a field has been set.
func (o *GitActivityGroup) HasPrivate() bool {
if o != nil && !IsNil(o.Private) {
return true
}
return false
}
// SetPrivate gets a reference to the given int64 and assigns it to the Private field.
func (o *GitActivityGroup) SetPrivate(v int64) {
o.Private = &v
}
// GetPublic returns the Public field value if set, zero value otherwise.
func (o *GitActivityGroup) GetPublic() int64 {
if o == nil || IsNil(o.Public) {
var ret int64
return ret
}
return *o.Public
}
// GetPublicOk returns a tuple with the Public field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *GitActivityGroup) GetPublicOk() (*int64, bool) {
if o == nil || IsNil(o.Public) {
return nil, false
}
return o.Public, true
}
// HasPublic returns a boolean if a field has been set.
func (o *GitActivityGroup) HasPublic() bool {
if o != nil && !IsNil(o.Public) {
return true
}
return false
}
// SetPublic gets a reference to the given int64 and assigns it to the Public field.
func (o *GitActivityGroup) SetPublic(v int64) {
o.Public = &v
}
// GetRepos returns the Repos field value if set, zero value otherwise.
func (o *GitActivityGroup) GetRepos() int64 {
if o == nil || IsNil(o.Repos) {
var ret int64
return ret
}
return *o.Repos
}
// GetReposOk returns a tuple with the Repos field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *GitActivityGroup) GetReposOk() (*int64, bool) {
if o == nil || IsNil(o.Repos) {
return nil, false
}
return o.Repos, true
}
// HasRepos returns a boolean if a field has been set.
func (o *GitActivityGroup) HasRepos() bool {
if o != nil && !IsNil(o.Repos) {
return true
}
return false
}
// SetRepos gets a reference to the given int64 and assigns it to the Repos field.
func (o *GitActivityGroup) SetRepos(v int64) {
o.Repos = &v
}
func (o GitActivityGroup) MarshalJSON() ([]byte, error) {
toSerialize, err := o.ToMap()
if err != nil {
return []byte{}, err
}
return json.Marshal(toSerialize)
}
func (o GitActivityGroup) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
if !IsNil(o.Active) {
toSerialize["active"] = o.Active
}
if !IsNil(o.Active30) {
toSerialize["active30"] = o.Active30
}
if !IsNil(o.Commits) {
toSerialize["commits"] = o.Commits
}
if !IsNil(o.Contributors) {
toSerialize["contributors"] = o.Contributors
}
if !IsNil(o.Daily) {
toSerialize["daily"] = o.Daily
}
if !IsNil(o.Empty) {
toSerialize["empty"] = o.Empty
}
if !IsNil(o.Last) {
toSerialize["last"] = o.Last
}
if !IsNil(o.Latest) {
toSerialize["latest"] = o.Latest
}
if !IsNil(o.MergeMonths) {
toSerialize["mergeMonths"] = o.MergeMonths
}
if !IsNil(o.Merges) {
toSerialize["merges"] = o.Merges
}
if !IsNil(o.Mirrors) {
toSerialize["mirrors"] = o.Mirrors
}
if !IsNil(o.Months) {
toSerialize["months"] = o.Months
}
if !IsNil(o.Name) {
toSerialize["name"] = o.Name
}
if !IsNil(o.Orgs) {
toSerialize["orgs"] = o.Orgs
}
if !IsNil(o.Ours) {
toSerialize["ours"] = o.Ours
}
if !IsNil(o.OursDaily) {
toSerialize["oursDaily"] = o.OursDaily
}
if !IsNil(o.OursMonths) {
toSerialize["oursMonths"] = o.OursMonths
}
if !IsNil(o.People) {
toSerialize["people"] = o.People
}
if !IsNil(o.Private) {
toSerialize["private"] = o.Private
}
if !IsNil(o.Public) {
toSerialize["public"] = o.Public
}
if !IsNil(o.Repos) {
toSerialize["repos"] = o.Repos
}
for key, value := range o.AdditionalProperties {
toSerialize[key] = value
}
return toSerialize, nil
}
func (o *GitActivityGroup) UnmarshalJSON(data []byte) (err error) {
varGitActivityGroup := _GitActivityGroup{}
err = json.Unmarshal(data, &varGitActivityGroup)
if err != nil {
return err
}
*o = GitActivityGroup(varGitActivityGroup)
additionalProperties := make(map[string]interface{})
if err = json.Unmarshal(data, &additionalProperties); err == nil {
delete(additionalProperties, "active")
delete(additionalProperties, "active30")
delete(additionalProperties, "commits")
delete(additionalProperties, "contributors")
delete(additionalProperties, "daily")
delete(additionalProperties, "empty")
delete(additionalProperties, "last")
delete(additionalProperties, "latest")
delete(additionalProperties, "mergeMonths")
delete(additionalProperties, "merges")
delete(additionalProperties, "mirrors")
delete(additionalProperties, "months")
delete(additionalProperties, "name")
delete(additionalProperties, "orgs")
delete(additionalProperties, "ours")
delete(additionalProperties, "oursDaily")
delete(additionalProperties, "oursMonths")
delete(additionalProperties, "people")
delete(additionalProperties, "private")
delete(additionalProperties, "public")
delete(additionalProperties, "repos")
o.AdditionalProperties = additionalProperties
}
return err
}
type NullableGitActivityGroup struct {
value *GitActivityGroup
isSet bool
}
func (v NullableGitActivityGroup) Get() *GitActivityGroup {
return v.value
}
func (v *NullableGitActivityGroup) Set(val *GitActivityGroup) {
v.value = val
v.isSet = true
}
func (v NullableGitActivityGroup) IsSet() bool {
return v.isSet
}
func (v *NullableGitActivityGroup) Unset() {
v.value = nil
v.isSet = false
}
func NewNullableGitActivityGroup(val *GitActivityGroup) *NullableGitActivityGroup {
return &NullableGitActivityGroup{value: val, isSet: true}
}
func (v NullableGitActivityGroup) MarshalJSON() ([]byte, error) {
return json.Marshal(v.value)
}
func (v *NullableGitActivityGroup) UnmarshalJSON(src []byte) error {
v.isSet = true
return json.Unmarshal(src, &v.value)
}