driftctl/pkg/resource/github/github_membership.go

27 lines
623 B
Go

// GENERATED, DO NOT EDIT THIS FILE
package github
import "github.com/zclconf/go-cty/cty"
const GithubMembershipResourceType = "github_membership"
type GithubMembership struct {
Etag *string `cty:"etag" computed:"true" diff:"-"`
Id string `cty:"id" computed:"true"`
Role *string `cty:"role"`
Username *string `cty:"username"`
CtyVal *cty.Value `diff:"-"`
}
func (r *GithubMembership) TerraformId() string {
return r.Id
}
func (r *GithubMembership) TerraformType() string {
return GithubMembershipResourceType
}
func (r *GithubMembership) CtyValue() *cty.Value {
return r.CtyVal
}