github.com/enbility/spine-go@v0.7.0/model/networkmanagement.go (about) 1 package model 2 3 type NetworkManagementNativeSetupType string 4 5 type NetworkManagementScanSetupType string 6 7 type NetworkManagementSetupType string 8 9 type NetworkManagementCandidateSetupType string 10 11 type NetworkManagementTechnologyAddressType string 12 13 type NetworkManagementCommunicationsTechnologyInformationType string 14 15 type NetworkManagementMinimumTrustLevelType string 16 17 type NetworkManagementProcessTimeoutType DurationType 18 19 type NetworkManagementFeatureSetType string 20 21 const ( 22 NetworkManagementFeatureSetTypeGateway NetworkManagementFeatureSetType = "gateway" 23 NetworkManagementFeatureSetTypeRouter NetworkManagementFeatureSetType = "router" 24 NetworkManagementFeatureSetTypeSmart NetworkManagementFeatureSetType = "smart" 25 NetworkManagementFeatureSetTypeSimple NetworkManagementFeatureSetType = "simple" 26 ) 27 28 type NetworkManagementProcessStateStateType string 29 30 const ( 31 NetworkManagementProcessStateStateTypeSucceeded NetworkManagementProcessStateStateType = "succeeded" 32 NetworkManagementProcessStateStateTypeFailed NetworkManagementProcessStateStateType = "failed" 33 NetworkManagementProcessStateStateTypeAborted NetworkManagementProcessStateStateType = "aborted" 34 ) 35 36 type NetworkManagementStateChangeType string 37 38 const ( 39 NetworkManagementStateChangeTypeAdded NetworkManagementStateChangeType = "added" 40 NetworkManagementStateChangeTypeRemoved NetworkManagementStateChangeType = "removed" 41 NetworkManagementStateChangeTypeModified NetworkManagementStateChangeType = "modified" 42 ) 43 44 type NetworkManagementAddNodeCallType struct { 45 NodeAddress *FeatureAddressType `json:"nodeAddress,omitempty"` 46 NativeSetup *NetworkManagementNativeSetupType `json:"nativeSetup,omitempty"` 47 Timeout *NetworkManagementProcessTimeoutType `json:"timeout,omitempty"` 48 Label *LabelType `json:"label,omitempty"` 49 Description *DescriptionType `json:"description,omitempty"` 50 } 51 52 type NetworkManagementAddNodeCallElementsType struct { 53 NodeAddress *FeatureAddressElementsType `json:"nodeAddress,omitempty"` 54 NativeSetup *ElementTagType `json:"nativeSetup,omitempty"` 55 Timeout *ElementTagType `json:"timeout,omitempty"` 56 Label *ElementTagType `json:"label,omitempty"` 57 Description *ElementTagType `json:"description,omitempty"` 58 } 59 60 type NetworkManagementRemoveNodeCallType struct { 61 NodeAddress *FeatureAddressType `json:"nodeAddress,omitempty"` 62 Timeout *NetworkManagementProcessTimeoutType `json:"timeout,omitempty"` 63 } 64 65 type NetworkManagementRemoveNodeCallElementsType struct { 66 NodeAddress *FeatureAddressElementsType `json:"nodeAddress,omitempty"` 67 Timeout *ElementTagType `json:"timeout,omitempty"` 68 } 69 70 type NetworkManagementModifyNodeCallType struct { 71 NodeAddress *FeatureAddressType `json:"nodeAddress,omitempty"` 72 NativeSetup *NetworkManagementNativeSetupType `json:"nativeSetup,omitempty"` 73 Timeout *NetworkManagementProcessTimeoutType `json:"timeout,omitempty"` 74 Label *LabelType `json:"label,omitempty"` 75 Description *DescriptionType `json:"description,omitempty"` 76 } 77 78 type NetworkManagementModifyNodeCallElementsType struct { 79 NodeAddress *FeatureAddressElementsType `json:"nodeAddress,omitempty"` 80 NativeSetup *ElementTagType `json:"nativeSetup,omitempty"` 81 Timeout *ElementTagType `json:"timeout,omitempty"` 82 Label *ElementTagType `json:"label,omitempty"` 83 Description *ElementTagType `json:"description,omitempty"` 84 } 85 86 type NetworkManagementScanNetworkCallType struct { 87 ScanSetup *NetworkManagementScanSetupType `json:"scanSetup,omitempty"` 88 Timeout *NetworkManagementProcessTimeoutType `json:"timeout,omitempty"` 89 } 90 91 type NetworkManagementScanNetworkCallElementsType struct { 92 ScanSetup *ElementTagType `json:"scanSetup,omitempty"` 93 Timeout *ElementTagType `json:"timeout,omitempty"` 94 } 95 96 type NetworkManagementDiscoverCallType struct { 97 DiscoverAddress *FeatureAddressType `json:"discoverAddress,omitempty"` 98 } 99 100 type NetworkManagementDiscoverCallElementsType struct { 101 DiscoverAddress *FeatureAddressElementsType `json:"discoverAddress,omitempty"` 102 } 103 104 type NetworkManagementAbortCallType struct{} 105 106 type NetworkManagementAbortCallElementsType struct{} 107 108 type NetworkManagementProcessStateDataType struct { 109 State *NetworkManagementProcessStateStateType `json:"state,omitempty"` 110 Description *DescriptionType `json:"description,omitempty"` 111 } 112 113 type NetworkManagementProcessStateDataElementsType struct { 114 State *ElementTagType `json:"state,omitempty"` 115 Description *ElementTagType `json:"description,omitempty"` 116 } 117 118 type NetworkManagementJoiningModeDataType struct { 119 Setup *NetworkManagementSetupType `json:"setup,omitempty"` 120 } 121 122 type NetworkManagementJoiningModeDataElementsType struct { 123 Setup *ElementTagType `json:"setup,omitempty"` 124 } 125 126 type NetworkManagementReportCandidateDataType struct { 127 CandidateSetup *NetworkManagementCandidateSetupType `json:"candidateSetup,omitempty"` 128 SetupUsableForAdd *bool `json:"setupUsableForAdd,omitempty"` 129 Label *LabelType `json:"label,omitempty"` 130 Description *DescriptionType `json:"description,omitempty"` 131 } 132 133 type NetworkManagementReportCandidateDataElementsType struct { 134 CandidateSetup *ElementTagType `json:"candidateSetup,omitempty"` 135 SetupUsableForAdd *ElementTagType `json:"setupUsableForAdd,omitempty"` 136 Label *ElementTagType `json:"label,omitempty"` 137 Description *ElementTagType `json:"description,omitempty"` 138 } 139 140 type NetworkManagementDeviceDescriptionDataType struct { 141 DeviceAddress *DeviceAddressType `json:"deviceAddress,omitempty" eebus:"key"` 142 DeviceType *DeviceTypeType `json:"deviceType,omitempty"` 143 NetworkManagementResponsibleAddress *FeatureAddressType `json:"networkManagementResponsibleAddress,omitempty"` 144 NativeSetup *NetworkManagementNativeSetupType `json:"nativeSetup,omitempty"` 145 TechnologyAddress *NetworkManagementTechnologyAddressType `json:"technologyAddress,omitempty"` 146 CommunicationsTechnologyInformation *NetworkManagementCommunicationsTechnologyInformationType `json:"communicationsTechnologyInformation,omitempty"` 147 NetworkFeatureSet *NetworkManagementFeatureSetType `json:"networkFeatureSet,omitempty"` 148 LastStateChange *NetworkManagementStateChangeType `json:"lastStateChange,omitempty"` 149 MinimumTrustLevel *NetworkManagementMinimumTrustLevelType `json:"minimumTrustLevel,omitempty"` 150 Label *LabelType `json:"label,omitempty"` 151 Description *DescriptionType `json:"description,omitempty"` 152 } 153 154 type NetworkManagementDeviceDescriptionDataElementsType struct { 155 DeviceAddress *ElementTagType `json:"deviceAddress,omitempty"` 156 DeviceType *ElementTagType `json:"deviceType,omitempty"` 157 NetworkManagementResponsibleAddress *ElementTagType `json:"networkManagementResponsibleAddress,omitempty"` 158 NativeSetup *ElementTagType `json:"nativeSetup,omitempty"` 159 TechnologyAddress *ElementTagType `json:"technologyAddress,omitempty"` 160 CommunicationsTechnologyInformation *ElementTagType `json:"communicationsTechnologyInformation,omitempty"` 161 NetworkFeatureSet *ElementTagType `json:"networkFeatureSet,omitempty"` 162 LastStateChange *ElementTagType `json:"lastStateChange,omitempty"` 163 MinimumTrustLevel *ElementTagType `json:"minimumTrustLevel,omitempty"` 164 Label *ElementTagType `json:"label,omitempty"` 165 Description *ElementTagType `json:"description,omitempty"` 166 } 167 168 type NetworkManagementDeviceDescriptionListDataType struct { 169 NetworkManagementDeviceDescriptionData []NetworkManagementDeviceDescriptionDataType `json:"networkManagementDeviceDescriptionData,omitempty"` 170 } 171 172 type NetworkManagementDeviceDescriptionListDataSelectorsType struct { 173 DeviceAddress *DeviceAddressType `json:"deviceAddress,omitempty"` 174 DeviceType *DeviceTypeType `json:"deviceType,omitempty"` 175 } 176 177 type NetworkManagementEntityDescriptionDataType struct { 178 EntityAddress *EntityAddressType `json:"entityAddress,omitempty" eebus:"key"` 179 EntityType *EntityTypeType `json:"entityType,omitempty"` 180 LastStateChange *NetworkManagementStateChangeType `json:"lastStateChange,omitempty"` 181 MinimumTrustLevel *NetworkManagementMinimumTrustLevelType `json:"minimumTrustLevel,omitempty"` 182 Label *LabelType `json:"label,omitempty"` 183 Description *DescriptionType `json:"description,omitempty"` 184 } 185 186 type NetworkManagementEntityDescriptionDataElementsType struct { 187 EntityAddress *ElementTagType `json:"entityAddress,omitempty"` 188 EntityType *ElementTagType `json:"entityType,omitempty"` 189 LastStateChange *ElementTagType `json:"lastStateChange,omitempty"` 190 MinimumTrustLevel *ElementTagType `json:"minimumTrustLevel,omitempty"` 191 Label *ElementTagType `json:"label,omitempty"` 192 Description *ElementTagType `json:"description,omitempty"` 193 } 194 195 type NetworkManagementEntityDescriptionListDataType struct { 196 NetworkManagementEntityDescriptionData []NetworkManagementEntityDescriptionDataType `json:"networkManagementEntityDescriptionData,omitempty"` 197 } 198 199 type NetworkManagementEntityDescriptionListDataSelectorsType struct { 200 EntityAddress *EntityAddressType `json:"entityAddress,omitempty"` 201 EntityType *EntityTypeType `json:"entityType,omitempty"` 202 } 203 204 type NetworkManagementFeatureDescriptionDataType struct { 205 FeatureAddress *FeatureAddressType `json:"featureAddress,omitempty" eebus:"key"` 206 FeatureType *FeatureTypeType `json:"featureType,omitempty"` 207 SpecificUsage []FeatureSpecificUsageType `json:"specificUsage,omitempty"` 208 FeatureGroup *FeatureGroupType `json:"featureGroup,omitempty"` 209 Role *RoleType `json:"role,omitempty"` 210 SupportedFunction []FunctionPropertyType `json:"supportedFunction,omitempty"` 211 LastStateChange *NetworkManagementStateChangeType `json:"lastStateChange,omitempty"` 212 MinimumTrustLevel *NetworkManagementMinimumTrustLevelType `json:"minimumTrustLevel,omitempty"` 213 Label *LabelType `json:"label,omitempty"` 214 Description *DescriptionType `json:"description,omitempty"` 215 MaxResponseDelay *MaxResponseDelayType `json:"maxResponseDelay,omitempty"` 216 } 217 218 type NetworkManagementFeatureDescriptionDataElementsType struct { 219 FeatureAddress *FeatureAddressElementsType `json:"featureAddress,omitempty"` 220 FeatureType *ElementTagType `json:"featureType,omitempty"` 221 SpecificUsage *ElementTagType `json:"specificUsage,omitempty"` 222 FeatureGroup *ElementTagType `json:"featureGroup,omitempty"` 223 Role *ElementTagType `json:"role,omitempty"` 224 SupportedFunction *FunctionPropertyElementsType `json:"supportedFunction,omitempty"` 225 LastStateChange *ElementTagType `json:"lastStateChange,omitempty"` 226 MinimumTrustLevel *ElementTagType `json:"minimumTrustLevel,omitempty"` 227 Label *ElementTagType `json:"label,omitempty"` 228 Description *ElementTagType `json:"description,omitempty"` 229 MaxResponseDelay *ElementTagType `json:"maxResponseDelay,omitempty"` 230 } 231 232 type NetworkManagementFeatureDescriptionListDataType struct { 233 NetworkManagementFeatureDescriptionData []NetworkManagementFeatureDescriptionDataType `json:"networkManagementFeatureDescriptionData,omitempty"` 234 } 235 236 type NetworkManagementFeatureDescriptionListDataSelectorsType struct { 237 FeatureAddress *FeatureAddressType `json:"featureAddress,omitempty"` 238 FeatureType *FeatureTypeType `json:"featureType,omitempty"` 239 }