func (p *AddTagArgs) ReadField3(iprot thrift.TProtocol) error { if v, err := iprot.ReadI32(); err != nil { return fmt.Errorf("error reading field 3: %s", err) } else { temp := entity.ResourceType(v) p.ResourceType = temp } return nil }
func (p *GetAccessableGroupResourcesArgs) ReadField4(iprot thrift.TProtocol) error { if v, err := iprot.ReadI32(); err != nil { return fmt.Errorf("error reading field 4: %s", err) } else { temp := entity.ResourceType(v) p.ResourceType = temp } return nil }