Lines Matching defs:Shape

18 	Shape         *Shape `json:"-"`  member
53 type Shape struct { struct
54 API *API `json:"-"`
55 ShapeName string
56 Documentation string
57 MemberRefs map[string]*ShapeRef `json:"members"`
58 MemberRef ShapeRef `json:"member"`
59 KeyRef ShapeRef `json:"key"`
60 ValueRef ShapeRef `json:"value"`
61 Required []string
62 Payload string
63 Type string
64 Exception bool
65 Enum []string
66 EnumConsts []string
67 Flattened bool
68 Streaming bool
69 Location string
70 LocationName string
71 IdempotencyToken bool `json:"idempotencyToken"`
72 XMLNamespace XMLInfo
73 Min float64 // optional Minimum length (string, list) or value (number)
74 Max float64 // optional Maximum length (string, list) or value (number)
76 refs []*ShapeRef // References to this shape
77 resolvePkg string // use this package in the goType() if present
79 OrigShapeName string `json:"-"`
82 Placeholder bool
84 Deprecated bool `json:"deprecated"`
86 Validations ShapeValidations
89 IsError bool
90 ErrorInfo ErrorInfo `json:"error"`
95 func (s *Shape) ErrorCodeName() string {
101 func (s *Shape) ErrorName() string {
114 func (s *Shape) GoTags(root, required bool) string {
121 func (s *Shape) Rename(newName string) {
134 func (s *Shape) MemberNames() []string {
146 func (s *Shape) GoTypeWithPkgName() string {
150 func (s *Shape) GoTypeWithPkgNameElem() string {
178 func (s *Shape) GoStructValueType(name string, ref *ShapeRef) string {
190 func (s *Shape) GoStructType(name string, ref *ShapeRef) string {
217 func (s *Shape) GoType() string {
242 func goType(s *Shape, withPkgName bool) string {
282 func (s *Shape) GoTypeElem() string {
439 func (s *Shape) Docstring() string {
461 func (s *Shape) GoCodeStringers() string {
475 func (s *Shape) EnumName(n int) string {
501 func (s *Shape) NestedShape() *Shape {
616 func (s *Shape) GoCode() string {
636 func (s *Shape) IsEnum() bool {
641 func (s *Shape) IsRequired(member string) bool {
651 func (s *Shape) IsInternal() bool {
657 func (s *Shape) removeRef(ref *ShapeRef) {
672 func (s *Shape) WillRefBeBase64Encoded(refName string) bool {