6.3 KiB
AuthorOrgView
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| BadgeMarkdown | Pointer to string | BadgeMarkdown is the ready-to-paste README snippet, DERIVED for each response from this deployment's badge host and never stored — here it deep-links the OWNER's template import rather than one repository's. | [optional] |
| CreatedAt | Pointer to int64 | CreatedAt is unix seconds when the owner claim was first recorded — equal to verifiedAt on the first proof, then fixed while verifiedAt moves. | [optional] |
| Method | Pointer to string | Method is HOW the owner was proven, always against its ".github" control repository: "oauth" — an IAM-linked forge token showed admin or push on it; or "file" — a hanzo.json on its default branch carried this author's verify code. The "maintainer" shortcut is a per-repository attribution and never appears here. Omitted on a row written before the method was recorded. | [optional] |
| OwnerUrl | Pointer to string | OwnerURL is the claim key in canonical form — lowercased "host/owner" with NO repository segment, host ∈ {github.com, gitlab.com}. It covers every repository under that owner, so code with no claim of its own still earns; a per-repository claim outranks it. UNIQUE across every author: first proven claim wins. | [optional] |
| Verified | Pointer to bool | Verified reports that ownership of the WHOLE owner was proven — against that owner's ".github" control repository, which is exactly as strong as a per-repository claim. Only a proven claim is written, so every row returned here is true. | [optional] |
| VerifiedAt | Pointer to int64 | VerifiedAt is unix seconds of the most recent successful proof of the owner; re-verifying refreshes it, and the method beside it, in place. | [optional] |
Methods
NewAuthorOrgView
func NewAuthorOrgView() *AuthorOrgView
NewAuthorOrgView instantiates a new AuthorOrgView 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
NewAuthorOrgViewWithDefaults
func NewAuthorOrgViewWithDefaults() *AuthorOrgView
NewAuthorOrgViewWithDefaults instantiates a new AuthorOrgView 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
GetBadgeMarkdown
func (o *AuthorOrgView) GetBadgeMarkdown() string
GetBadgeMarkdown returns the BadgeMarkdown field if non-nil, zero value otherwise.
GetBadgeMarkdownOk
func (o *AuthorOrgView) GetBadgeMarkdownOk() (*string, bool)
GetBadgeMarkdownOk returns a tuple with the BadgeMarkdown field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetBadgeMarkdown
func (o *AuthorOrgView) SetBadgeMarkdown(v string)
SetBadgeMarkdown sets BadgeMarkdown field to given value.
HasBadgeMarkdown
func (o *AuthorOrgView) HasBadgeMarkdown() bool
HasBadgeMarkdown returns a boolean if a field has been set.
GetCreatedAt
func (o *AuthorOrgView) GetCreatedAt() int64
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
GetCreatedAtOk
func (o *AuthorOrgView) GetCreatedAtOk() (*int64, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetCreatedAt
func (o *AuthorOrgView) SetCreatedAt(v int64)
SetCreatedAt sets CreatedAt field to given value.
HasCreatedAt
func (o *AuthorOrgView) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
GetMethod
func (o *AuthorOrgView) GetMethod() string
GetMethod returns the Method field if non-nil, zero value otherwise.
GetMethodOk
func (o *AuthorOrgView) GetMethodOk() (*string, bool)
GetMethodOk returns a tuple with the Method field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetMethod
func (o *AuthorOrgView) SetMethod(v string)
SetMethod sets Method field to given value.
HasMethod
func (o *AuthorOrgView) HasMethod() bool
HasMethod returns a boolean if a field has been set.
GetOwnerUrl
func (o *AuthorOrgView) GetOwnerUrl() string
GetOwnerUrl returns the OwnerUrl field if non-nil, zero value otherwise.
GetOwnerUrlOk
func (o *AuthorOrgView) GetOwnerUrlOk() (*string, bool)
GetOwnerUrlOk returns a tuple with the OwnerUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetOwnerUrl
func (o *AuthorOrgView) SetOwnerUrl(v string)
SetOwnerUrl sets OwnerUrl field to given value.
HasOwnerUrl
func (o *AuthorOrgView) HasOwnerUrl() bool
HasOwnerUrl returns a boolean if a field has been set.
GetVerified
func (o *AuthorOrgView) GetVerified() bool
GetVerified returns the Verified field if non-nil, zero value otherwise.
GetVerifiedOk
func (o *AuthorOrgView) GetVerifiedOk() (*bool, bool)
GetVerifiedOk returns a tuple with the Verified field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetVerified
func (o *AuthorOrgView) SetVerified(v bool)
SetVerified sets Verified field to given value.
HasVerified
func (o *AuthorOrgView) HasVerified() bool
HasVerified returns a boolean if a field has been set.
GetVerifiedAt
func (o *AuthorOrgView) GetVerifiedAt() int64
GetVerifiedAt returns the VerifiedAt field if non-nil, zero value otherwise.
GetVerifiedAtOk
func (o *AuthorOrgView) GetVerifiedAtOk() (*int64, bool)
GetVerifiedAtOk returns a tuple with the VerifiedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetVerifiedAt
func (o *AuthorOrgView) SetVerifiedAt(v int64)
SetVerifiedAt sets VerifiedAt field to given value.
HasVerifiedAt
func (o *AuthorOrgView) HasVerifiedAt() bool
HasVerifiedAt returns a boolean if a field has been set.