func (a AppDataV2) Location() realm.Location {
	return a.AppStructureV2.Location
}
Location returns the local Realm app location
package local
import (
	"bytes"
	"errors"
	"fmt"
	"io/ioutil"
	"os"
	"path/filepath"
	"github.com/10gen/realm-cli/internal/cloud/realm"
)
type AppStructureV2 struct {
	ConfigVersion         realm.AppConfigVersion            `json:"config_version"`
	ID                    string                            `json:"app_id,omitempty"`
	Name                  string                            `json:"name,omitempty"`
	Location              realm.Location                    `json:"location,omitempty"`
	DeploymentModel       realm.DeploymentModel             `json:"deployment_model,omitempty"`
	Environment           realm.Environment                 `json:"environment,omitempty"`
	Environments          map[string]map[string]interface{} `json:"environments,omitempty"`
	AllowedRequestOrigins []string                          `json:"allowed_request_origins,omitempty"`
	Values                []map[string]interface{}          `json:"values,omitempty"`
	Auth                  AuthStructure                     `json:"auth,omitempty"`
	Functions             FunctionsStructure                `json:"functions,omitempty"`
	Triggers              []map[string]interface{}          `json:"triggers,omitempty"`
	DataSources           []DataSourceStructure             `json:"data_sources,omitempty"`
	HTTPEndpoints         []HTTPEndpointStructure           `json:"http_endpoints,omitempty"`
	Services              []ServiceStructure                `json:"services,omitempty"`
	GraphQL               GraphQLStructure                  `json:"graphql,omitempty"`
	Hosting               map[string]interface{}            `json:"hosting,omitempty"`
	Sync                  SyncStructure                     `json:"sync,omitempty"`
	Secrets               SecretsStructure                  `json:"secrets,omitempty"`
	LogForwarders         []map[string]interface{}          `json:"log_forwarders,omitempty"`
}
type AuthStructure struct {
	CustomUserData map[string]interface{} `json:"custom_user_data,omitempty"`
	Providers      map[string]interface{} `json:"providers,omitempty"`
}
type DataSourceStructure struct {
	Config map[string]interface{}   `json:"config,omitempty"`
	Rules  []map[string]interface{} `json:"rules,omitempty"`
}
type FunctionsStructure struct {
	Configs []map[string]interface{} `json:"config,omitempty"`
	Sources map[string]string        `json:"sources,omitempty"`
}
type HTTPEndpointStructure struct {
	Config           map[string]interface{}   `json:"config,omitempty"`
	IncomingWebhooks []map[string]interface{} `json:"incoming_webhooks,omitempty"`
	Rules            []map[string]interface{} `json:"rules,omitempty"`
}
type SyncStructure struct {
	Config map[string]interface{} `json:"config,omitempty"`
}
type AppDataV2 struct {
	AppStructureV2
}
func (a AppDataV2) ConfigVersion() realm.AppConfigVersion {
	return a.AppStructureV2.ConfigVersion
}
func (a AppDataV2) ID() string {
	return a.AppStructureV2.ID
}
func (a AppDataV2) Name() string {
	return a.AppStructureV2.Name
}