GetComponent Objective-C Example
#import <CkoRest.h>
#import <CkoAuthAws.h>
#import <CkoStringBuilder.h>
#import <CkoJsonObject.h>
#import <NSString.h>
// This example requires the Chilkat API to have been previously unlocked.
// See Global Unlock Sample for sample code.
CkoRest *rest = [[CkoRest alloc] init];
BOOL success;
CkoAuthAws *authAws = [[CkoAuthAws alloc] init];
authAws.AccessKey = @"AWS_ACCESS_KEY";
authAws.SecretKey = @"AWS_SECRET_KEY";
// Don't forget to change the region to your particular region. (Also make the same change in the call to Connect below.)
authAws.Region = @"us-west-2";
authAws.ServiceName = @"amplifyuibuilder";
// SetAuthAws causes Chilkat to automatically add the following headers: Authorization, X-Amz-Date
[rest SetAuthAws: authAws];
// URL: https://amplifyuibuilder.us-west-2.amazonaws.com/
// Use the same region as specified above.
success = [rest Connect: @"amplifyuibuilder.us-west-2.amazonaws.com" port: [NSNumber numberWithInt: 443] tls: YES autoReconnect: YES];
if (success != YES) {
NSLog(@"%@%d",@"ConnectFailReason: ",[rest.ConnectFailReason intValue]);
NSLog(@"%@",rest.LastErrorText);
return;
}
[rest AddHeader: @"Content-Type" value: @"application/x-amz-json-1.1"];
[rest AddHeader: @"X-Amz-Target" value: @"GetComponent"];
CkoStringBuilder *sbResponseBody = [[CkoStringBuilder alloc] init];
success = [rest FullRequestNoBodySb: @"GET" uriPath: @"/app/{appId}/environment/{environmentName}/components/{id}" sb: sbResponseBody];
if (success != YES) {
NSLog(@"%@",rest.LastErrorText);
return;
}
int respStatusCode = [rest.ResponseStatusCode intValue];
NSLog(@"%@%d",@"response status code = ",respStatusCode);
if (respStatusCode != 200) {
NSLog(@"%@",@"Response Header:");
NSLog(@"%@",rest.ResponseHeader);
NSLog(@"%@",@"Response Body:");
NSLog(@"%@",[sbResponseBody GetAsString]);
return;
}
CkoJsonObject *jResp = [[CkoJsonObject alloc] init];
[jResp LoadSb: sbResponseBody];
// The following code parses the JSON response.
// A sample JSON response is shown below the sample code.
// Use this online tool to generate parsing code from sample JSON:
// Generate Parsing Code from JSON
NSString *field = 0;
NSString *operand = 0;
NSString *operator = 0;
int j;
int count_j;
NSString *strVal = 0;
NSString *componentType = 0;
NSString *StringAction = 0;
NSString *StringBindingEvent = 0;
NSString *AnchorComponentName = 0;
int AnchorConfigured;
NSString *AnchorEvent = 0;
NSString *AnchorImportedValue = 0;
NSString *AnchorValue = 0;
NSString *name = 0;
NSString *sourceId = 0;
NSString *direction = 0;
NSString *StringString = 0;
NSString *variantValuesString = 0;
NSString *AppId = [jResp StringOf: @"component.appId"];
NSString *Bucket = [jResp StringOf: @"component.bindingProperties.string.bindingProperties.bucket"];
NSString *DefaultValue = [jResp StringOf: @"component.bindingProperties.string.bindingProperties.defaultValue"];
NSString *Field = [jResp StringOf: @"component.bindingProperties.string.bindingProperties.field"];
NSString *Key = [jResp StringOf: @"component.bindingProperties.string.bindingProperties.key"];
NSString *Model = [jResp StringOf: @"component.bindingProperties.string.bindingProperties.model"];
NSString *UserAttribute = [jResp StringOf: @"component.bindingProperties.string.bindingProperties.userAttribute"];
NSString *StringDefaultValue = [jResp StringOf: @"component.bindingProperties.string.defaultValue"];
NSString *v_Type = [jResp StringOf: @"component.bindingProperties.string.type"];
NSString *StringModel = [jResp StringOf: @"component.collectionProperties.string.model"];
NSString *PredicateField = [jResp StringOf: @"component.collectionProperties.string.predicate.field"];
NSString *Operand = [jResp StringOf: @"component.collectionProperties.string.predicate.operand"];
NSString *Operator = [jResp StringOf: @"component.collectionProperties.string.predicate.operator"];
NSString *ComponentType = [jResp StringOf: @"component.componentType"];
int CreatedAt = [[jResp IntOf: @"component.createdAt"] intValue];
NSString *EnvironmentName = [jResp StringOf: @"component.environmentName"];
NSString *Action = [jResp StringOf: @"component.events.string.action"];
NSString *BindingEvent = [jResp StringOf: @"component.events.string.bindingEvent"];
NSString *BindingPropertiesField = [jResp StringOf: @"component.events.string.parameters.anchor.bindingProperties.field"];
NSString *Property = [jResp StringOf: @"component.events.string.parameters.anchor.bindingProperties.property"];
NSString *Element = [jResp StringOf: @"component.events.string.parameters.anchor.bindings.string.element"];
NSString *StringProperty = [jResp StringOf: @"component.events.string.parameters.anchor.bindings.string.property"];
NSString *CollectionBindingPropertiesField = [jResp StringOf: @"component.events.string.parameters.anchor.collectionBindingProperties.field"];
NSString *CollectionBindingPropertiesProperty = [jResp StringOf: @"component.events.string.parameters.anchor.collectionBindingProperties.property"];
NSString *ComponentName = [jResp StringOf: @"component.events.string.parameters.anchor.componentName"];
NSString *v_Else = [jResp StringOf: @"component.events.string.parameters.anchor.condition.else"];
NSString *ConditionField = [jResp StringOf: @"component.events.string.parameters.anchor.condition.field"];
NSString *ConditionOperand = [jResp StringOf: @"component.events.string.parameters.anchor.condition.operand"];
NSString *OperandType = [jResp StringOf: @"component.events.string.parameters.anchor.condition.operandType"];
NSString *ConditionOperator = [jResp StringOf: @"component.events.string.parameters.anchor.condition.operator"];
NSString *ConditionProperty = [jResp StringOf: @"component.events.string.parameters.anchor.condition.property"];
NSString *v_Then = [jResp StringOf: @"component.events.string.parameters.anchor.condition.then"];
int Configured = [[jResp IntOf: @"component.events.string.parameters.anchor.configured"] intValue];
NSString *AnchorDefaultValue = [jResp StringOf: @"component.events.string.parameters.anchor.defaultValue"];
NSString *v_Event = [jResp StringOf: @"component.events.string.parameters.anchor.event"];
NSString *ImportedValue = [jResp StringOf: @"component.events.string.parameters.anchor.importedValue"];
NSString *AnchorModel = [jResp StringOf: @"component.events.string.parameters.anchor.model"];
NSString *AnchorProperty = [jResp StringOf: @"component.events.string.parameters.anchor.property"];
NSString *AnchorType = [jResp StringOf: @"component.events.string.parameters.anchor.type"];
NSString *AnchorUserAttribute = [jResp StringOf: @"component.events.string.parameters.anchor.userAttribute"];
NSString *Value = [jResp StringOf: @"component.events.string.parameters.anchor.value"];
BindingPropertiesField = [jResp StringOf: @"component.events.string.parameters.fields.string.bindingProperties.field"];
NSString *BindingPropertiesProperty = [jResp StringOf: @"component.events.string.parameters.fields.string.bindingProperties.property"];
NSString *StringElement = [jResp StringOf: @"component.events.string.parameters.fields.string.bindings.string.element"];
StringProperty = [jResp StringOf: @"component.events.string.parameters.fields.string.bindings.string.property"];
CollectionBindingPropertiesField = [jResp StringOf: @"component.events.string.parameters.fields.string.collectionBindingProperties.field"];
CollectionBindingPropertiesProperty = [jResp StringOf: @"component.events.string.parameters.fields.string.collectionBindingProperties.property"];
NSString *StringComponentName = [jResp StringOf: @"component.events.string.parameters.fields.string.componentName"];
NSString *ConditionElse = [jResp StringOf: @"component.events.string.parameters.fields.string.condition.else"];
ConditionField = [jResp StringOf: @"component.events.string.parameters.fields.string.condition.field"];
ConditionOperand = [jResp StringOf: @"component.events.string.parameters.fields.string.condition.operand"];
NSString *ConditionOperandType = [jResp StringOf: @"component.events.string.parameters.fields.string.condition.operandType"];
ConditionOperator = [jResp StringOf: @"component.events.string.parameters.fields.string.condition.operator"];
ConditionProperty = [jResp StringOf: @"component.events.string.parameters.fields.string.condition.property"];
NSString *ConditionThen = [jResp StringOf: @"component.events.string.parameters.fields.string.condition.then"];
int StringConfigured = [[jResp IntOf: @"component.events.string.parameters.fields.string.configured"] intValue];
StringDefaultValue = [jResp StringOf: @"component.events.string.parameters.fields.string.defaultValue"];
NSString *StringEvent = [jResp StringOf: @"component.events.string.parameters.fields.string.event"];
NSString *StringImportedValue = [jResp StringOf: @"component.events.string.parameters.fields.string.importedValue"];
StringModel = [jResp StringOf: @"component.events.string.parameters.fields.string.model"];
StringProperty = [jResp StringOf: @"component.events.string.parameters.fields.string.property"];
NSString *StringType = [jResp StringOf: @"component.events.string.parameters.fields.string.type"];
NSString *StringUserAttribute = [jResp StringOf: @"component.events.string.parameters.fields.string.userAttribute"];
NSString *StringValue = [jResp StringOf: @"component.events.string.parameters.fields.string.value"];
BindingPropertiesField = [jResp StringOf: @"component.events.string.parameters.global.bindingProperties.field"];
BindingPropertiesProperty = [jResp StringOf: @"component.events.string.parameters.global.bindingProperties.property"];
StringElement = [jResp StringOf: @"component.events.string.parameters.global.bindings.string.element"];
StringProperty = [jResp StringOf: @"component.events.string.parameters.global.bindings.string.property"];
CollectionBindingPropertiesField = [jResp StringOf: @"component.events.string.parameters.global.collectionBindingProperties.field"];
CollectionBindingPropertiesProperty = [jResp StringOf: @"component.events.string.parameters.global.collectionBindingProperties.property"];
NSString *GlobalComponentName = [jResp StringOf: @"component.events.string.parameters.global.componentName"];
ConditionElse = [jResp StringOf: @"component.events.string.parameters.global.condition.else"];
ConditionField = [jResp StringOf: @"component.events.string.parameters.global.condition.field"];
ConditionOperand = [jResp StringOf: @"component.events.string.parameters.global.condition.operand"];
ConditionOperandType = [jResp StringOf: @"component.events.string.parameters.global.condition.operandType"];
ConditionOperator = [jResp StringOf: @"component.events.string.parameters.global.condition.operator"];
ConditionProperty = [jResp StringOf: @"component.events.string.parameters.global.condition.property"];
ConditionThen = [jResp StringOf: @"component.events.string.parameters.global.condition.then"];
int GlobalConfigured = [[jResp IntOf: @"component.events.string.parameters.global.configured"] intValue];
NSString *GlobalDefaultValue = [jResp StringOf: @"component.events.string.parameters.global.defaultValue"];
NSString *GlobalEvent = [jResp StringOf: @"component.events.string.parameters.global.event"];
NSString *GlobalImportedValue = [jResp StringOf: @"component.events.string.parameters.global.importedValue"];
NSString *GlobalModel = [jResp StringOf: @"component.events.string.parameters.global.model"];
NSString *GlobalProperty = [jResp StringOf: @"component.events.string.parameters.global.property"];
NSString *GlobalType = [jResp StringOf: @"component.events.string.parameters.global.type"];
NSString *GlobalUserAttribute = [jResp StringOf: @"component.events.string.parameters.global.userAttribute"];
NSString *GlobalValue = [jResp StringOf: @"component.events.string.parameters.global.value"];
BindingPropertiesField = [jResp StringOf: @"component.events.string.parameters.id.bindingProperties.field"];
BindingPropertiesProperty = [jResp StringOf: @"component.events.string.parameters.id.bindingProperties.property"];
StringElement = [jResp StringOf: @"component.events.string.parameters.id.bindings.string.element"];
StringProperty = [jResp StringOf: @"component.events.string.parameters.id.bindings.string.property"];
CollectionBindingPropertiesField = [jResp StringOf: @"component.events.string.parameters.id.collectionBindingProperties.field"];
CollectionBindingPropertiesProperty = [jResp StringOf: @"component.events.string.parameters.id.collectionBindingProperties.property"];
NSString *IdComponentName = [jResp StringOf: @"component.events.string.parameters.id.componentName"];
ConditionElse = [jResp StringOf: @"component.events.string.parameters.id.condition.else"];
ConditionField = [jResp StringOf: @"component.events.string.parameters.id.condition.field"];
ConditionOperand = [jResp StringOf: @"component.events.string.parameters.id.condition.operand"];
ConditionOperandType = [jResp StringOf: @"component.events.string.parameters.id.condition.operandType"];
ConditionOperator = [jResp StringOf: @"component.events.string.parameters.id.condition.operator"];
ConditionProperty = [jResp StringOf: @"component.events.string.parameters.id.condition.property"];
ConditionThen = [jResp StringOf: @"component.events.string.parameters.id.condition.then"];
int IdConfigured = [[jResp IntOf: @"component.events.string.parameters.id.configured"] intValue];
NSString *IdDefaultValue = [jResp StringOf: @"component.events.string.parameters.id.defaultValue"];
NSString *IdEvent = [jResp StringOf: @"component.events.string.parameters.id.event"];
NSString *IdImportedValue = [jResp StringOf: @"component.events.string.parameters.id.importedValue"];
NSString *IdModel = [jResp StringOf: @"component.events.string.parameters.id.model"];
NSString *IdProperty = [jResp StringOf: @"component.events.string.parameters.id.property"];
NSString *IdType = [jResp StringOf: @"component.events.string.parameters.id.type"];
NSString *IdUserAttribute = [jResp StringOf: @"component.events.string.parameters.id.userAttribute"];
NSString *IdValue = [jResp StringOf: @"component.events.string.parameters.id.value"];
NSString *ParametersModel = [jResp StringOf: @"component.events.string.parameters.model"];
NSString *StateComponentName = [jResp StringOf: @"component.events.string.parameters.state.componentName"];
NSString *StateProperty = [jResp StringOf: @"component.events.string.parameters.state.property"];
BindingPropertiesField = [jResp StringOf: @"component.events.string.parameters.state.set.bindingProperties.field"];
BindingPropertiesProperty = [jResp StringOf: @"component.events.string.parameters.state.set.bindingProperties.property"];
StringElement = [jResp StringOf: @"component.events.string.parameters.state.set.bindings.string.element"];
StringProperty = [jResp StringOf: @"component.events.string.parameters.state.set.bindings.string.property"];
CollectionBindingPropertiesField = [jResp StringOf: @"component.events.string.parameters.state.set.collectionBindingProperties.field"];
CollectionBindingPropertiesProperty = [jResp StringOf: @"component.events.string.parameters.state.set.collectionBindingProperties.property"];
NSString *SetComponentName = [jResp StringOf: @"component.events.string.parameters.state.set.componentName"];
ConditionElse = [jResp StringOf: @"component.events.string.parameters.state.set.condition.else"];
ConditionField = [jResp StringOf: @"component.events.string.parameters.state.set.condition.field"];
ConditionOperand = [jResp StringOf: @"component.events.string.parameters.state.set.condition.operand"];
ConditionOperandType = [jResp StringOf: @"component.events.string.parameters.state.set.condition.operandType"];
ConditionOperator = [jResp StringOf: @"component.events.string.parameters.state.set.condition.operator"];
ConditionProperty = [jResp StringOf: @"component.events.string.parameters.state.set.condition.property"];
ConditionThen = [jResp StringOf: @"component.events.string.parameters.state.set.condition.then"];
int SetConfigured = [[jResp IntOf: @"component.events.string.parameters.state.set.configured"] intValue];
NSString *SetDefaultValue = [jResp StringOf: @"component.events.string.parameters.state.set.defaultValue"];
NSString *SetEvent = [jResp StringOf: @"component.events.string.parameters.state.set.event"];
NSString *SetImportedValue = [jResp StringOf: @"component.events.string.parameters.state.set.importedValue"];
NSString *SetModel = [jResp StringOf: @"component.events.string.parameters.state.set.model"];
NSString *SetProperty = [jResp StringOf: @"component.events.string.parameters.state.set.property"];
NSString *SetType = [jResp StringOf: @"component.events.string.parameters.state.set.type"];
NSString *SetUserAttribute = [jResp StringOf: @"component.events.string.parameters.state.set.userAttribute"];
NSString *SetValue = [jResp StringOf: @"component.events.string.parameters.state.set.value"];
BindingPropertiesField = [jResp StringOf: @"component.events.string.parameters.target.bindingProperties.field"];
BindingPropertiesProperty = [jResp StringOf: @"component.events.string.parameters.target.bindingProperties.property"];
StringElement = [jResp StringOf: @"component.events.string.parameters.target.bindings.string.element"];
StringProperty = [jResp StringOf: @"component.events.string.parameters.target.bindings.string.property"];
CollectionBindingPropertiesField = [jResp StringOf: @"component.events.string.parameters.target.collectionBindingProperties.field"];
CollectionBindingPropertiesProperty = [jResp StringOf: @"component.events.string.parameters.target.collectionBindingProperties.property"];
NSString *TargetComponentName = [jResp StringOf: @"component.events.string.parameters.target.componentName"];
ConditionElse = [jResp StringOf: @"component.events.string.parameters.target.condition.else"];
ConditionField = [jResp StringOf: @"component.events.string.parameters.target.condition.field"];
ConditionOperand = [jResp StringOf: @"component.events.string.parameters.target.condition.operand"];
ConditionOperandType = [jResp StringOf: @"component.events.string.parameters.target.condition.operandType"];
ConditionOperator = [jResp StringOf: @"component.events.string.parameters.target.condition.operator"];
ConditionProperty = [jResp StringOf: @"component.events.string.parameters.target.condition.property"];
ConditionThen = [jResp StringOf: @"component.events.string.parameters.target.condition.then"];
int TargetConfigured = [[jResp IntOf: @"component.events.string.parameters.target.configured"] intValue];
NSString *TargetDefaultValue = [jResp StringOf: @"component.events.string.parameters.target.defaultValue"];
NSString *TargetEvent = [jResp StringOf: @"component.events.string.parameters.target.event"];
NSString *TargetImportedValue = [jResp StringOf: @"component.events.string.parameters.target.importedValue"];
NSString *TargetModel = [jResp StringOf: @"component.events.string.parameters.target.model"];
NSString *TargetProperty = [jResp StringOf: @"component.events.string.parameters.target.property"];
NSString *TargetType = [jResp StringOf: @"component.events.string.parameters.target.type"];
NSString *TargetUserAttribute = [jResp StringOf: @"component.events.string.parameters.target.userAttribute"];
NSString *TargetValue = [jResp StringOf: @"component.events.string.parameters.target.value"];
BindingPropertiesField = [jResp StringOf: @"component.events.string.parameters.type.bindingProperties.field"];
BindingPropertiesProperty = [jResp StringOf: @"component.events.string.parameters.type.bindingProperties.property"];
StringElement = [jResp StringOf: @"component.events.string.parameters.type.bindings.string.element"];
StringProperty = [jResp StringOf: @"component.events.string.parameters.type.bindings.string.property"];
CollectionBindingPropertiesField = [jResp StringOf: @"component.events.string.parameters.type.collectionBindingProperties.field"];
CollectionBindingPropertiesProperty = [jResp StringOf: @"component.events.string.parameters.type.collectionBindingProperties.property"];
NSString *TypeComponentName = [jResp StringOf: @"component.events.string.parameters.type.componentName"];
ConditionElse = [jResp StringOf: @"component.events.string.parameters.type.condition.else"];
ConditionField = [jResp StringOf: @"component.events.string.parameters.type.condition.field"];
ConditionOperand = [jResp StringOf: @"component.events.string.parameters.type.condition.operand"];
ConditionOperandType = [jResp StringOf: @"component.events.string.parameters.type.condition.operandType"];
ConditionOperator = [jResp StringOf: @"component.events.string.parameters.type.condition.operator"];
ConditionProperty = [jResp StringOf: @"component.events.string.parameters.type.condition.property"];
ConditionThen = [jResp StringOf: @"component.events.string.parameters.type.condition.then"];
int TypeConfigured = [[jResp IntOf: @"component.events.string.parameters.type.configured"] intValue];
NSString *TypeDefaultValue = [jResp StringOf: @"component.events.string.parameters.type.defaultValue"];
NSString *TypeEvent = [jResp StringOf: @"component.events.string.parameters.type.event"];
NSString *TypeImportedValue = [jResp StringOf: @"component.events.string.parameters.type.importedValue"];
NSString *TypeModel = [jResp StringOf: @"component.events.string.parameters.type.model"];
NSString *TypeProperty = [jResp StringOf: @"component.events.string.parameters.type.property"];
NSString *TypeType = [jResp StringOf: @"component.events.string.parameters.type.type"];
NSString *TypeUserAttribute = [jResp StringOf: @"component.events.string.parameters.type.userAttribute"];
NSString *TypeValue = [jResp StringOf: @"component.events.string.parameters.type.value"];
BindingPropertiesField = [jResp StringOf: @"component.events.string.parameters.url.bindingProperties.field"];
BindingPropertiesProperty = [jResp StringOf: @"component.events.string.parameters.url.bindingProperties.property"];
StringElement = [jResp StringOf: @"component.events.string.parameters.url.bindings.string.element"];
StringProperty = [jResp StringOf: @"component.events.string.parameters.url.bindings.string.property"];
CollectionBindingPropertiesField = [jResp StringOf: @"component.events.string.parameters.url.collectionBindingProperties.field"];
CollectionBindingPropertiesProperty = [jResp StringOf: @"component.events.string.parameters.url.collectionBindingProperties.property"];
NSString *UrlComponentName = [jResp StringOf: @"component.events.string.parameters.url.componentName"];
ConditionElse = [jResp StringOf: @"component.events.string.parameters.url.condition.else"];
ConditionField = [jResp StringOf: @"component.events.string.parameters.url.condition.field"];
ConditionOperand = [jResp StringOf: @"component.events.string.parameters.url.condition.operand"];
ConditionOperandType = [jResp StringOf: @"component.events.string.parameters.url.condition.operandType"];
ConditionOperator = [jResp StringOf: @"component.events.string.parameters.url.condition.operator"];
ConditionProperty = [jResp StringOf: @"component.events.string.parameters.url.condition.property"];
ConditionThen = [jResp StringOf: @"component.events.string.parameters.url.condition.then"];
int UrlConfigured = [[jResp IntOf: @"component.events.string.parameters.url.configured"] intValue];
NSString *UrlDefaultValue = [jResp StringOf: @"component.events.string.parameters.url.defaultValue"];
NSString *UrlEvent = [jResp StringOf: @"component.events.string.parameters.url.event"];
NSString *UrlImportedValue = [jResp StringOf: @"component.events.string.parameters.url.importedValue"];
NSString *UrlModel = [jResp StringOf: @"component.events.string.parameters.url.model"];
NSString *UrlProperty = [jResp StringOf: @"component.events.string.parameters.url.property"];
NSString *UrlType = [jResp StringOf: @"component.events.string.parameters.url.type"];
NSString *UrlUserAttribute = [jResp StringOf: @"component.events.string.parameters.url.userAttribute"];
NSString *UrlValue = [jResp StringOf: @"component.events.string.parameters.url.value"];
NSString *Id = [jResp StringOf: @"component.id"];
int ModifiedAt = [[jResp IntOf: @"component.modifiedAt"] intValue];
NSString *Name = [jResp StringOf: @"component.name"];
NSString *v_String = [jResp StringOf: @"component.overrides.string.string"];
BindingPropertiesField = [jResp StringOf: @"component.properties.string.bindingProperties.field"];
BindingPropertiesProperty = [jResp StringOf: @"component.properties.string.bindingProperties.property"];
StringElement = [jResp StringOf: @"component.properties.string.bindings.string.element"];
StringProperty = [jResp StringOf: @"component.properties.string.bindings.string.property"];
CollectionBindingPropertiesField = [jResp StringOf: @"component.properties.string.collectionBindingProperties.field"];
CollectionBindingPropertiesProperty = [jResp StringOf: @"component.properties.string.collectionBindingProperties.property"];
StringComponentName = [jResp StringOf: @"component.properties.string.componentName"];
ConditionElse = [jResp StringOf: @"component.properties.string.condition.else"];
ConditionField = [jResp StringOf: @"component.properties.string.condition.field"];
ConditionOperand = [jResp StringOf: @"component.properties.string.condition.operand"];
ConditionOperandType = [jResp StringOf: @"component.properties.string.condition.operandType"];
ConditionOperator = [jResp StringOf: @"component.properties.string.condition.operator"];
ConditionProperty = [jResp StringOf: @"component.properties.string.condition.property"];
ConditionThen = [jResp StringOf: @"component.properties.string.condition.then"];
StringConfigured = [[jResp IntOf: @"component.properties.string.configured"] intValue];
StringDefaultValue = [jResp StringOf: @"component.properties.string.defaultValue"];
StringEvent = [jResp StringOf: @"component.properties.string.event"];
StringImportedValue = [jResp StringOf: @"component.properties.string.importedValue"];
StringModel = [jResp StringOf: @"component.properties.string.model"];
StringProperty = [jResp StringOf: @"component.properties.string.property"];
StringType = [jResp StringOf: @"component.properties.string.type"];
StringUserAttribute = [jResp StringOf: @"component.properties.string.userAttribute"];
StringValue = [jResp StringOf: @"component.properties.string.value"];
NSString *SchemaVersion = [jResp StringOf: @"component.schemaVersion"];
NSString *SourceId = [jResp StringOf: @"component.sourceId"];
NSString *TagsString = [jResp StringOf: @"component.tags.string"];
int i = 0;
int count_i = [[jResp SizeOfArray: @"component.bindingProperties.string.bindingProperties.predicates"] intValue];
while (i < count_i) {
jResp.I = [NSNumber numberWithInt: i];
field = [jResp StringOf: @"component.bindingProperties.string.bindingProperties.predicates[i].field"];
operand = [jResp StringOf: @"component.bindingProperties.string.bindingProperties.predicates[i].operand"];
operator = [jResp StringOf: @"component.bindingProperties.string.bindingProperties.predicates[i].operator"];
j = 0;
count_j = [[jResp SizeOfArray: @"component.bindingProperties.string.bindingProperties.predicates[i].and"] intValue];
while (j < count_j) {
jResp.J = [NSNumber numberWithInt: j];
strVal = [jResp StringOf: @"component.bindingProperties.string.bindingProperties.predicates[i].and[j]"];
j = j + 1;
}
j = 0;
count_j = [[jResp SizeOfArray: @"component.bindingProperties.string.bindingProperties.predicates[i].or"] intValue];
while (j < count_j) {
jResp.J = [NSNumber numberWithInt: j];
strVal = [jResp StringOf: @"component.bindingProperties.string.bindingProperties.predicates[i].or[j]"];
j = j + 1;
}
i = i + 1;
}
i = 0;
count_i = [[jResp SizeOfArray: @"component.children"] intValue];
while (i < count_i) {
jResp.I = [NSNumber numberWithInt: i];
componentType = [jResp StringOf: @"component.children[i].componentType"];
StringAction = [jResp StringOf: @"component.children[i].events.string.action"];
StringBindingEvent = [jResp StringOf: @"component.children[i].events.string.bindingEvent"];
BindingPropertiesField = [jResp StringOf: @"component.children[i].events.string.parameters.anchor.bindingProperties.field"];
BindingPropertiesProperty = [jResp StringOf: @"component.children[i].events.string.parameters.anchor.bindingProperties.property"];
StringElement = [jResp StringOf: @"component.children[i].events.string.parameters.anchor.bindings.string.element"];
StringProperty = [jResp StringOf: @"component.children[i].events.string.parameters.anchor.bindings.string.property"];
CollectionBindingPropertiesField = [jResp StringOf: @"component.children[i].events.string.parameters.anchor.collectionBindingProperties.field"];
CollectionBindingPropertiesProperty = [jResp StringOf: @"component.children[i].events.string.parameters.anchor.collectionBindingProperties.property"];
AnchorComponentName = [jResp StringOf: @"component.children[i].events.string.parameters.anchor.componentName"];
ConditionElse = [jResp StringOf: @"component.children[i].events.string.parameters.anchor.condition.else"];
ConditionField = [jResp StringOf: @"component.children[i].events.string.parameters.anchor.condition.field"];
ConditionOperand = [jResp StringOf: @"component.children[i].events.string.parameters.anchor.condition.operand"];
ConditionOperandType = [jResp StringOf: @"component.children[i].events.string.parameters.anchor.condition.operandType"];
ConditionOperator = [jResp StringOf: @"component.children[i].events.string.parameters.anchor.condition.operator"];
ConditionProperty = [jResp StringOf: @"component.children[i].events.string.parameters.anchor.condition.property"];
ConditionThen = [jResp StringOf: @"component.children[i].events.string.parameters.anchor.condition.then"];
AnchorConfigured = [[jResp IntOf: @"component.children[i].events.string.parameters.anchor.configured"] intValue];
AnchorDefaultValue = [jResp StringOf: @"component.children[i].events.string.parameters.anchor.defaultValue"];
AnchorEvent = [jResp StringOf: @"component.children[i].events.string.parameters.anchor.event"];
AnchorImportedValue = [jResp StringOf: @"component.children[i].events.string.parameters.anchor.importedValue"];
AnchorModel = [jResp StringOf: @"component.children[i].events.string.parameters.anchor.model"];
AnchorProperty = [jResp StringOf: @"component.children[i].events.string.parameters.anchor.property"];
AnchorType = [jResp StringOf: @"component.children[i].events.string.parameters.anchor.type"];
AnchorUserAttribute = [jResp StringOf: @"component.children[i].events.string.parameters.anchor.userAttribute"];
AnchorValue = [jResp StringOf: @"component.children[i].events.string.parameters.anchor.value"];
BindingPropertiesField = [jResp StringOf: @"component.children[i].events.string.parameters.fields.string.bindingProperties.field"];
BindingPropertiesProperty = [jResp StringOf: @"component.children[i].events.string.parameters.fields.string.bindingProperties.property"];
StringElement = [jResp StringOf: @"component.children[i].events.string.parameters.fields.string.bindings.string.element"];
StringProperty = [jResp StringOf: @"component.children[i].events.string.parameters.fields.string.bindings.string.property"];
CollectionBindingPropertiesField = [jResp StringOf: @"component.children[i].events.string.parameters.fields.string.collectionBindingProperties.field"];
CollectionBindingPropertiesProperty = [jResp StringOf: @"component.children[i].events.string.parameters.fields.string.collectionBindingProperties.property"];
StringComponentName = [jResp StringOf: @"component.children[i].events.string.parameters.fields.string.componentName"];
ConditionElse = [jResp StringOf: @"component.children[i].events.string.parameters.fields.string.condition.else"];
ConditionField = [jResp StringOf: @"component.children[i].events.string.parameters.fields.string.condition.field"];
ConditionOperand = [jResp StringOf: @"component.children[i].events.string.parameters.fields.string.condition.operand"];
ConditionOperandType = [jResp StringOf: @"component.children[i].events.string.parameters.fields.string.condition.operandType"];
ConditionOperator = [jResp StringOf: @"component.children[i].events.string.parameters.fields.string.condition.operator"];
ConditionProperty = [jResp StringOf: @"component.children[i].events.string.parameters.fields.string.condition.property"];
ConditionThen = [jResp StringOf: @"component.children[i].events.string.parameters.fields.string.condition.then"];
StringConfigured = [[jResp IntOf: @"component.children[i].events.string.parameters.fields.string.configured"] intValue];
StringDefaultValue = [jResp StringOf: @"component.children[i].events.string.parameters.fields.string.defaultValue"];
StringEvent = [jResp StringOf: @"component.children[i].events.string.parameters.fields.string.event"];
StringImportedValue = [jResp StringOf: @"component.children[i].events.string.parameters.fields.string.importedValue"];
StringModel = [jResp StringOf: @"component.children[i].events.string.parameters.fields.string.model"];
StringProperty = [jResp StringOf: @"component.children[i].events.string.parameters.fields.string.property"];
StringType = [jResp StringOf: @"component.children[i].events.string.parameters.fields.string.type"];
StringUserAttribute = [jResp StringOf: @"component.children[i].events.string.parameters.fields.string.userAttribute"];
StringValue = [jResp StringOf: @"component.children[i].events.string.parameters.fields.string.value"];
BindingPropertiesField = [jResp StringOf: @"component.children[i].events.string.parameters.global.bindingProperties.field"];
BindingPropertiesProperty = [jResp StringOf: @"component.children[i].events.string.parameters.global.bindingProperties.property"];
StringElement = [jResp StringOf: @"component.children[i].events.string.parameters.global.bindings.string.element"];
StringProperty = [jResp StringOf: @"component.children[i].events.string.parameters.global.bindings.string.property"];
CollectionBindingPropertiesField = [jResp StringOf: @"component.children[i].events.string.parameters.global.collectionBindingProperties.field"];
CollectionBindingPropertiesProperty = [jResp StringOf: @"component.children[i].events.string.parameters.global.collectionBindingProperties.property"];
GlobalComponentName = [jResp StringOf: @"component.children[i].events.string.parameters.global.componentName"];
ConditionElse = [jResp StringOf: @"component.children[i].events.string.parameters.global.condition.else"];
ConditionField = [jResp StringOf: @"component.children[i].events.string.parameters.global.condition.field"];
ConditionOperand = [jResp StringOf: @"component.children[i].events.string.parameters.global.condition.operand"];
ConditionOperandType = [jResp StringOf: @"component.children[i].events.string.parameters.global.condition.operandType"];
ConditionOperator = [jResp StringOf: @"component.children[i].events.string.parameters.global.condition.operator"];
ConditionProperty = [jResp StringOf: @"component.children[i].events.string.parameters.global.condition.property"];
ConditionThen = [jResp StringOf: @"component.children[i].events.string.parameters.global.condition.then"];
GlobalConfigured = [[jResp IntOf: @"component.children[i].events.string.parameters.global.configured"] intValue];
GlobalDefaultValue = [jResp StringOf: @"component.children[i].events.string.parameters.global.defaultValue"];
GlobalEvent = [jResp StringOf: @"component.children[i].events.string.parameters.global.event"];
GlobalImportedValue = [jResp StringOf: @"component.children[i].events.string.parameters.global.importedValue"];
GlobalModel = [jResp StringOf: @"component.children[i].events.string.parameters.global.model"];
GlobalProperty = [jResp StringOf: @"component.children[i].events.string.parameters.global.property"];
GlobalType = [jResp StringOf: @"component.children[i].events.string.parameters.global.type"];
GlobalUserAttribute = [jResp StringOf: @"component.children[i].events.string.parameters.global.userAttribute"];
GlobalValue = [jResp StringOf: @"component.children[i].events.string.parameters.global.value"];
BindingPropertiesField = [jResp StringOf: @"component.children[i].events.string.parameters.id.bindingProperties.field"];
BindingPropertiesProperty = [jResp StringOf: @"component.children[i].events.string.parameters.id.bindingProperties.property"];
StringElement = [jResp StringOf: @"component.children[i].events.string.parameters.id.bindings.string.element"];
StringProperty = [jResp StringOf: @"component.children[i].events.string.parameters.id.bindings.string.property"];
CollectionBindingPropertiesField = [jResp StringOf: @"component.children[i].events.string.parameters.id.collectionBindingProperties.field"];
CollectionBindingPropertiesProperty = [jResp StringOf: @"component.children[i].events.string.parameters.id.collectionBindingProperties.property"];
IdComponentName = [jResp StringOf: @"component.children[i].events.string.parameters.id.componentName"];
ConditionElse = [jResp StringOf: @"component.children[i].events.string.parameters.id.condition.else"];
ConditionField = [jResp StringOf: @"component.children[i].events.string.parameters.id.condition.field"];
ConditionOperand = [jResp StringOf: @"component.children[i].events.string.parameters.id.condition.operand"];
ConditionOperandType = [jResp StringOf: @"component.children[i].events.string.parameters.id.condition.operandType"];
ConditionOperator = [jResp StringOf: @"component.children[i].events.string.parameters.id.condition.operator"];
ConditionProperty = [jResp StringOf: @"component.children[i].events.string.parameters.id.condition.property"];
ConditionThen = [jResp StringOf: @"component.children[i].events.string.parameters.id.condition.then"];
IdConfigured = [[jResp IntOf: @"component.children[i].events.string.parameters.id.configured"] intValue];
IdDefaultValue = [jResp StringOf: @"component.children[i].events.string.parameters.id.defaultValue"];
IdEvent = [jResp StringOf: @"component.children[i].events.string.parameters.id.event"];
IdImportedValue = [jResp StringOf: @"component.children[i].events.string.parameters.id.importedValue"];
IdModel = [jResp StringOf: @"component.children[i].events.string.parameters.id.model"];
IdProperty = [jResp StringOf: @"component.children[i].events.string.parameters.id.property"];
IdType = [jResp StringOf: @"component.children[i].events.string.parameters.id.type"];
IdUserAttribute = [jResp StringOf: @"component.children[i].events.string.parameters.id.userAttribute"];
IdValue = [jResp StringOf: @"component.children[i].events.string.parameters.id.value"];
ParametersModel = [jResp StringOf: @"component.children[i].events.string.parameters.model"];
StateComponentName = [jResp StringOf: @"component.children[i].events.string.parameters.state.componentName"];
StateProperty = [jResp StringOf: @"component.children[i].events.string.parameters.state.property"];
BindingPropertiesField = [jResp StringOf: @"component.children[i].events.string.parameters.state.set.bindingProperties.field"];
BindingPropertiesProperty = [jResp StringOf: @"component.children[i].events.string.parameters.state.set.bindingProperties.property"];
StringElement = [jResp StringOf: @"component.children[i].events.string.parameters.state.set.bindings.string.element"];
StringProperty = [jResp StringOf: @"component.children[i].events.string.parameters.state.set.bindings.string.property"];
CollectionBindingPropertiesField = [jResp StringOf: @"component.children[i].events.string.parameters.state.set.collectionBindingProperties.field"];
CollectionBindingPropertiesProperty = [jResp StringOf: @"component.children[i].events.string.parameters.state.set.collectionBindingProperties.property"];
SetComponentName = [jResp StringOf: @"component.children[i].events.string.parameters.state.set.componentName"];
ConditionElse = [jResp StringOf: @"component.children[i].events.string.parameters.state.set.condition.else"];
ConditionField = [jResp StringOf: @"component.children[i].events.string.parameters.state.set.condition.field"];
ConditionOperand = [jResp StringOf: @"component.children[i].events.string.parameters.state.set.condition.operand"];
ConditionOperandType = [jResp StringOf: @"component.children[i].events.string.parameters.state.set.condition.operandType"];
ConditionOperator = [jResp StringOf: @"component.children[i].events.string.parameters.state.set.condition.operator"];
ConditionProperty = [jResp StringOf: @"component.children[i].events.string.parameters.state.set.condition.property"];
ConditionThen = [jResp StringOf: @"component.children[i].events.string.parameters.state.set.condition.then"];
SetConfigured = [[jResp IntOf: @"component.children[i].events.string.parameters.state.set.configured"] intValue];
SetDefaultValue = [jResp StringOf: @"component.children[i].events.string.parameters.state.set.defaultValue"];
SetEvent = [jResp StringOf: @"component.children[i].events.string.parameters.state.set.event"];
SetImportedValue = [jResp StringOf: @"component.children[i].events.string.parameters.state.set.importedValue"];
SetModel = [jResp StringOf: @"component.children[i].events.string.parameters.state.set.model"];
SetProperty = [jResp StringOf: @"component.children[i].events.string.parameters.state.set.property"];
SetType = [jResp StringOf: @"component.children[i].events.string.parameters.state.set.type"];
SetUserAttribute = [jResp StringOf: @"component.children[i].events.string.parameters.state.set.userAttribute"];
SetValue = [jResp StringOf: @"component.children[i].events.string.parameters.state.set.value"];
BindingPropertiesField = [jResp StringOf: @"component.children[i].events.string.parameters.target.bindingProperties.field"];
BindingPropertiesProperty = [jResp StringOf: @"component.children[i].events.string.parameters.target.bindingProperties.property"];
StringElement = [jResp StringOf: @"component.children[i].events.string.parameters.target.bindings.string.element"];
StringProperty = [jResp StringOf: @"component.children[i].events.string.parameters.target.bindings.string.property"];
CollectionBindingPropertiesField = [jResp StringOf: @"component.children[i].events.string.parameters.target.collectionBindingProperties.field"];
CollectionBindingPropertiesProperty = [jResp StringOf: @"component.children[i].events.string.parameters.target.collectionBindingProperties.property"];
TargetComponentName = [jResp StringOf: @"component.children[i].events.string.parameters.target.componentName"];
ConditionElse = [jResp StringOf: @"component.children[i].events.string.parameters.target.condition.else"];
ConditionField = [jResp StringOf: @"component.children[i].events.string.parameters.target.condition.field"];
ConditionOperand = [jResp StringOf: @"component.children[i].events.string.parameters.target.condition.operand"];
ConditionOperandType = [jResp StringOf: @"component.children[i].events.string.parameters.target.condition.operandType"];
ConditionOperator = [jResp StringOf: @"component.children[i].events.string.parameters.target.condition.operator"];
ConditionProperty = [jResp StringOf: @"component.children[i].events.string.parameters.target.condition.property"];
ConditionThen = [jResp StringOf: @"component.children[i].events.string.parameters.target.condition.then"];
TargetConfigured = [[jResp IntOf: @"component.children[i].events.string.parameters.target.configured"] intValue];
TargetDefaultValue = [jResp StringOf: @"component.children[i].events.string.parameters.target.defaultValue"];
TargetEvent = [jResp StringOf: @"component.children[i].events.string.parameters.target.event"];
TargetImportedValue = [jResp StringOf: @"component.children[i].events.string.parameters.target.importedValue"];
TargetModel = [jResp StringOf: @"component.children[i].events.string.parameters.target.model"];
TargetProperty = [jResp StringOf: @"component.children[i].events.string.parameters.target.property"];
TargetType = [jResp StringOf: @"component.children[i].events.string.parameters.target.type"];
TargetUserAttribute = [jResp StringOf: @"component.children[i].events.string.parameters.target.userAttribute"];
TargetValue = [jResp StringOf: @"component.children[i].events.string.parameters.target.value"];
BindingPropertiesField = [jResp StringOf: @"component.children[i].events.string.parameters.type.bindingProperties.field"];
BindingPropertiesProperty = [jResp StringOf: @"component.children[i].events.string.parameters.type.bindingProperties.property"];
StringElement = [jResp StringOf: @"component.children[i].events.string.parameters.type.bindings.string.element"];
StringProperty = [jResp StringOf: @"component.children[i].events.string.parameters.type.bindings.string.property"];
CollectionBindingPropertiesField = [jResp StringOf: @"component.children[i].events.string.parameters.type.collectionBindingProperties.field"];
CollectionBindingPropertiesProperty = [jResp StringOf: @"component.children[i].events.string.parameters.type.collectionBindingProperties.property"];
TypeComponentName = [jResp StringOf: @"component.children[i].events.string.parameters.type.componentName"];
ConditionElse = [jResp StringOf: @"component.children[i].events.string.parameters.type.condition.else"];
ConditionField = [jResp StringOf: @"component.children[i].events.string.parameters.type.condition.field"];
ConditionOperand = [jResp StringOf: @"component.children[i].events.string.parameters.type.condition.operand"];
ConditionOperandType = [jResp StringOf: @"component.children[i].events.string.parameters.type.condition.operandType"];
ConditionOperator = [jResp StringOf: @"component.children[i].events.string.parameters.type.condition.operator"];
ConditionProperty = [jResp StringOf: @"component.children[i].events.string.parameters.type.condition.property"];
ConditionThen = [jResp StringOf: @"component.children[i].events.string.parameters.type.condition.then"];
TypeConfigured = [[jResp IntOf: @"component.children[i].events.string.parameters.type.configured"] intValue];
TypeDefaultValue = [jResp StringOf: @"component.children[i].events.string.parameters.type.defaultValue"];
TypeEvent = [jResp StringOf: @"component.children[i].events.string.parameters.type.event"];
TypeImportedValue = [jResp StringOf: @"component.children[i].events.string.parameters.type.importedValue"];
TypeModel = [jResp StringOf: @"component.children[i].events.string.parameters.type.model"];
TypeProperty = [jResp StringOf: @"component.children[i].events.string.parameters.type.property"];
TypeType = [jResp StringOf: @"component.children[i].events.string.parameters.type.type"];
TypeUserAttribute = [jResp StringOf: @"component.children[i].events.string.parameters.type.userAttribute"];
TypeValue = [jResp StringOf: @"component.children[i].events.string.parameters.type.value"];
BindingPropertiesField = [jResp StringOf: @"component.children[i].events.string.parameters.url.bindingProperties.field"];
BindingPropertiesProperty = [jResp StringOf: @"component.children[i].events.string.parameters.url.bindingProperties.property"];
StringElement = [jResp StringOf: @"component.children[i].events.string.parameters.url.bindings.string.element"];
StringProperty = [jResp StringOf: @"component.children[i].events.string.parameters.url.bindings.string.property"];
CollectionBindingPropertiesField = [jResp StringOf: @"component.children[i].events.string.parameters.url.collectionBindingProperties.field"];
CollectionBindingPropertiesProperty = [jResp StringOf: @"component.children[i].events.string.parameters.url.collectionBindingProperties.property"];
UrlComponentName = [jResp StringOf: @"component.children[i].events.string.parameters.url.componentName"];
ConditionElse = [jResp StringOf: @"component.children[i].events.string.parameters.url.condition.else"];
ConditionField = [jResp StringOf: @"component.children[i].events.string.parameters.url.condition.field"];
ConditionOperand = [jResp StringOf: @"component.children[i].events.string.parameters.url.condition.operand"];
ConditionOperandType = [jResp StringOf: @"component.children[i].events.string.parameters.url.condition.operandType"];
ConditionOperator = [jResp StringOf: @"component.children[i].events.string.parameters.url.condition.operator"];
ConditionProperty = [jResp StringOf: @"component.children[i].events.string.parameters.url.condition.property"];
ConditionThen = [jResp StringOf: @"component.children[i].events.string.parameters.url.condition.then"];
UrlConfigured = [[jResp IntOf: @"component.children[i].events.string.parameters.url.configured"] intValue];
UrlDefaultValue = [jResp StringOf: @"component.children[i].events.string.parameters.url.defaultValue"];
UrlEvent = [jResp StringOf: @"component.children[i].events.string.parameters.url.event"];
UrlImportedValue = [jResp StringOf: @"component.children[i].events.string.parameters.url.importedValue"];
UrlModel = [jResp StringOf: @"component.children[i].events.string.parameters.url.model"];
UrlProperty = [jResp StringOf: @"component.children[i].events.string.parameters.url.property"];
UrlType = [jResp StringOf: @"component.children[i].events.string.parameters.url.type"];
UrlUserAttribute = [jResp StringOf: @"component.children[i].events.string.parameters.url.userAttribute"];
UrlValue = [jResp StringOf: @"component.children[i].events.string.parameters.url.value"];
name = [jResp StringOf: @"component.children[i].name"];
BindingPropertiesField = [jResp StringOf: @"component.children[i].properties.string.bindingProperties.field"];
BindingPropertiesProperty = [jResp StringOf: @"component.children[i].properties.string.bindingProperties.property"];
StringElement = [jResp StringOf: @"component.children[i].properties.string.bindings.string.element"];
StringProperty = [jResp StringOf: @"component.children[i].properties.string.bindings.string.property"];
CollectionBindingPropertiesField = [jResp StringOf: @"component.children[i].properties.string.collectionBindingProperties.field"];
CollectionBindingPropertiesProperty = [jResp StringOf: @"component.children[i].properties.string.collectionBindingProperties.property"];
StringComponentName = [jResp StringOf: @"component.children[i].properties.string.componentName"];
ConditionElse = [jResp StringOf: @"component.children[i].properties.string.condition.else"];
ConditionField = [jResp StringOf: @"component.children[i].properties.string.condition.field"];
ConditionOperand = [jResp StringOf: @"component.children[i].properties.string.condition.operand"];
ConditionOperandType = [jResp StringOf: @"component.children[i].properties.string.condition.operandType"];
ConditionOperator = [jResp StringOf: @"component.children[i].properties.string.condition.operator"];
ConditionProperty = [jResp StringOf: @"component.children[i].properties.string.condition.property"];
ConditionThen = [jResp StringOf: @"component.children[i].properties.string.condition.then"];
StringConfigured = [[jResp IntOf: @"component.children[i].properties.string.configured"] intValue];
StringDefaultValue = [jResp StringOf: @"component.children[i].properties.string.defaultValue"];
StringEvent = [jResp StringOf: @"component.children[i].properties.string.event"];
StringImportedValue = [jResp StringOf: @"component.children[i].properties.string.importedValue"];
StringModel = [jResp StringOf: @"component.children[i].properties.string.model"];
StringProperty = [jResp StringOf: @"component.children[i].properties.string.property"];
StringType = [jResp StringOf: @"component.children[i].properties.string.type"];
StringUserAttribute = [jResp StringOf: @"component.children[i].properties.string.userAttribute"];
StringValue = [jResp StringOf: @"component.children[i].properties.string.value"];
sourceId = [jResp StringOf: @"component.children[i].sourceId"];
j = 0;
count_j = [[jResp SizeOfArray: @"component.children[i].children"] intValue];
while (j < count_j) {
jResp.J = [NSNumber numberWithInt: j];
strVal = [jResp StringOf: @"component.children[i].children[j]"];
j = j + 1;
}
j = 0;
count_j = [[jResp SizeOfArray: @"component.children[i].events.string.parameters.anchor.concat"] intValue];
while (j < count_j) {
jResp.J = [NSNumber numberWithInt: j];
strVal = [jResp StringOf: @"component.children[i].events.string.parameters.anchor.concat[j]"];
j = j + 1;
}
j = 0;
count_j = [[jResp SizeOfArray: @"component.children[i].events.string.parameters.fields.string.concat"] intValue];
while (j < count_j) {
jResp.J = [NSNumber numberWithInt: j];
strVal = [jResp StringOf: @"component.children[i].events.string.parameters.fields.string.concat[j]"];
j = j + 1;
}
j = 0;
count_j = [[jResp SizeOfArray: @"component.children[i].events.string.parameters.global.concat"] intValue];
while (j < count_j) {
jResp.J = [NSNumber numberWithInt: j];
strVal = [jResp StringOf: @"component.children[i].events.string.parameters.global.concat[j]"];
j = j + 1;
}
j = 0;
count_j = [[jResp SizeOfArray: @"component.children[i].events.string.parameters.id.concat"] intValue];
while (j < count_j) {
jResp.J = [NSNumber numberWithInt: j];
strVal = [jResp StringOf: @"component.children[i].events.string.parameters.id.concat[j]"];
j = j + 1;
}
j = 0;
count_j = [[jResp SizeOfArray: @"component.children[i].events.string.parameters.state.set.concat"] intValue];
while (j < count_j) {
jResp.J = [NSNumber numberWithInt: j];
strVal = [jResp StringOf: @"component.children[i].events.string.parameters.state.set.concat[j]"];
j = j + 1;
}
j = 0;
count_j = [[jResp SizeOfArray: @"component.children[i].events.string.parameters.target.concat"] intValue];
while (j < count_j) {
jResp.J = [NSNumber numberWithInt: j];
strVal = [jResp StringOf: @"component.children[i].events.string.parameters.target.concat[j]"];
j = j + 1;
}
j = 0;
count_j = [[jResp SizeOfArray: @"component.children[i].events.string.parameters.type.concat"] intValue];
while (j < count_j) {
jResp.J = [NSNumber numberWithInt: j];
strVal = [jResp StringOf: @"component.children[i].events.string.parameters.type.concat[j]"];
j = j + 1;
}
j = 0;
count_j = [[jResp SizeOfArray: @"component.children[i].events.string.parameters.url.concat"] intValue];
while (j < count_j) {
jResp.J = [NSNumber numberWithInt: j];
strVal = [jResp StringOf: @"component.children[i].events.string.parameters.url.concat[j]"];
j = j + 1;
}
j = 0;
count_j = [[jResp SizeOfArray: @"component.children[i].properties.string.concat"] intValue];
while (j < count_j) {
jResp.J = [NSNumber numberWithInt: j];
strVal = [jResp StringOf: @"component.children[i].properties.string.concat[j]"];
j = j + 1;
}
i = i + 1;
}
i = 0;
count_i = [[jResp SizeOfArray: @"component.collectionProperties.string.identifiers"] intValue];
while (i < count_i) {
jResp.I = [NSNumber numberWithInt: i];
strVal = [jResp StringOf: @"component.collectionProperties.string.identifiers[i]"];
i = i + 1;
}
i = 0;
count_i = [[jResp SizeOfArray: @"component.collectionProperties.string.predicate.and"] intValue];
while (i < count_i) {
jResp.I = [NSNumber numberWithInt: i];
strVal = [jResp StringOf: @"component.collectionProperties.string.predicate.and[i]"];
i = i + 1;
}
i = 0;
count_i = [[jResp SizeOfArray: @"component.collectionProperties.string.predicate.or"] intValue];
while (i < count_i) {
jResp.I = [NSNumber numberWithInt: i];
strVal = [jResp StringOf: @"component.collectionProperties.string.predicate.or[i]"];
i = i + 1;
}
i = 0;
count_i = [[jResp SizeOfArray: @"component.collectionProperties.string.sort"] intValue];
while (i < count_i) {
jResp.I = [NSNumber numberWithInt: i];
direction = [jResp StringOf: @"component.collectionProperties.string.sort[i].direction"];
field = [jResp StringOf: @"component.collectionProperties.string.sort[i].field"];
i = i + 1;
}
i = 0;
count_i = [[jResp SizeOfArray: @"component.events.string.parameters.anchor.concat"] intValue];
while (i < count_i) {
jResp.I = [NSNumber numberWithInt: i];
strVal = [jResp StringOf: @"component.events.string.parameters.anchor.concat[i]"];
i = i + 1;
}
i = 0;
count_i = [[jResp SizeOfArray: @"component.events.string.parameters.fields.string.concat"] intValue];
while (i < count_i) {
jResp.I = [NSNumber numberWithInt: i];
strVal = [jResp StringOf: @"component.events.string.parameters.fields.string.concat[i]"];
i = i + 1;
}
i = 0;
count_i = [[jResp SizeOfArray: @"component.events.string.parameters.global.concat"] intValue];
while (i < count_i) {
jResp.I = [NSNumber numberWithInt: i];
strVal = [jResp StringOf: @"component.events.string.parameters.global.concat[i]"];
i = i + 1;
}
i = 0;
count_i = [[jResp SizeOfArray: @"component.events.string.parameters.id.concat"] intValue];
while (i < count_i) {
jResp.I = [NSNumber numberWithInt: i];
strVal = [jResp StringOf: @"component.events.string.parameters.id.concat[i]"];
i = i + 1;
}
i = 0;
count_i = [[jResp SizeOfArray: @"component.events.string.parameters.state.set.concat"] intValue];
while (i < count_i) {
jResp.I = [NSNumber numberWithInt: i];
strVal = [jResp StringOf: @"component.events.string.parameters.state.set.concat[i]"];
i = i + 1;
}
i = 0;
count_i = [[jResp SizeOfArray: @"component.events.string.parameters.target.concat"] intValue];
while (i < count_i) {
jResp.I = [NSNumber numberWithInt: i];
strVal = [jResp StringOf: @"component.events.string.parameters.target.concat[i]"];
i = i + 1;
}
i = 0;
count_i = [[jResp SizeOfArray: @"component.events.string.parameters.type.concat"] intValue];
while (i < count_i) {
jResp.I = [NSNumber numberWithInt: i];
strVal = [jResp StringOf: @"component.events.string.parameters.type.concat[i]"];
i = i + 1;
}
i = 0;
count_i = [[jResp SizeOfArray: @"component.events.string.parameters.url.concat"] intValue];
while (i < count_i) {
jResp.I = [NSNumber numberWithInt: i];
strVal = [jResp StringOf: @"component.events.string.parameters.url.concat[i]"];
i = i + 1;
}
i = 0;
count_i = [[jResp SizeOfArray: @"component.properties.string.concat"] intValue];
while (i < count_i) {
jResp.I = [NSNumber numberWithInt: i];
strVal = [jResp StringOf: @"component.properties.string.concat[i]"];
i = i + 1;
}
i = 0;
count_i = [[jResp SizeOfArray: @"component.variants"] intValue];
while (i < count_i) {
jResp.I = [NSNumber numberWithInt: i];
StringString = [jResp StringOf: @"component.variants[i].overrides.string.string"];
variantValuesString = [jResp StringOf: @"component.variants[i].variantValues.string"];
i = i + 1;
}
// A sample JSON response body parsed by the above code:
// {
// "component": {
// "appId": "string",
// "bindingProperties": {
// "string": {
// "bindingProperties": {
// "bucket": "string",
// "defaultValue": "string",
// "field": "string",
// "key": "string",
// "model": "string",
// "predicates": [
// {
// "and": [
// "Predicate"
// ],
// "field": "string",
// "operand": "string",
// "operator": "string",
// "or": [
// "Predicate"
// ]
// }
// ],
// "userAttribute": "string"
// },
// "defaultValue": "string",
// "type": "string"
// }
// },
// "children": [
// {
// "children": [
// "ComponentChild"
// ],
// "componentType": "string",
// "events": {
// "string": {
// "action": "string",
// "bindingEvent": "string",
// "parameters": {
// "anchor": {
// "bindingProperties": {
// "field": "string",
// "property": "string"
// },
// "bindings": {
// "string": {
// "element": "string",
// "property": "string"
// }
// },
// "collectionBindingProperties": {
// "field": "string",
// "property": "string"
// },
// "componentName": "string",
// "concat": [
// "ComponentProperty"
// ],
// "condition": {
// "else": "ComponentProperty",
// "field": "string",
// "operand": "string",
// "operandType": "string",
// "operator": "string",
// "property": "string",
// "then": "ComponentProperty"
// },
// "configured": boolean,
// "defaultValue": "string",
// "event": "string",
// "importedValue": "string",
// "model": "string",
// "property": "string",
// "type": "string",
// "userAttribute": "string",
// "value": "string"
// },
// "fields": {
// "string": {
// "bindingProperties": {
// "field": "string",
// "property": "string"
// },
// "bindings": {
// "string": {
// "element": "string",
// "property": "string"
// }
// },
// "collectionBindingProperties": {
// "field": "string",
// "property": "string"
// },
// "componentName": "string",
// "concat": [
// "ComponentProperty"
// ],
// "condition": {
// "else": "ComponentProperty",
// "field": "string",
// "operand": "string",
// "operandType": "string",
// "operator": "string",
// "property": "string",
// "then": "ComponentProperty"
// },
// "configured": boolean,
// "defaultValue": "string",
// "event": "string",
// "importedValue": "string",
// "model": "string",
// "property": "string",
// "type": "string",
// "userAttribute": "string",
// "value": "string"
// }
// },
// "global": {
// "bindingProperties": {
// "field": "string",
// "property": "string"
// },
// "bindings": {
// "string": {
// "element": "string",
// "property": "string"
// }
// },
// "collectionBindingProperties": {
// "field": "string",
// "property": "string"
// },
// "componentName": "string",
// "concat": [
// "ComponentProperty"
// ],
// "condition": {
// "else": "ComponentProperty",
// "field": "string",
// "operand": "string",
// "operandType": "string",
// "operator": "string",
// "property": "string",
// "then": "ComponentProperty"
// },
// "configured": boolean,
// "defaultValue": "string",
// "event": "string",
// "importedValue": "string",
// "model": "string",
// "property": "string",
// "type": "string",
// "userAttribute": "string",
// "value": "string"
// },
// "id": {
// "bindingProperties": {
// "field": "string",
// "property": "string"
// },
// "bindings": {
// "string": {
// "element": "string",
// "property": "string"
// }
// },
// "collectionBindingProperties": {
// "field": "string",
// "property": "string"
// },
// "componentName": "string",
// "concat": [
// "ComponentProperty"
// ],
// "condition": {
// "else": "ComponentProperty",
// "field": "string",
// "operand": "string",
// "operandType": "string",
// "operator": "string",
// "property": "string",
// "then": "ComponentProperty"
// },
// "configured": boolean,
// "defaultValue": "string",
// "event": "string",
// "importedValue": "string",
// "model": "string",
// "property": "string",
// "type": "string",
// "userAttribute": "string",
// "value": "string"
// },
// "model": "string",
// "state": {
// "componentName": "string",
// "property": "string",
// "set": {
// "bindingProperties": {
// "field": "string",
// "property": "string"
// },
// "bindings": {
// "string": {
// "element": "string",
// "property": "string"
// }
// },
// "collectionBindingProperties": {
// "field": "string",
// "property": "string"
// },
// "componentName": "string",
// "concat": [
// "ComponentProperty"
// ],
// "condition": {
// "else": "ComponentProperty",
// "field": "string",
// "operand": "string",
// "operandType": "string",
// "operator": "string",
// "property": "string",
// "then": "ComponentProperty"
// },
// "configured": boolean,
// "defaultValue": "string",
// "event": "string",
// "importedValue": "string",
// "model": "string",
// "property": "string",
// "type": "string",
// "userAttribute": "string",
// "value": "string"
// }
// },
// "target": {
// "bindingProperties": {
// "field": "string",
// "property": "string"
// },
// "bindings": {
// "string": {
// "element": "string",
// "property": "string"
// }
// },
// "collectionBindingProperties": {
// "field": "string",
// "property": "string"
// },
// "componentName": "string",
// "concat": [
// "ComponentProperty"
// ],
// "condition": {
// "else": "ComponentProperty",
// "field": "string",
// "operand": "string",
// "operandType": "string",
// "operator": "string",
// "property": "string",
// "then": "ComponentProperty"
// },
// "configured": boolean,
// "defaultValue": "string",
// "event": "string",
// "importedValue": "string",
// "model": "string",
// "property": "string",
// "type": "string",
// "userAttribute": "string",
// "value": "string"
// },
// "type": {
// "bindingProperties": {
// "field": "string",
// "property": "string"
// },
// "bindings": {
// "string": {
// "element": "string",
// "property": "string"
// }
// },
// "collectionBindingProperties": {
// "field": "string",
// "property": "string"
// },
// "componentName": "string",
// "concat": [
// "ComponentProperty"
// ],
// "condition": {
// "else": "ComponentProperty",
// "field": "string",
// "operand": "string",
// "operandType": "string",
// "operator": "string",
// "property": "string",
// "then": "ComponentProperty"
// },
// "configured": boolean,
// "defaultValue": "string",
// "event": "string",
// "importedValue": "string",
// "model": "string",
// "property": "string",
// "type": "string",
// "userAttribute": "string",
// "value": "string"
// },
// "url": {
// "bindingProperties": {
// "field": "string",
// "property": "string"
// },
// "bindings": {
// "string": {
// "element": "string",
// "property": "string"
// }
// },
// "collectionBindingProperties": {
// "field": "string",
// "property": "string"
// },
// "componentName": "string",
// "concat": [
// "ComponentProperty"
// ],
// "condition": {
// "else": "ComponentProperty",
// "field": "string",
// "operand": "string",
// "operandType": "string",
// "operator": "string",
// "property": "string",
// "then": "ComponentProperty"
// },
// "configured": boolean,
// "defaultValue": "string",
// "event": "string",
// "importedValue": "string",
// "model": "string",
// "property": "string",
// "type": "string",
// "userAttribute": "string",
// "value": "string"
// }
// }
// }
// },
// "name": "string",
// "properties": {
// "string": {
// "bindingProperties": {
// "field": "string",
// "property": "string"
// },
// "bindings": {
// "string": {
// "element": "string",
// "property": "string"
// }
// },
// "collectionBindingProperties": {
// "field": "string",
// "property": "string"
// },
// "componentName": "string",
// "concat": [
// "ComponentProperty"
// ],
// "condition": {
// "else": "ComponentProperty",
// "field": "string",
// "operand": "string",
// "operandType": "string",
// "operator": "string",
// "property": "string",
// "then": "ComponentProperty"
// },
// "configured": boolean,
// "defaultValue": "string",
// "event": "string",
// "importedValue": "string",
// "model": "string",
// "property": "string",
// "type": "string",
// "userAttribute": "string",
// "value": "string"
// }
// },
// "sourceId": "string"
// }
// ],
// "collectionProperties": {
// "string": {
// "identifiers": [
// "string"
// ],
// "model": "string",
// "predicate": {
// "and": [
// "Predicate"
// ],
// "field": "string",
// "operand": "string",
// "operator": "string",
// "or": [
// "Predicate"
// ]
// },
// "sort": [
// {
// "direction": "string",
// "field": "string"
// }
// ]
// }
// },
// "componentType": "string",
// "createdAt": number,
// "environmentName": "string",
// "events": {
// "string": {
// "action": "string",
// "bindingEvent": "string",
// "parameters": {
// "anchor": {
// "bindingProperties": {
// "field": "string",
// "property": "string"
// },
// "bindings": {
// "string": {
// "element": "string",
// "property": "string"
// }
// },
// "collectionBindingProperties": {
// "field": "string",
// "property": "string"
// },
// "componentName": "string",
// "concat": [
// "ComponentProperty"
// ],
// "condition": {
// "else": "ComponentProperty",
// "field": "string",
// "operand": "string",
// "operandType": "string",
// "operator": "string",
// "property": "string",
// "then": "ComponentProperty"
// },
// "configured": boolean,
// "defaultValue": "string",
// "event": "string",
// "importedValue": "string",
// "model": "string",
// "property": "string",
// "type": "string",
// "userAttribute": "string",
// "value": "string"
// },
// "fields": {
// "string": {
// "bindingProperties": {
// "field": "string",
// "property": "string"
// },
// "bindings": {
// "string": {
// "element": "string",
// "property": "string"
// }
// },
// "collectionBindingProperties": {
// "field": "string",
// "property": "string"
// },
// "componentName": "string",
// "concat": [
// "ComponentProperty"
// ],
// "condition": {
// "else": "ComponentProperty",
// "field": "string",
// "operand": "string",
// "operandType": "string",
// "operator": "string",
// "property": "string",
// "then": "ComponentProperty"
// },
// "configured": boolean,
// "defaultValue": "string",
// "event": "string",
// "importedValue": "string",
// "model": "string",
// "property": "string",
// "type": "string",
// "userAttribute": "string",
// "value": "string"
// }
// },
// "global": {
// "bindingProperties": {
// "field": "string",
// "property": "string"
// },
// "bindings": {
// "string": {
// "element": "string",
// "property": "string"
// }
// },
// "collectionBindingProperties": {
// "field": "string",
// "property": "string"
// },
// "componentName": "string",
// "concat": [
// "ComponentProperty"
// ],
// "condition": {
// "else": "ComponentProperty",
// "field": "string",
// "operand": "string",
// "operandType": "string",
// "operator": "string",
// "property": "string",
// "then": "ComponentProperty"
// },
// "configured": boolean,
// "defaultValue": "string",
// "event": "string",
// "importedValue": "string",
// "model": "string",
// "property": "string",
// "type": "string",
// "userAttribute": "string",
// "value": "string"
// },
// "id": {
// "bindingProperties": {
// "field": "string",
// "property": "string"
// },
// "bindings": {
// "string": {
// "element": "string",
// "property": "string"
// }
// },
// "collectionBindingProperties": {
// "field": "string",
// "property": "string"
// },
// "componentName": "string",
// "concat": [
// "ComponentProperty"
// ],
// "condition": {
// "else": "ComponentProperty",
// "field": "string",
// "operand": "string",
// "operandType": "string",
// "operator": "string",
// "property": "string",
// "then": "ComponentProperty"
// },
// "configured": boolean,
// "defaultValue": "string",
// "event": "string",
// "importedValue": "string",
// "model": "string",
// "property": "string",
// "type": "string",
// "userAttribute": "string",
// "value": "string"
// },
// "model": "string",
// "state": {
// "componentName": "string",
// "property": "string",
// "set": {
// "bindingProperties": {
// "field": "string",
// "property": "string"
// },
// "bindings": {
// "string": {
// "element": "string",
// "property": "string"
// }
// },
// "collectionBindingProperties": {
// "field": "string",
// "property": "string"
// },
// "componentName": "string",
// "concat": [
// "ComponentProperty"
// ],
// "condition": {
// "else": "ComponentProperty",
// "field": "string",
// "operand": "string",
// "operandType": "string",
// "operator": "string",
// "property": "string",
// "then": "ComponentProperty"
// },
// "configured": boolean,
// "defaultValue": "string",
// "event": "string",
// "importedValue": "string",
// "model": "string",
// "property": "string",
// "type": "string",
// "userAttribute": "string",
// "value": "string"
// }
// },
// "target": {
// "bindingProperties": {
// "field": "string",
// "property": "string"
// },
// "bindings": {
// "string": {
// "element": "string",
// "property": "string"
// }
// },
// "collectionBindingProperties": {
// "field": "string",
// "property": "string"
// },
// "componentName": "string",
// "concat": [
// "ComponentProperty"
// ],
// "condition": {
// "else": "ComponentProperty",
// "field": "string",
// "operand": "string",
// "operandType": "string",
// "operator": "string",
// "property": "string",
// "then": "ComponentProperty"
// },
// "configured": boolean,
// "defaultValue": "string",
// "event": "string",
// "importedValue": "string",
// "model": "string",
// "property": "string",
// "type": "string",
// "userAttribute": "string",
// "value": "string"
// },
// "type": {
// "bindingProperties": {
// "field": "string",
// "property": "string"
// },
// "bindings": {
// "string": {
// "element": "string",
// "property": "string"
// }
// },
// "collectionBindingProperties": {
// "field": "string",
// "property": "string"
// },
// "componentName": "string",
// "concat": [
// "ComponentProperty"
// ],
// "condition": {
// "else": "ComponentProperty",
// "field": "string",
// "operand": "string",
// "operandType": "string",
// "operator": "string",
// "property": "string",
// "then": "ComponentProperty"
// },
// "configured": boolean,
// "defaultValue": "string",
// "event": "string",
// "importedValue": "string",
// "model": "string",
// "property": "string",
// "type": "string",
// "userAttribute": "string",
// "value": "string"
// },
// "url": {
// "bindingProperties": {
// "field": "string",
// "property": "string"
// },
// "bindings": {
// "string": {
// "element": "string",
// "property": "string"
// }
// },
// "collectionBindingProperties": {
// "field": "string",
// "property": "string"
// },
// "componentName": "string",
// "concat": [
// "ComponentProperty"
// ],
// "condition": {
// "else": "ComponentProperty",
// "field": "string",
// "operand": "string",
// "operandType": "string",
// "operator": "string",
// "property": "string",
// "then": "ComponentProperty"
// },
// "configured": boolean,
// "defaultValue": "string",
// "event": "string",
// "importedValue": "string",
// "model": "string",
// "property": "string",
// "type": "string",
// "userAttribute": "string",
// "value": "string"
// }
// }
// }
// },
// "id": "string",
// "modifiedAt": number,
// "name": "string",
// "overrides": {
// "string": {
// "string": "string"
// }
// },
// "properties": {
// "string": {
// "bindingProperties": {
// "field": "string",
// "property": "string"
// },
// "bindings": {
// "string": {
// "element": "string",
// "property": "string"
// }
// },
// "collectionBindingProperties": {
// "field": "string",
// "property": "string"
// },
// "componentName": "string",
// "concat": [
// "ComponentProperty"
// ],
// "condition": {
// "else": "ComponentProperty",
// "field": "string",
// "operand": "string",
// "operandType": "string",
// "operator": "string",
// "property": "string",
// "then": "ComponentProperty"
// },
// "configured": boolean,
// "defaultValue": "string",
// "event": "string",
// "importedValue": "string",
// "model": "string",
// "property": "string",
// "type": "string",
// "userAttribute": "string",
// "value": "string"
// }
// },
// "schemaVersion": "string",
// "sourceId": "string",
// "tags": {
// "string": "string"
// },
// "variants": [
// {
// "overrides": {
// "string": {
// "string": "string"
// }
// },
// "variantValues": {
// "string": "string"
// }
// }
// ]
// }
// }