AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

RepositoryMetadata

import "github.com/aws/aws-sdk-go/service/codecommit"

type RepositoryMetadata struct { AccountId *string `locationName:"accountId" type:"string"` Arn *string `type:"string"` CloneUrlHttp *string `locationName:"cloneUrlHttp" type:"string"` CloneUrlSsh *string `locationName:"cloneUrlSsh" type:"string"` CreationDate *time.Time `locationName:"creationDate" type:"timestamp"` DefaultBranch *string `locationName:"defaultBranch" min:"1" type:"string"` LastModifiedDate *time.Time `locationName:"lastModifiedDate" type:"timestamp"` RepositoryDescription *string `locationName:"repositoryDescription" type:"string"` RepositoryId *string `locationName:"repositoryId" type:"string"` RepositoryName *string `locationName:"repositoryName" min:"1" type:"string"` }

Information about a repository.

AccountId

Type: *string

The ID of the AWS account associated with the repository.

Arn

Type: *string

The Amazon Resource Name (ARN) of the repository.

CloneUrlHttp

Type: *string

The URL to use for cloning the repository over HTTPS.

CloneUrlSsh

Type: *string

The URL to use for cloning the repository over SSH.

CreationDate

Type: *time.Time

The date and time the repository was created, in timestamp format.

DefaultBranch

Type: *string

The repository's default branch name.

LastModifiedDate

Type: *time.Time

The date and time the repository was last modified, in timestamp format.

RepositoryDescription

Type: *string

A comment or description about the repository.

RepositoryId

Type: *string

The ID of the repository.

RepositoryName

Type: *string

The repository's name.

Method

GoString

func (s RepositoryMetadata) GoString() string

GoString returns the string representation

SetAccountId

func (s *RepositoryMetadata) SetAccountId(v string) *RepositoryMetadata

SetAccountId sets the AccountId field's value.

SetArn

func (s *RepositoryMetadata) SetArn(v string) *RepositoryMetadata

SetArn sets the Arn field's value.

SetCloneUrlHttp

func (s *RepositoryMetadata) SetCloneUrlHttp(v string) *RepositoryMetadata

SetCloneUrlHttp sets the CloneUrlHttp field's value.

SetCloneUrlSsh

func (s *RepositoryMetadata) SetCloneUrlSsh(v string) *RepositoryMetadata

SetCloneUrlSsh sets the CloneUrlSsh field's value.

SetCreationDate

func (s *RepositoryMetadata) SetCreationDate(v time.Time) *RepositoryMetadata

SetCreationDate sets the CreationDate field's value.

SetDefaultBranch

func (s *RepositoryMetadata) SetDefaultBranch(v string) *RepositoryMetadata

SetDefaultBranch sets the DefaultBranch field's value.

SetLastModifiedDate

func (s *RepositoryMetadata) SetLastModifiedDate(v time.Time) *RepositoryMetadata

SetLastModifiedDate sets the LastModifiedDate field's value.

SetRepositoryDescription

func (s *RepositoryMetadata) SetRepositoryDescription(v string) *RepositoryMetadata

SetRepositoryDescription sets the RepositoryDescription field's value.

SetRepositoryId

func (s *RepositoryMetadata) SetRepositoryId(v string) *RepositoryMetadata

SetRepositoryId sets the RepositoryId field's value.

SetRepositoryName

func (s *RepositoryMetadata) SetRepositoryName(v string) *RepositoryMetadata

SetRepositoryName sets the RepositoryName field's value.

String

func (s RepositoryMetadata) String() string

String returns the string representation

On this page: