index
int64 | repo_id
string | file_path
string | content
string |
|---|---|---|---|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/BlockAlarmNotificationResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import com.aliyuncs.arms.model.v20190808.BlockAlarmNotificationResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class BlockAlarmNotificationResponseUnmarshaller {
public static BlockAlarmNotificationResponse unmarshall(BlockAlarmNotificationResponse blockAlarmNotificationResponse, UnmarshallerContext _ctx) {
blockAlarmNotificationResponse.setRequestId(_ctx.stringValue("BlockAlarmNotificationResponse.RequestId"));
blockAlarmNotificationResponse.setResult(_ctx.booleanValue("BlockAlarmNotificationResponse.Result"));
blockAlarmNotificationResponse.setCode(_ctx.longValue("BlockAlarmNotificationResponse.Code"));
blockAlarmNotificationResponse.setSuccess(_ctx.booleanValue("BlockAlarmNotificationResponse.Success"));
blockAlarmNotificationResponse.setMessage(_ctx.stringValue("BlockAlarmNotificationResponse.Message"));
return blockAlarmNotificationResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/ChangeAlarmSeverityResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import com.aliyuncs.arms.model.v20190808.ChangeAlarmSeverityResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class ChangeAlarmSeverityResponseUnmarshaller {
public static ChangeAlarmSeverityResponse unmarshall(ChangeAlarmSeverityResponse changeAlarmSeverityResponse, UnmarshallerContext _ctx) {
changeAlarmSeverityResponse.setRequestId(_ctx.stringValue("ChangeAlarmSeverityResponse.RequestId"));
changeAlarmSeverityResponse.setResult(_ctx.booleanValue("ChangeAlarmSeverityResponse.Result"));
changeAlarmSeverityResponse.setCode(_ctx.longValue("ChangeAlarmSeverityResponse.Code"));
changeAlarmSeverityResponse.setSuccess(_ctx.booleanValue("ChangeAlarmSeverityResponse.Success"));
changeAlarmSeverityResponse.setMessage(_ctx.stringValue("ChangeAlarmSeverityResponse.Message"));
return changeAlarmSeverityResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/ChangeResourceGroupResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import com.aliyuncs.arms.model.v20190808.ChangeResourceGroupResponse;
import com.aliyuncs.arms.model.v20190808.ChangeResourceGroupResponse.Data;
import com.aliyuncs.transform.UnmarshallerContext;
public class ChangeResourceGroupResponseUnmarshaller {
public static ChangeResourceGroupResponse unmarshall(ChangeResourceGroupResponse changeResourceGroupResponse, UnmarshallerContext _ctx) {
changeResourceGroupResponse.setRequestId(_ctx.stringValue("ChangeResourceGroupResponse.RequestId"));
changeResourceGroupResponse.setCode(_ctx.stringValue("ChangeResourceGroupResponse.Code"));
changeResourceGroupResponse.setMessage(_ctx.stringValue("ChangeResourceGroupResponse.Message"));
Data data = new Data();
data.setResourceId(_ctx.stringValue("ChangeResourceGroupResponse.Data.ResourceId"));
data.setResourceGroupId(_ctx.stringValue("ChangeResourceGroupResponse.Data.ResourceGroupId"));
changeResourceGroupResponse.setData(data);
return changeResourceGroupResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/CheckCommercialStatusResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import com.aliyuncs.arms.model.v20190808.CheckCommercialStatusResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class CheckCommercialStatusResponseUnmarshaller {
public static CheckCommercialStatusResponse unmarshall(CheckCommercialStatusResponse checkCommercialStatusResponse, UnmarshallerContext _ctx) {
checkCommercialStatusResponse.setRequestId(_ctx.stringValue("CheckCommercialStatusResponse.RequestId"));
checkCommercialStatusResponse.setData(_ctx.stringValue("CheckCommercialStatusResponse.Data"));
return checkCommercialStatusResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/CheckServiceStatusResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import com.aliyuncs.arms.model.v20190808.CheckServiceStatusResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class CheckServiceStatusResponseUnmarshaller {
public static CheckServiceStatusResponse unmarshall(CheckServiceStatusResponse checkServiceStatusResponse, UnmarshallerContext _ctx) {
checkServiceStatusResponse.setRequestId(_ctx.stringValue("CheckServiceStatusResponse.RequestId"));
checkServiceStatusResponse.setData(_ctx.stringValue("CheckServiceStatusResponse.Data"));
return checkServiceStatusResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/ClaimAlarmResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import com.aliyuncs.arms.model.v20190808.ClaimAlarmResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class ClaimAlarmResponseUnmarshaller {
public static ClaimAlarmResponse unmarshall(ClaimAlarmResponse claimAlarmResponse, UnmarshallerContext _ctx) {
claimAlarmResponse.setRequestId(_ctx.stringValue("ClaimAlarmResponse.RequestId"));
claimAlarmResponse.setResult(_ctx.booleanValue("ClaimAlarmResponse.Result"));
claimAlarmResponse.setCode(_ctx.longValue("ClaimAlarmResponse.Code"));
claimAlarmResponse.setSuccess(_ctx.booleanValue("ClaimAlarmResponse.Success"));
claimAlarmResponse.setMessage(_ctx.stringValue("ClaimAlarmResponse.Message"));
return claimAlarmResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/CloseAlarmResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import com.aliyuncs.arms.model.v20190808.CloseAlarmResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class CloseAlarmResponseUnmarshaller {
public static CloseAlarmResponse unmarshall(CloseAlarmResponse closeAlarmResponse, UnmarshallerContext _ctx) {
closeAlarmResponse.setRequestId(_ctx.stringValue("CloseAlarmResponse.RequestId"));
closeAlarmResponse.setResult(_ctx.booleanValue("CloseAlarmResponse.Result"));
closeAlarmResponse.setCode(_ctx.longValue("CloseAlarmResponse.Code"));
closeAlarmResponse.setSuccess(_ctx.booleanValue("CloseAlarmResponse.Success"));
closeAlarmResponse.setMessage(_ctx.stringValue("CloseAlarmResponse.Message"));
return closeAlarmResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/ConfigAppResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import com.aliyuncs.arms.model.v20190808.ConfigAppResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class ConfigAppResponseUnmarshaller {
public static ConfigAppResponse unmarshall(ConfigAppResponse configAppResponse, UnmarshallerContext _ctx) {
configAppResponse.setRequestId(_ctx.stringValue("ConfigAppResponse.RequestId"));
configAppResponse.setData(_ctx.stringValue("ConfigAppResponse.Data"));
return configAppResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/CreateAlertContactGroupResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import com.aliyuncs.arms.model.v20190808.CreateAlertContactGroupResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateAlertContactGroupResponseUnmarshaller {
public static CreateAlertContactGroupResponse unmarshall(CreateAlertContactGroupResponse createAlertContactGroupResponse, UnmarshallerContext _ctx) {
createAlertContactGroupResponse.setRequestId(_ctx.stringValue("CreateAlertContactGroupResponse.RequestId"));
createAlertContactGroupResponse.setContactGroupId(_ctx.stringValue("CreateAlertContactGroupResponse.ContactGroupId"));
return createAlertContactGroupResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/CreateAlertContactResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import com.aliyuncs.arms.model.v20190808.CreateAlertContactResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateAlertContactResponseUnmarshaller {
public static CreateAlertContactResponse unmarshall(CreateAlertContactResponse createAlertContactResponse, UnmarshallerContext _ctx) {
createAlertContactResponse.setRequestId(_ctx.stringValue("CreateAlertContactResponse.RequestId"));
createAlertContactResponse.setContactId(_ctx.stringValue("CreateAlertContactResponse.ContactId"));
return createAlertContactResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/CreateDispatchRuleResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import com.aliyuncs.arms.model.v20190808.CreateDispatchRuleResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateDispatchRuleResponseUnmarshaller {
public static CreateDispatchRuleResponse unmarshall(CreateDispatchRuleResponse createDispatchRuleResponse, UnmarshallerContext _ctx) {
createDispatchRuleResponse.setRequestId(_ctx.stringValue("CreateDispatchRuleResponse.RequestId"));
createDispatchRuleResponse.setDispatchRuleId(_ctx.longValue("CreateDispatchRuleResponse.DispatchRuleId"));
return createDispatchRuleResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/CreateEnvCustomJobResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import com.aliyuncs.arms.model.v20190808.CreateEnvCustomJobResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateEnvCustomJobResponseUnmarshaller {
public static CreateEnvCustomJobResponse unmarshall(CreateEnvCustomJobResponse createEnvCustomJobResponse, UnmarshallerContext _ctx) {
createEnvCustomJobResponse.setRequestId(_ctx.stringValue("CreateEnvCustomJobResponse.RequestId"));
createEnvCustomJobResponse.setCode(_ctx.integerValue("CreateEnvCustomJobResponse.Code"));
createEnvCustomJobResponse.setData(_ctx.stringValue("CreateEnvCustomJobResponse.Data"));
createEnvCustomJobResponse.setMessage(_ctx.stringValue("CreateEnvCustomJobResponse.Message"));
return createEnvCustomJobResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/CreateEnvPodMonitorResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import com.aliyuncs.arms.model.v20190808.CreateEnvPodMonitorResponse;
import com.aliyuncs.arms.model.v20190808.CreateEnvPodMonitorResponse.Data;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateEnvPodMonitorResponseUnmarshaller {
public static CreateEnvPodMonitorResponse unmarshall(CreateEnvPodMonitorResponse createEnvPodMonitorResponse, UnmarshallerContext _ctx) {
createEnvPodMonitorResponse.setRequestId(_ctx.stringValue("CreateEnvPodMonitorResponse.RequestId"));
createEnvPodMonitorResponse.setCode(_ctx.integerValue("CreateEnvPodMonitorResponse.Code"));
createEnvPodMonitorResponse.setMessage(_ctx.stringValue("CreateEnvPodMonitorResponse.Message"));
Data data = new Data();
data.setMatchedMsg(_ctx.stringValue("CreateEnvPodMonitorResponse.Data.MatchedMsg"));
data.setNamespace(_ctx.stringValue("CreateEnvPodMonitorResponse.Data.Namespace"));
data.setPodMonitorName(_ctx.stringValue("CreateEnvPodMonitorResponse.Data.PodMonitorName"));
data.setMatchedTargetCount(_ctx.stringValue("CreateEnvPodMonitorResponse.Data.MatchedTargetCount"));
createEnvPodMonitorResponse.setData(data);
return createEnvPodMonitorResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/CreateEnvServiceMonitorResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import com.aliyuncs.arms.model.v20190808.CreateEnvServiceMonitorResponse;
import com.aliyuncs.arms.model.v20190808.CreateEnvServiceMonitorResponse.Data;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateEnvServiceMonitorResponseUnmarshaller {
public static CreateEnvServiceMonitorResponse unmarshall(CreateEnvServiceMonitorResponse createEnvServiceMonitorResponse, UnmarshallerContext _ctx) {
createEnvServiceMonitorResponse.setRequestId(_ctx.stringValue("CreateEnvServiceMonitorResponse.RequestId"));
createEnvServiceMonitorResponse.setCode(_ctx.integerValue("CreateEnvServiceMonitorResponse.Code"));
createEnvServiceMonitorResponse.setMessage(_ctx.stringValue("CreateEnvServiceMonitorResponse.Message"));
Data data = new Data();
data.setMatchedMsg(_ctx.stringValue("CreateEnvServiceMonitorResponse.Data.MatchedMsg"));
data.setNamespace(_ctx.stringValue("CreateEnvServiceMonitorResponse.Data.Namespace"));
data.setServiceMonitorName(_ctx.stringValue("CreateEnvServiceMonitorResponse.Data.ServiceMonitorName"));
data.setMatchedTargetCount(_ctx.integerValue("CreateEnvServiceMonitorResponse.Data.MatchedTargetCount"));
createEnvServiceMonitorResponse.setData(data);
return createEnvServiceMonitorResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/CreateEnvironmentResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import com.aliyuncs.arms.model.v20190808.CreateEnvironmentResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateEnvironmentResponseUnmarshaller {
public static CreateEnvironmentResponse unmarshall(CreateEnvironmentResponse createEnvironmentResponse, UnmarshallerContext _ctx) {
createEnvironmentResponse.setRequestId(_ctx.stringValue("CreateEnvironmentResponse.RequestId"));
createEnvironmentResponse.setCode(_ctx.integerValue("CreateEnvironmentResponse.Code"));
createEnvironmentResponse.setData(_ctx.stringValue("CreateEnvironmentResponse.Data"));
createEnvironmentResponse.setMessage(_ctx.stringValue("CreateEnvironmentResponse.Message"));
return createEnvironmentResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/CreateGrafanaWorkspaceResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.arms.model.v20190808.CreateGrafanaWorkspaceResponse;
import com.aliyuncs.arms.model.v20190808.CreateGrafanaWorkspaceResponse.Data;
import com.aliyuncs.arms.model.v20190808.CreateGrafanaWorkspaceResponse.Data.TagsItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateGrafanaWorkspaceResponseUnmarshaller {
public static CreateGrafanaWorkspaceResponse unmarshall(CreateGrafanaWorkspaceResponse createGrafanaWorkspaceResponse, UnmarshallerContext _ctx) {
createGrafanaWorkspaceResponse.setRequestId(_ctx.stringValue("CreateGrafanaWorkspaceResponse.RequestId"));
createGrafanaWorkspaceResponse.setMessage(_ctx.stringValue("CreateGrafanaWorkspaceResponse.Message"));
createGrafanaWorkspaceResponse.setCode(_ctx.integerValue("CreateGrafanaWorkspaceResponse.Code"));
createGrafanaWorkspaceResponse.setSuccess(_ctx.booleanValue("CreateGrafanaWorkspaceResponse.Success"));
createGrafanaWorkspaceResponse.setTraceId(_ctx.stringValue("CreateGrafanaWorkspaceResponse.TraceId"));
Data data = new Data();
data.setStatus(_ctx.stringValue("CreateGrafanaWorkspaceResponse.Data.status"));
data.setDescription(_ctx.stringValue("CreateGrafanaWorkspaceResponse.Data.description"));
data.setGrafanaWorkspaceEdition(_ctx.stringValue("CreateGrafanaWorkspaceResponse.Data.grafanaWorkspaceEdition"));
data.setEndTime(_ctx.floatValue("CreateGrafanaWorkspaceResponse.Data.endTime"));
data.setGrafanaWorkspaceId(_ctx.stringValue("CreateGrafanaWorkspaceResponse.Data.grafanaWorkspaceId"));
data.setGrafanaWorkspaceIp(_ctx.stringValue("CreateGrafanaWorkspaceResponse.Data.grafanaWorkspaceIp"));
data.setSnatIp(_ctx.stringValue("CreateGrafanaWorkspaceResponse.Data.snatIp"));
data.setGrafanaWorkspaceDomain(_ctx.stringValue("CreateGrafanaWorkspaceResponse.Data.grafanaWorkspaceDomain"));
data.setGrafanaWorkspaceDomainStatus(_ctx.stringValue("CreateGrafanaWorkspaceResponse.Data.grafanaWorkspaceDomainStatus"));
data.setCommercial(_ctx.booleanValue("CreateGrafanaWorkspaceResponse.Data.commercial"));
data.setGrafanaWorkspaceName(_ctx.stringValue("CreateGrafanaWorkspaceResponse.Data.grafanaWorkspaceName"));
data.setGrafanaVersion(_ctx.stringValue("CreateGrafanaWorkspaceResponse.Data.grafanaVersion"));
data.setGmtCreate(_ctx.floatValue("CreateGrafanaWorkspaceResponse.Data.gmtCreate"));
data.setUserId(_ctx.stringValue("CreateGrafanaWorkspaceResponse.Data.userId"));
data.setMaxAccount(_ctx.stringValue("CreateGrafanaWorkspaceResponse.Data.maxAccount"));
data.setRegionId(_ctx.stringValue("CreateGrafanaWorkspaceResponse.Data.regionId"));
data.setBizProtocol(_ctx.stringValue("CreateGrafanaWorkspaceResponse.Data.protocol"));
data.setShareSynced(_ctx.booleanValue("CreateGrafanaWorkspaceResponse.Data.shareSynced"));
data.setNtmId(_ctx.stringValue("CreateGrafanaWorkspaceResponse.Data.ntmId"));
data.setPersonalDomain(_ctx.stringValue("CreateGrafanaWorkspaceResponse.Data.personalDomain"));
data.setPersonalDomainPrefix(_ctx.stringValue("CreateGrafanaWorkspaceResponse.Data.personalDomainPrefix"));
data.setResourceGroupId(_ctx.stringValue("CreateGrafanaWorkspaceResponse.Data.resourceGroupId"));
data.setDeployType(_ctx.stringValue("CreateGrafanaWorkspaceResponse.Data.deployType"));
data.setPrivateIp(_ctx.stringValue("CreateGrafanaWorkspaceResponse.Data.privateIp"));
data.setPrivateDomain(_ctx.stringValue("CreateGrafanaWorkspaceResponse.Data.privateDomain"));
List<String> upgradeVersion = new ArrayList<String>();
for (int i = 0; i < _ctx.lengthValue("CreateGrafanaWorkspaceResponse.Data.upgradeVersion.Length"); i++) {
upgradeVersion.add(_ctx.stringValue("CreateGrafanaWorkspaceResponse.Data.upgradeVersion["+ i +"]"));
}
data.setUpgradeVersion(upgradeVersion);
List<TagsItem> tags = new ArrayList<TagsItem>();
for (int i = 0; i < _ctx.lengthValue("CreateGrafanaWorkspaceResponse.Data.tags.Length"); i++) {
TagsItem tagsItem = new TagsItem();
tagsItem.setKey(_ctx.stringValue("CreateGrafanaWorkspaceResponse.Data.tags["+ i +"].key"));
tagsItem.setValue(_ctx.stringValue("CreateGrafanaWorkspaceResponse.Data.tags["+ i +"].value"));
tags.add(tagsItem);
}
data.setTags(tags);
createGrafanaWorkspaceResponse.setData(data);
return createGrafanaWorkspaceResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/CreateIntegrationResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import com.aliyuncs.arms.model.v20190808.CreateIntegrationResponse;
import com.aliyuncs.arms.model.v20190808.CreateIntegrationResponse.Integration;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateIntegrationResponseUnmarshaller {
public static CreateIntegrationResponse unmarshall(CreateIntegrationResponse createIntegrationResponse, UnmarshallerContext _ctx) {
createIntegrationResponse.setRequestId(_ctx.stringValue("CreateIntegrationResponse.RequestId"));
Integration integration = new Integration();
integration.setIntegrationId(_ctx.longValue("CreateIntegrationResponse.Integration.IntegrationId"));
integration.setIntegrationName(_ctx.stringValue("CreateIntegrationResponse.Integration.IntegrationName"));
integration.setIntegrationProductType(_ctx.stringValue("CreateIntegrationResponse.Integration.IntegrationProductType"));
integration.setDescription(_ctx.stringValue("CreateIntegrationResponse.Integration.Description"));
integration.setAutoRecover(_ctx.booleanValue("CreateIntegrationResponse.Integration.AutoRecover"));
integration.setRecoverTime(_ctx.longValue("CreateIntegrationResponse.Integration.RecoverTime"));
createIntegrationResponse.setIntegration(integration);
return createIntegrationResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/CreateOrUpdateAlertRuleResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.arms.model.v20190808.CreateOrUpdateAlertRuleResponse;
import com.aliyuncs.arms.model.v20190808.CreateOrUpdateAlertRuleResponse.AlertRule;
import com.aliyuncs.arms.model.v20190808.CreateOrUpdateAlertRuleResponse.AlertRule.AlertRuleContent;
import com.aliyuncs.arms.model.v20190808.CreateOrUpdateAlertRuleResponse.AlertRule.AlertRuleContent.AlertRuleItemsItem;
import com.aliyuncs.arms.model.v20190808.CreateOrUpdateAlertRuleResponse.AlertRule.AnnotationsItem;
import com.aliyuncs.arms.model.v20190808.CreateOrUpdateAlertRuleResponse.AlertRule.Filters;
import com.aliyuncs.arms.model.v20190808.CreateOrUpdateAlertRuleResponse.AlertRule.Filters.CustomSLSFiltersItem;
import com.aliyuncs.arms.model.v20190808.CreateOrUpdateAlertRuleResponse.AlertRule.Filters.DimFiltersItem;
import com.aliyuncs.arms.model.v20190808.CreateOrUpdateAlertRuleResponse.AlertRule.LabelsItem;
import com.aliyuncs.arms.model.v20190808.CreateOrUpdateAlertRuleResponse.AlertRule.Tag;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateOrUpdateAlertRuleResponseUnmarshaller {
public static CreateOrUpdateAlertRuleResponse unmarshall(CreateOrUpdateAlertRuleResponse createOrUpdateAlertRuleResponse, UnmarshallerContext _ctx) {
createOrUpdateAlertRuleResponse.setRequestId(_ctx.stringValue("CreateOrUpdateAlertRuleResponse.RequestId"));
AlertRule alertRule = new AlertRule();
alertRule.setAlertId(_ctx.longValue("CreateOrUpdateAlertRuleResponse.AlertRule.AlertId"));
alertRule.setAlertName(_ctx.stringValue("CreateOrUpdateAlertRuleResponse.AlertRule.AlertName"));
alertRule.setUserId(_ctx.stringValue("CreateOrUpdateAlertRuleResponse.AlertRule.UserId"));
alertRule.setRegionId(_ctx.stringValue("CreateOrUpdateAlertRuleResponse.AlertRule.RegionId"));
alertRule.setAlertType(_ctx.stringValue("CreateOrUpdateAlertRuleResponse.AlertRule.AlertType"));
alertRule.setAlertStatus(_ctx.stringValue("CreateOrUpdateAlertRuleResponse.AlertRule.AlertStatus"));
alertRule.setCreatedTime(_ctx.longValue("CreateOrUpdateAlertRuleResponse.AlertRule.CreatedTime"));
alertRule.setUpdatedTime(_ctx.longValue("CreateOrUpdateAlertRuleResponse.AlertRule.UpdatedTime"));
alertRule.setExtend(_ctx.stringValue("CreateOrUpdateAlertRuleResponse.AlertRule.Extend"));
alertRule.setNotifyStrategy(_ctx.stringValue("CreateOrUpdateAlertRuleResponse.AlertRule.NotifyStrategy"));
alertRule.setAutoAddNewApplication(_ctx.booleanValue("CreateOrUpdateAlertRuleResponse.AlertRule.AutoAddNewApplication"));
alertRule.setMetricsType(_ctx.stringValue("CreateOrUpdateAlertRuleResponse.AlertRule.MetricsType"));
alertRule.setAlertCheckType(_ctx.stringValue("CreateOrUpdateAlertRuleResponse.AlertRule.AlertCheckType"));
alertRule.setClusterId(_ctx.stringValue("CreateOrUpdateAlertRuleResponse.AlertRule.ClusterId"));
alertRule.setAlertGroup(_ctx.longValue("CreateOrUpdateAlertRuleResponse.AlertRule.AlertGroup"));
alertRule.setPromQL(_ctx.stringValue("CreateOrUpdateAlertRuleResponse.AlertRule.PromQL"));
alertRule.setDuration(_ctx.stringValue("CreateOrUpdateAlertRuleResponse.AlertRule.Duration"));
alertRule.setLevel(_ctx.stringValue("CreateOrUpdateAlertRuleResponse.AlertRule.Level"));
alertRule.setMessage(_ctx.stringValue("CreateOrUpdateAlertRuleResponse.AlertRule.Message"));
alertRule.setNotifyMode(_ctx.stringValue("CreateOrUpdateAlertRuleResponse.AlertRule.NotifyMode"));
List<String> pids = new ArrayList<String>();
for (int i = 0; i < _ctx.lengthValue("CreateOrUpdateAlertRuleResponse.AlertRule.Pids.Length"); i++) {
pids.add(_ctx.stringValue("CreateOrUpdateAlertRuleResponse.AlertRule.Pids["+ i +"]"));
}
alertRule.setPids(pids);
AlertRuleContent alertRuleContent = new AlertRuleContent();
alertRuleContent.setCondition(_ctx.stringValue("CreateOrUpdateAlertRuleResponse.AlertRule.AlertRuleContent.Condition"));
List<AlertRuleItemsItem> alertRuleItems = new ArrayList<AlertRuleItemsItem>();
for (int i = 0; i < _ctx.lengthValue("CreateOrUpdateAlertRuleResponse.AlertRule.AlertRuleContent.AlertRuleItems.Length"); i++) {
AlertRuleItemsItem alertRuleItemsItem = new AlertRuleItemsItem();
alertRuleItemsItem.setN(_ctx.floatValue("CreateOrUpdateAlertRuleResponse.AlertRule.AlertRuleContent.AlertRuleItems["+ i +"].N"));
alertRuleItemsItem.setMetricKey(_ctx.stringValue("CreateOrUpdateAlertRuleResponse.AlertRule.AlertRuleContent.AlertRuleItems["+ i +"].MetricKey"));
alertRuleItemsItem.setAggregate(_ctx.stringValue("CreateOrUpdateAlertRuleResponse.AlertRule.AlertRuleContent.AlertRuleItems["+ i +"].Aggregate"));
alertRuleItemsItem.setOperator(_ctx.stringValue("CreateOrUpdateAlertRuleResponse.AlertRule.AlertRuleContent.AlertRuleItems["+ i +"].Operator"));
alertRuleItemsItem.setValue(_ctx.stringValue("CreateOrUpdateAlertRuleResponse.AlertRule.AlertRuleContent.AlertRuleItems["+ i +"].Value"));
alertRuleItems.add(alertRuleItemsItem);
}
alertRuleContent.setAlertRuleItems(alertRuleItems);
alertRule.setAlertRuleContent(alertRuleContent);
Filters filters = new Filters();
List<String> customSLSGroupByDimensions = new ArrayList<String>();
for (int i = 0; i < _ctx.lengthValue("CreateOrUpdateAlertRuleResponse.AlertRule.Filters.CustomSLSGroupByDimensions.Length"); i++) {
customSLSGroupByDimensions.add(_ctx.stringValue("CreateOrUpdateAlertRuleResponse.AlertRule.Filters.CustomSLSGroupByDimensions["+ i +"]"));
}
filters.setCustomSLSGroupByDimensions(customSLSGroupByDimensions);
List<String> customSLSWheres = new ArrayList<String>();
for (int i = 0; i < _ctx.lengthValue("CreateOrUpdateAlertRuleResponse.AlertRule.Filters.CustomSLSWheres.Length"); i++) {
customSLSWheres.add(_ctx.stringValue("CreateOrUpdateAlertRuleResponse.AlertRule.Filters.CustomSLSWheres["+ i +"]"));
}
filters.setCustomSLSWheres(customSLSWheres);
List<DimFiltersItem> dimFilters = new ArrayList<DimFiltersItem>();
for (int i = 0; i < _ctx.lengthValue("CreateOrUpdateAlertRuleResponse.AlertRule.Filters.DimFilters.Length"); i++) {
DimFiltersItem dimFiltersItem = new DimFiltersItem();
dimFiltersItem.setFilterKey(_ctx.stringValue("CreateOrUpdateAlertRuleResponse.AlertRule.Filters.DimFilters["+ i +"].FilterKey"));
dimFiltersItem.setFilterOpt(_ctx.stringValue("CreateOrUpdateAlertRuleResponse.AlertRule.Filters.DimFilters["+ i +"].FilterOpt"));
List<String> filterValues = new ArrayList<String>();
for (int j = 0; j < _ctx.lengthValue("CreateOrUpdateAlertRuleResponse.AlertRule.Filters.DimFilters["+ i +"].FilterValues.Length"); j++) {
filterValues.add(_ctx.stringValue("CreateOrUpdateAlertRuleResponse.AlertRule.Filters.DimFilters["+ i +"].FilterValues["+ j +"]"));
}
dimFiltersItem.setFilterValues(filterValues);
dimFilters.add(dimFiltersItem);
}
filters.setDimFilters(dimFilters);
List<CustomSLSFiltersItem> customSLSFilters = new ArrayList<CustomSLSFiltersItem>();
for (int i = 0; i < _ctx.lengthValue("CreateOrUpdateAlertRuleResponse.AlertRule.Filters.CustomSLSFilters.Length"); i++) {
CustomSLSFiltersItem customSLSFiltersItem = new CustomSLSFiltersItem();
customSLSFiltersItem.setKey(_ctx.stringValue("CreateOrUpdateAlertRuleResponse.AlertRule.Filters.CustomSLSFilters["+ i +"].Key"));
customSLSFiltersItem.setOpt(_ctx.stringValue("CreateOrUpdateAlertRuleResponse.AlertRule.Filters.CustomSLSFilters["+ i +"].Opt"));
customSLSFiltersItem.setValue(_ctx.stringValue("CreateOrUpdateAlertRuleResponse.AlertRule.Filters.CustomSLSFilters["+ i +"].Value"));
customSLSFiltersItem.setT(_ctx.stringValue("CreateOrUpdateAlertRuleResponse.AlertRule.Filters.CustomSLSFilters["+ i +"].T"));
customSLSFiltersItem.setShow(_ctx.booleanValue("CreateOrUpdateAlertRuleResponse.AlertRule.Filters.CustomSLSFilters["+ i +"].Show"));
customSLSFilters.add(customSLSFiltersItem);
}
filters.setCustomSLSFilters(customSLSFilters);
alertRule.setFilters(filters);
List<LabelsItem> labels = new ArrayList<LabelsItem>();
for (int i = 0; i < _ctx.lengthValue("CreateOrUpdateAlertRuleResponse.AlertRule.Labels.Length"); i++) {
LabelsItem labelsItem = new LabelsItem();
labelsItem.setName(_ctx.stringValue("CreateOrUpdateAlertRuleResponse.AlertRule.Labels["+ i +"].Name"));
labelsItem.setValue(_ctx.stringValue("CreateOrUpdateAlertRuleResponse.AlertRule.Labels["+ i +"].Value"));
labels.add(labelsItem);
}
alertRule.setLabels(labels);
List<AnnotationsItem> annotations = new ArrayList<AnnotationsItem>();
for (int i = 0; i < _ctx.lengthValue("CreateOrUpdateAlertRuleResponse.AlertRule.Annotations.Length"); i++) {
AnnotationsItem annotationsItem = new AnnotationsItem();
annotationsItem.setName(_ctx.stringValue("CreateOrUpdateAlertRuleResponse.AlertRule.Annotations["+ i +"].Name"));
annotationsItem.setValue(_ctx.stringValue("CreateOrUpdateAlertRuleResponse.AlertRule.Annotations["+ i +"].Value"));
annotations.add(annotationsItem);
}
alertRule.setAnnotations(annotations);
List<Tag> tags = new ArrayList<Tag>();
for (int i = 0; i < _ctx.lengthValue("CreateOrUpdateAlertRuleResponse.AlertRule.Tags.Length"); i++) {
Tag tag = new Tag();
tag.setKey(_ctx.stringValue("CreateOrUpdateAlertRuleResponse.AlertRule.Tags["+ i +"].Key"));
tag.setValue(_ctx.stringValue("CreateOrUpdateAlertRuleResponse.AlertRule.Tags["+ i +"].Value"));
tags.add(tag);
}
alertRule.setTags(tags);
createOrUpdateAlertRuleResponse.setAlertRule(alertRule);
return createOrUpdateAlertRuleResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/CreateOrUpdateContactGroupResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import com.aliyuncs.arms.model.v20190808.CreateOrUpdateContactGroupResponse;
import com.aliyuncs.arms.model.v20190808.CreateOrUpdateContactGroupResponse.AlertContactGroup;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateOrUpdateContactGroupResponseUnmarshaller {
public static CreateOrUpdateContactGroupResponse unmarshall(CreateOrUpdateContactGroupResponse createOrUpdateContactGroupResponse, UnmarshallerContext _ctx) {
createOrUpdateContactGroupResponse.setRequestId(_ctx.stringValue("CreateOrUpdateContactGroupResponse.RequestId"));
AlertContactGroup alertContactGroup = new AlertContactGroup();
alertContactGroup.setContactGroupId(_ctx.floatValue("CreateOrUpdateContactGroupResponse.AlertContactGroup.ContactGroupId"));
alertContactGroup.setContactGroupName(_ctx.stringValue("CreateOrUpdateContactGroupResponse.AlertContactGroup.ContactGroupName"));
alertContactGroup.setContactIds(_ctx.stringValue("CreateOrUpdateContactGroupResponse.AlertContactGroup.ContactIds"));
createOrUpdateContactGroupResponse.setAlertContactGroup(alertContactGroup);
return createOrUpdateContactGroupResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/CreateOrUpdateContactResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import com.aliyuncs.arms.model.v20190808.CreateOrUpdateContactResponse;
import com.aliyuncs.arms.model.v20190808.CreateOrUpdateContactResponse.AlertContact;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateOrUpdateContactResponseUnmarshaller {
public static CreateOrUpdateContactResponse unmarshall(CreateOrUpdateContactResponse createOrUpdateContactResponse, UnmarshallerContext _ctx) {
createOrUpdateContactResponse.setRequestId(_ctx.stringValue("CreateOrUpdateContactResponse.RequestId"));
AlertContact alertContact = new AlertContact();
alertContact.setContactId(_ctx.floatValue("CreateOrUpdateContactResponse.AlertContact.ContactId"));
alertContact.setContactName(_ctx.stringValue("CreateOrUpdateContactResponse.AlertContact.ContactName"));
alertContact.setPhone(_ctx.stringValue("CreateOrUpdateContactResponse.AlertContact.Phone"));
alertContact.setEmail(_ctx.stringValue("CreateOrUpdateContactResponse.AlertContact.Email"));
alertContact.setIsVerify(_ctx.booleanValue("CreateOrUpdateContactResponse.AlertContact.IsVerify"));
alertContact.setReissueSendNotice(_ctx.longValue("CreateOrUpdateContactResponse.AlertContact.ReissueSendNotice"));
alertContact.setIsEmailVerify(_ctx.booleanValue("CreateOrUpdateContactResponse.AlertContact.isEmailVerify"));
alertContact.setDingRobotUrl(_ctx.stringValue("CreateOrUpdateContactResponse.AlertContact.DingRobotUrl"));
createOrUpdateContactResponse.setAlertContact(alertContact);
return createOrUpdateContactResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/CreateOrUpdateEventBridgeIntegrationResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import com.aliyuncs.arms.model.v20190808.CreateOrUpdateEventBridgeIntegrationResponse;
import com.aliyuncs.arms.model.v20190808.CreateOrUpdateEventBridgeIntegrationResponse.EventBridgeIntegration;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateOrUpdateEventBridgeIntegrationResponseUnmarshaller {
public static CreateOrUpdateEventBridgeIntegrationResponse unmarshall(CreateOrUpdateEventBridgeIntegrationResponse createOrUpdateEventBridgeIntegrationResponse, UnmarshallerContext _ctx) {
createOrUpdateEventBridgeIntegrationResponse.setRequestId(_ctx.stringValue("CreateOrUpdateEventBridgeIntegrationResponse.RequestId"));
EventBridgeIntegration eventBridgeIntegration = new EventBridgeIntegration();
eventBridgeIntegration.setId(_ctx.longValue("CreateOrUpdateEventBridgeIntegrationResponse.EventBridgeIntegration.Id"));
eventBridgeIntegration.setName(_ctx.stringValue("CreateOrUpdateEventBridgeIntegrationResponse.EventBridgeIntegration.Name"));
eventBridgeIntegration.setDescription(_ctx.stringValue("CreateOrUpdateEventBridgeIntegrationResponse.EventBridgeIntegration.Description"));
eventBridgeIntegration.setEndpoint(_ctx.stringValue("CreateOrUpdateEventBridgeIntegrationResponse.EventBridgeIntegration.Endpoint"));
eventBridgeIntegration.setAccessKey(_ctx.stringValue("CreateOrUpdateEventBridgeIntegrationResponse.EventBridgeIntegration.AccessKey"));
eventBridgeIntegration.setAccessSecret(_ctx.stringValue("CreateOrUpdateEventBridgeIntegrationResponse.EventBridgeIntegration.AccessSecret"));
eventBridgeIntegration.setEventBusName(_ctx.stringValue("CreateOrUpdateEventBridgeIntegrationResponse.EventBridgeIntegration.EventBusName"));
eventBridgeIntegration.setSource(_ctx.stringValue("CreateOrUpdateEventBridgeIntegrationResponse.EventBridgeIntegration.Source"));
eventBridgeIntegration.setEventBusRegionId(_ctx.stringValue("CreateOrUpdateEventBridgeIntegrationResponse.EventBridgeIntegration.EventBusRegionId"));
createOrUpdateEventBridgeIntegrationResponse.setEventBridgeIntegration(eventBridgeIntegration);
return createOrUpdateEventBridgeIntegrationResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/CreateOrUpdateIMRobotResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import com.aliyuncs.arms.model.v20190808.CreateOrUpdateIMRobotResponse;
import com.aliyuncs.arms.model.v20190808.CreateOrUpdateIMRobotResponse.AlertRobot;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateOrUpdateIMRobotResponseUnmarshaller {
public static CreateOrUpdateIMRobotResponse unmarshall(CreateOrUpdateIMRobotResponse createOrUpdateIMRobotResponse, UnmarshallerContext _ctx) {
createOrUpdateIMRobotResponse.setRequestId(_ctx.stringValue("CreateOrUpdateIMRobotResponse.RequestId"));
AlertRobot alertRobot = new AlertRobot();
alertRobot.setRobotId(_ctx.floatValue("CreateOrUpdateIMRobotResponse.AlertRobot.RobotId"));
alertRobot.setRobotName(_ctx.stringValue("CreateOrUpdateIMRobotResponse.AlertRobot.RobotName"));
alertRobot.setType(_ctx.stringValue("CreateOrUpdateIMRobotResponse.AlertRobot.Type"));
alertRobot.setRobotAddress(_ctx.stringValue("CreateOrUpdateIMRobotResponse.AlertRobot.RobotAddress"));
alertRobot.setDailyNoc(_ctx.booleanValue("CreateOrUpdateIMRobotResponse.AlertRobot.DailyNoc"));
alertRobot.setDailyNocTime(_ctx.stringValue("CreateOrUpdateIMRobotResponse.AlertRobot.DailyNocTime"));
alertRobot.setToken(_ctx.stringValue("CreateOrUpdateIMRobotResponse.AlertRobot.Token"));
alertRobot.setEnableOutgoing(_ctx.booleanValue("CreateOrUpdateIMRobotResponse.AlertRobot.EnableOutgoing"));
alertRobot.setCardTemplate(_ctx.stringValue("CreateOrUpdateIMRobotResponse.AlertRobot.CardTemplate"));
createOrUpdateIMRobotResponse.setAlertRobot(alertRobot);
return createOrUpdateIMRobotResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/CreateOrUpdateNotificationPolicyResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.arms.model.v20190808.CreateOrUpdateNotificationPolicyResponse;
import com.aliyuncs.arms.model.v20190808.CreateOrUpdateNotificationPolicyResponse.NotificationPolicy;
import com.aliyuncs.arms.model.v20190808.CreateOrUpdateNotificationPolicyResponse.NotificationPolicy.GroupRule;
import com.aliyuncs.arms.model.v20190808.CreateOrUpdateNotificationPolicyResponse.NotificationPolicy.MatchingRulesItem;
import com.aliyuncs.arms.model.v20190808.CreateOrUpdateNotificationPolicyResponse.NotificationPolicy.MatchingRulesItem.MatchingConditionsItem;
import com.aliyuncs.arms.model.v20190808.CreateOrUpdateNotificationPolicyResponse.NotificationPolicy.NotifyRule;
import com.aliyuncs.arms.model.v20190808.CreateOrUpdateNotificationPolicyResponse.NotificationPolicy.NotifyRule.NotifyObjectsItem;
import com.aliyuncs.arms.model.v20190808.CreateOrUpdateNotificationPolicyResponse.NotificationPolicy.NotifyTemplate;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateOrUpdateNotificationPolicyResponseUnmarshaller {
public static CreateOrUpdateNotificationPolicyResponse unmarshall(CreateOrUpdateNotificationPolicyResponse createOrUpdateNotificationPolicyResponse, UnmarshallerContext _ctx) {
createOrUpdateNotificationPolicyResponse.setRequestId(_ctx.stringValue("CreateOrUpdateNotificationPolicyResponse.RequestId"));
NotificationPolicy notificationPolicy = new NotificationPolicy();
notificationPolicy.setId(_ctx.longValue("CreateOrUpdateNotificationPolicyResponse.NotificationPolicy.Id"));
notificationPolicy.setName(_ctx.stringValue("CreateOrUpdateNotificationPolicyResponse.NotificationPolicy.Name"));
notificationPolicy.setSendRecoverMessage(_ctx.booleanValue("CreateOrUpdateNotificationPolicyResponse.NotificationPolicy.SendRecoverMessage"));
notificationPolicy.setEscalationPolicyId(_ctx.longValue("CreateOrUpdateNotificationPolicyResponse.NotificationPolicy.EscalationPolicyId"));
notificationPolicy.setRepeat(_ctx.booleanValue("CreateOrUpdateNotificationPolicyResponse.NotificationPolicy.Repeat"));
notificationPolicy.setRepeatInterval(_ctx.longValue("CreateOrUpdateNotificationPolicyResponse.NotificationPolicy.RepeatInterval"));
notificationPolicy.setIntegrationId(_ctx.longValue("CreateOrUpdateNotificationPolicyResponse.NotificationPolicy.IntegrationId"));
notificationPolicy.setDirectedMode(_ctx.booleanValue("CreateOrUpdateNotificationPolicyResponse.NotificationPolicy.DirectedMode"));
notificationPolicy.setState(_ctx.stringValue("CreateOrUpdateNotificationPolicyResponse.NotificationPolicy.State"));
GroupRule groupRule = new GroupRule();
groupRule.setGroupWait(_ctx.longValue("CreateOrUpdateNotificationPolicyResponse.NotificationPolicy.GroupRule.GroupWait"));
groupRule.setGroupInterval(_ctx.longValue("CreateOrUpdateNotificationPolicyResponse.NotificationPolicy.GroupRule.GroupInterval"));
List<String> groupingFields = new ArrayList<String>();
for (int i = 0; i < _ctx.lengthValue("CreateOrUpdateNotificationPolicyResponse.NotificationPolicy.GroupRule.GroupingFields.Length"); i++) {
groupingFields.add(_ctx.stringValue("CreateOrUpdateNotificationPolicyResponse.NotificationPolicy.GroupRule.GroupingFields["+ i +"]"));
}
groupRule.setGroupingFields(groupingFields);
notificationPolicy.setGroupRule(groupRule);
NotifyRule notifyRule = new NotifyRule();
notifyRule.setNotifyStartTime(_ctx.stringValue("CreateOrUpdateNotificationPolicyResponse.NotificationPolicy.NotifyRule.NotifyStartTime"));
notifyRule.setNotifyEndTime(_ctx.stringValue("CreateOrUpdateNotificationPolicyResponse.NotificationPolicy.NotifyRule.NotifyEndTime"));
List<String> notifyChannels = new ArrayList<String>();
for (int i = 0; i < _ctx.lengthValue("CreateOrUpdateNotificationPolicyResponse.NotificationPolicy.NotifyRule.NotifyChannels.Length"); i++) {
notifyChannels.add(_ctx.stringValue("CreateOrUpdateNotificationPolicyResponse.NotificationPolicy.NotifyRule.NotifyChannels["+ i +"]"));
}
notifyRule.setNotifyChannels(notifyChannels);
List<NotifyObjectsItem> notifyObjects = new ArrayList<NotifyObjectsItem>();
for (int i = 0; i < _ctx.lengthValue("CreateOrUpdateNotificationPolicyResponse.NotificationPolicy.NotifyRule.NotifyObjects.Length"); i++) {
NotifyObjectsItem notifyObjectsItem = new NotifyObjectsItem();
notifyObjectsItem.setNotifyObjectType(_ctx.stringValue("CreateOrUpdateNotificationPolicyResponse.NotificationPolicy.NotifyRule.NotifyObjects["+ i +"].NotifyObjectType"));
notifyObjectsItem.setNotifyObjectId(_ctx.longValue("CreateOrUpdateNotificationPolicyResponse.NotificationPolicy.NotifyRule.NotifyObjects["+ i +"].NotifyObjectId"));
notifyObjectsItem.setNotifyObjectName(_ctx.stringValue("CreateOrUpdateNotificationPolicyResponse.NotificationPolicy.NotifyRule.NotifyObjects["+ i +"].NotifyObjectName"));
List<String> notifyChannels1 = new ArrayList<String>();
for (int j = 0; j < _ctx.lengthValue("CreateOrUpdateNotificationPolicyResponse.NotificationPolicy.NotifyRule.NotifyObjects["+ i +"].NotifyChannels.Length"); j++) {
notifyChannels1.add(_ctx.stringValue("CreateOrUpdateNotificationPolicyResponse.NotificationPolicy.NotifyRule.NotifyObjects["+ i +"].NotifyChannels["+ j +"]"));
}
notifyObjectsItem.setNotifyChannels1(notifyChannels1);
notifyObjects.add(notifyObjectsItem);
}
notifyRule.setNotifyObjects(notifyObjects);
notificationPolicy.setNotifyRule(notifyRule);
NotifyTemplate notifyTemplate = new NotifyTemplate();
notifyTemplate.setEmailTitle(_ctx.stringValue("CreateOrUpdateNotificationPolicyResponse.NotificationPolicy.NotifyTemplate.EmailTitle"));
notifyTemplate.setEmailContent(_ctx.stringValue("CreateOrUpdateNotificationPolicyResponse.NotificationPolicy.NotifyTemplate.EmailContent"));
notifyTemplate.setEmailRecoverTitle(_ctx.stringValue("CreateOrUpdateNotificationPolicyResponse.NotificationPolicy.NotifyTemplate.EmailRecoverTitle"));
notifyTemplate.setEmailRecoverContent(_ctx.stringValue("CreateOrUpdateNotificationPolicyResponse.NotificationPolicy.NotifyTemplate.EmailRecoverContent"));
notifyTemplate.setSmsContent(_ctx.stringValue("CreateOrUpdateNotificationPolicyResponse.NotificationPolicy.NotifyTemplate.SmsContent"));
notifyTemplate.setSmsRecoverContent(_ctx.stringValue("CreateOrUpdateNotificationPolicyResponse.NotificationPolicy.NotifyTemplate.SmsRecoverContent"));
notifyTemplate.setTtsContent(_ctx.stringValue("CreateOrUpdateNotificationPolicyResponse.NotificationPolicy.NotifyTemplate.TtsContent"));
notifyTemplate.setTtsRecoverContent(_ctx.stringValue("CreateOrUpdateNotificationPolicyResponse.NotificationPolicy.NotifyTemplate.TtsRecoverContent"));
notifyTemplate.setRobotContent(_ctx.stringValue("CreateOrUpdateNotificationPolicyResponse.NotificationPolicy.NotifyTemplate.RobotContent"));
notificationPolicy.setNotifyTemplate(notifyTemplate);
List<MatchingRulesItem> matchingRules = new ArrayList<MatchingRulesItem>();
for (int i = 0; i < _ctx.lengthValue("CreateOrUpdateNotificationPolicyResponse.NotificationPolicy.MatchingRules.Length"); i++) {
MatchingRulesItem matchingRulesItem = new MatchingRulesItem();
List<MatchingConditionsItem> matchingConditions = new ArrayList<MatchingConditionsItem>();
for (int j = 0; j < _ctx.lengthValue("CreateOrUpdateNotificationPolicyResponse.NotificationPolicy.MatchingRules["+ i +"].MatchingConditions.Length"); j++) {
MatchingConditionsItem matchingConditionsItem = new MatchingConditionsItem();
matchingConditionsItem.setKey(_ctx.stringValue("CreateOrUpdateNotificationPolicyResponse.NotificationPolicy.MatchingRules["+ i +"].MatchingConditions["+ j +"].Key"));
matchingConditionsItem.setValue(_ctx.stringValue("CreateOrUpdateNotificationPolicyResponse.NotificationPolicy.MatchingRules["+ i +"].MatchingConditions["+ j +"].Value"));
matchingConditionsItem.setOperator(_ctx.stringValue("CreateOrUpdateNotificationPolicyResponse.NotificationPolicy.MatchingRules["+ i +"].MatchingConditions["+ j +"].Operator"));
matchingConditions.add(matchingConditionsItem);
}
matchingRulesItem.setMatchingConditions(matchingConditions);
matchingRules.add(matchingRulesItem);
}
notificationPolicy.setMatchingRules(matchingRules);
createOrUpdateNotificationPolicyResponse.setNotificationPolicy(notificationPolicy);
return createOrUpdateNotificationPolicyResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/CreateOrUpdateSilencePolicyResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.arms.model.v20190808.CreateOrUpdateSilencePolicyResponse;
import com.aliyuncs.arms.model.v20190808.CreateOrUpdateSilencePolicyResponse.SilencePolicy;
import com.aliyuncs.arms.model.v20190808.CreateOrUpdateSilencePolicyResponse.SilencePolicy.MatchingRulesItem;
import com.aliyuncs.arms.model.v20190808.CreateOrUpdateSilencePolicyResponse.SilencePolicy.MatchingRulesItem.MatchingConditionsItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateOrUpdateSilencePolicyResponseUnmarshaller {
public static CreateOrUpdateSilencePolicyResponse unmarshall(CreateOrUpdateSilencePolicyResponse createOrUpdateSilencePolicyResponse, UnmarshallerContext _ctx) {
createOrUpdateSilencePolicyResponse.setRequestId(_ctx.stringValue("CreateOrUpdateSilencePolicyResponse.RequestId"));
SilencePolicy silencePolicy = new SilencePolicy();
silencePolicy.setId(_ctx.longValue("CreateOrUpdateSilencePolicyResponse.SilencePolicy.Id"));
silencePolicy.setName(_ctx.stringValue("CreateOrUpdateSilencePolicyResponse.SilencePolicy.Name"));
silencePolicy.setState(_ctx.stringValue("CreateOrUpdateSilencePolicyResponse.SilencePolicy.State"));
silencePolicy.setEffectiveTimeType(_ctx.stringValue("CreateOrUpdateSilencePolicyResponse.SilencePolicy.EffectiveTimeType"));
silencePolicy.setTimePeriod(_ctx.stringValue("CreateOrUpdateSilencePolicyResponse.SilencePolicy.TimePeriod"));
silencePolicy.setTimeSlots(_ctx.stringValue("CreateOrUpdateSilencePolicyResponse.SilencePolicy.TimeSlots"));
List<MatchingRulesItem> matchingRules = new ArrayList<MatchingRulesItem>();
for (int i = 0; i < _ctx.lengthValue("CreateOrUpdateSilencePolicyResponse.SilencePolicy.MatchingRules.Length"); i++) {
MatchingRulesItem matchingRulesItem = new MatchingRulesItem();
List<MatchingConditionsItem> matchingConditions = new ArrayList<MatchingConditionsItem>();
for (int j = 0; j < _ctx.lengthValue("CreateOrUpdateSilencePolicyResponse.SilencePolicy.MatchingRules["+ i +"].MatchingConditions.Length"); j++) {
MatchingConditionsItem matchingConditionsItem = new MatchingConditionsItem();
matchingConditionsItem.setKey(_ctx.stringValue("CreateOrUpdateSilencePolicyResponse.SilencePolicy.MatchingRules["+ i +"].MatchingConditions["+ j +"].Key"));
matchingConditionsItem.setValue(_ctx.stringValue("CreateOrUpdateSilencePolicyResponse.SilencePolicy.MatchingRules["+ i +"].MatchingConditions["+ j +"].Value"));
matchingConditionsItem.setOperator(_ctx.stringValue("CreateOrUpdateSilencePolicyResponse.SilencePolicy.MatchingRules["+ i +"].MatchingConditions["+ j +"].Operator"));
matchingConditions.add(matchingConditionsItem);
}
matchingRulesItem.setMatchingConditions(matchingConditions);
matchingRules.add(matchingRulesItem);
}
silencePolicy.setMatchingRules(matchingRules);
createOrUpdateSilencePolicyResponse.setSilencePolicy(silencePolicy);
return createOrUpdateSilencePolicyResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/CreateOrUpdateWebhookContactResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import com.aliyuncs.arms.model.v20190808.CreateOrUpdateWebhookContactResponse;
import com.aliyuncs.arms.model.v20190808.CreateOrUpdateWebhookContactResponse.WebhookContact;
import com.aliyuncs.arms.model.v20190808.CreateOrUpdateWebhookContactResponse.WebhookContact.Webhook;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateOrUpdateWebhookContactResponseUnmarshaller {
public static CreateOrUpdateWebhookContactResponse unmarshall(CreateOrUpdateWebhookContactResponse createOrUpdateWebhookContactResponse, UnmarshallerContext _ctx) {
createOrUpdateWebhookContactResponse.setRequestId(_ctx.stringValue("CreateOrUpdateWebhookContactResponse.RequestId"));
WebhookContact webhookContact = new WebhookContact();
webhookContact.setWebhookId(_ctx.floatValue("CreateOrUpdateWebhookContactResponse.WebhookContact.WebhookId"));
webhookContact.setWebhookName(_ctx.stringValue("CreateOrUpdateWebhookContactResponse.WebhookContact.WebhookName"));
Webhook webhook = new Webhook();
webhook.setBizMethod(_ctx.stringValue("CreateOrUpdateWebhookContactResponse.WebhookContact.Webhook.Method"));
webhook.setUrl(_ctx.stringValue("CreateOrUpdateWebhookContactResponse.WebhookContact.Webhook.Url"));
webhook.setBizHeaders(_ctx.stringValue("CreateOrUpdateWebhookContactResponse.WebhookContact.Webhook.BizHeaders"));
webhook.setBizParams(_ctx.stringValue("CreateOrUpdateWebhookContactResponse.WebhookContact.Webhook.BizParams"));
webhook.setBody(_ctx.stringValue("CreateOrUpdateWebhookContactResponse.WebhookContact.Webhook.Body"));
webhook.setRecoverBody(_ctx.stringValue("CreateOrUpdateWebhookContactResponse.WebhookContact.Webhook.RecoverBody"));
webhookContact.setWebhook(webhook);
createOrUpdateWebhookContactResponse.setWebhookContact(webhookContact);
return createOrUpdateWebhookContactResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/CreatePrometheusAlertRuleResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.arms.model.v20190808.CreatePrometheusAlertRuleResponse;
import com.aliyuncs.arms.model.v20190808.CreatePrometheusAlertRuleResponse.PrometheusAlertRule;
import com.aliyuncs.arms.model.v20190808.CreatePrometheusAlertRuleResponse.PrometheusAlertRule.Annotation;
import com.aliyuncs.arms.model.v20190808.CreatePrometheusAlertRuleResponse.PrometheusAlertRule.Label;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreatePrometheusAlertRuleResponseUnmarshaller {
public static CreatePrometheusAlertRuleResponse unmarshall(CreatePrometheusAlertRuleResponse createPrometheusAlertRuleResponse, UnmarshallerContext _ctx) {
createPrometheusAlertRuleResponse.setRequestId(_ctx.stringValue("CreatePrometheusAlertRuleResponse.RequestId"));
createPrometheusAlertRuleResponse.setCode(_ctx.longValue("CreatePrometheusAlertRuleResponse.Code"));
createPrometheusAlertRuleResponse.setSuccess(_ctx.booleanValue("CreatePrometheusAlertRuleResponse.Success"));
createPrometheusAlertRuleResponse.setMessage(_ctx.stringValue("CreatePrometheusAlertRuleResponse.Message"));
PrometheusAlertRule prometheusAlertRule = new PrometheusAlertRule();
prometheusAlertRule.setStatus(_ctx.integerValue("CreatePrometheusAlertRuleResponse.PrometheusAlertRule.Status"));
prometheusAlertRule.setType(_ctx.stringValue("CreatePrometheusAlertRuleResponse.PrometheusAlertRule.Type"));
prometheusAlertRule.setNotifyType(_ctx.stringValue("CreatePrometheusAlertRuleResponse.PrometheusAlertRule.NotifyType"));
prometheusAlertRule.setExpression(_ctx.stringValue("CreatePrometheusAlertRuleResponse.PrometheusAlertRule.Expression"));
prometheusAlertRule.setMessage(_ctx.stringValue("CreatePrometheusAlertRuleResponse.PrometheusAlertRule.Message"));
prometheusAlertRule.setDuration(_ctx.stringValue("CreatePrometheusAlertRuleResponse.PrometheusAlertRule.Duration"));
prometheusAlertRule.setDispatchRuleId(_ctx.longValue("CreatePrometheusAlertRuleResponse.PrometheusAlertRule.DispatchRuleId"));
prometheusAlertRule.setAlertName(_ctx.stringValue("CreatePrometheusAlertRuleResponse.PrometheusAlertRule.AlertName"));
prometheusAlertRule.setAlertId(_ctx.longValue("CreatePrometheusAlertRuleResponse.PrometheusAlertRule.AlertId"));
prometheusAlertRule.setClusterId(_ctx.stringValue("CreatePrometheusAlertRuleResponse.PrometheusAlertRule.ClusterId"));
List<Label> labels = new ArrayList<Label>();
for (int i = 0; i < _ctx.lengthValue("CreatePrometheusAlertRuleResponse.PrometheusAlertRule.Labels.Length"); i++) {
Label label = new Label();
label.setName(_ctx.stringValue("CreatePrometheusAlertRuleResponse.PrometheusAlertRule.Labels["+ i +"].Name"));
label.setValue(_ctx.stringValue("CreatePrometheusAlertRuleResponse.PrometheusAlertRule.Labels["+ i +"].Value"));
labels.add(label);
}
prometheusAlertRule.setLabels(labels);
List<Annotation> annotations = new ArrayList<Annotation>();
for (int i = 0; i < _ctx.lengthValue("CreatePrometheusAlertRuleResponse.PrometheusAlertRule.Annotations.Length"); i++) {
Annotation annotation = new Annotation();
annotation.setName(_ctx.stringValue("CreatePrometheusAlertRuleResponse.PrometheusAlertRule.Annotations["+ i +"].Name"));
annotation.setValue(_ctx.stringValue("CreatePrometheusAlertRuleResponse.PrometheusAlertRule.Annotations["+ i +"].Value"));
annotations.add(annotation);
}
prometheusAlertRule.setAnnotations(annotations);
createPrometheusAlertRuleResponse.setPrometheusAlertRule(prometheusAlertRule);
return createPrometheusAlertRuleResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/CreatePrometheusInstanceResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import com.aliyuncs.arms.model.v20190808.CreatePrometheusInstanceResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreatePrometheusInstanceResponseUnmarshaller {
public static CreatePrometheusInstanceResponse unmarshall(CreatePrometheusInstanceResponse createPrometheusInstanceResponse, UnmarshallerContext _ctx) {
createPrometheusInstanceResponse.setRequestId(_ctx.stringValue("CreatePrometheusInstanceResponse.RequestId"));
createPrometheusInstanceResponse.setData(_ctx.stringValue("CreatePrometheusInstanceResponse.Data"));
createPrometheusInstanceResponse.setMessage(_ctx.stringValue("CreatePrometheusInstanceResponse.Message"));
createPrometheusInstanceResponse.setCode(_ctx.integerValue("CreatePrometheusInstanceResponse.Code"));
return createPrometheusInstanceResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/CreatePrometheusMonitoringResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import com.aliyuncs.arms.model.v20190808.CreatePrometheusMonitoringResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreatePrometheusMonitoringResponseUnmarshaller {
public static CreatePrometheusMonitoringResponse unmarshall(CreatePrometheusMonitoringResponse createPrometheusMonitoringResponse, UnmarshallerContext _ctx) {
createPrometheusMonitoringResponse.setRequestId(_ctx.stringValue("CreatePrometheusMonitoringResponse.RequestId"));
createPrometheusMonitoringResponse.setCode(_ctx.integerValue("CreatePrometheusMonitoringResponse.Code"));
createPrometheusMonitoringResponse.setData(_ctx.stringValue("CreatePrometheusMonitoringResponse.Data"));
createPrometheusMonitoringResponse.setMessage(_ctx.stringValue("CreatePrometheusMonitoringResponse.Message"));
return createPrometheusMonitoringResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/CreateRetcodeAppResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.arms.model.v20190808.CreateRetcodeAppResponse;
import com.aliyuncs.arms.model.v20190808.CreateRetcodeAppResponse.RetcodeAppDataBean;
import com.aliyuncs.arms.model.v20190808.CreateRetcodeAppResponse.RetcodeAppDataBean.TagsItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateRetcodeAppResponseUnmarshaller {
public static CreateRetcodeAppResponse unmarshall(CreateRetcodeAppResponse createRetcodeAppResponse, UnmarshallerContext _ctx) {
createRetcodeAppResponse.setRequestId(_ctx.stringValue("CreateRetcodeAppResponse.RequestId"));
createRetcodeAppResponse.setCode(_ctx.integerValue("CreateRetcodeAppResponse.Code"));
createRetcodeAppResponse.setData(_ctx.stringValue("CreateRetcodeAppResponse.Data"));
createRetcodeAppResponse.setSuccess(_ctx.booleanValue("CreateRetcodeAppResponse.Success"));
createRetcodeAppResponse.setMessage(_ctx.stringValue("CreateRetcodeAppResponse.Message"));
RetcodeAppDataBean retcodeAppDataBean = new RetcodeAppDataBean();
retcodeAppDataBean.setPid(_ctx.stringValue("CreateRetcodeAppResponse.RetcodeAppDataBean.Pid"));
retcodeAppDataBean.setAppId(_ctx.longValue("CreateRetcodeAppResponse.RetcodeAppDataBean.AppId"));
retcodeAppDataBean.setResourceGroupId(_ctx.stringValue("CreateRetcodeAppResponse.RetcodeAppDataBean.ResourceGroupId"));
List<TagsItem> tags = new ArrayList<TagsItem>();
for (int i = 0; i < _ctx.lengthValue("CreateRetcodeAppResponse.RetcodeAppDataBean.Tags.Length"); i++) {
TagsItem tagsItem = new TagsItem();
tagsItem.setKey(_ctx.stringValue("CreateRetcodeAppResponse.RetcodeAppDataBean.Tags["+ i +"].Key"));
tagsItem.setValue(_ctx.stringValue("CreateRetcodeAppResponse.RetcodeAppDataBean.Tags["+ i +"].Value"));
tags.add(tagsItem);
}
retcodeAppDataBean.setTags(tags);
createRetcodeAppResponse.setRetcodeAppDataBean(retcodeAppDataBean);
return createRetcodeAppResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/CreateRumAppResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import com.aliyuncs.arms.model.v20190808.CreateRumAppResponse;
import com.aliyuncs.arms.model.v20190808.CreateRumAppResponse.Data;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateRumAppResponseUnmarshaller {
public static CreateRumAppResponse unmarshall(CreateRumAppResponse createRumAppResponse, UnmarshallerContext _ctx) {
createRumAppResponse.setRequestId(_ctx.stringValue("CreateRumAppResponse.RequestId"));
createRumAppResponse.setCode(_ctx.integerValue("CreateRumAppResponse.Code"));
createRumAppResponse.setSuccess(_ctx.booleanValue("CreateRumAppResponse.Success"));
createRumAppResponse.setMessage(_ctx.stringValue("CreateRumAppResponse.Message"));
createRumAppResponse.setHttpStatusCode(_ctx.integerValue("CreateRumAppResponse.HttpStatusCode"));
createRumAppResponse.setResourceGroupId(_ctx.stringValue("CreateRumAppResponse.ResourceGroupId"));
Data data = new Data();
data.setPid(_ctx.stringValue("CreateRumAppResponse.Data.Pid"));
data.setEndpoint(_ctx.stringValue("CreateRumAppResponse.Data.Endpoint"));
data.setCdnDomain(_ctx.stringValue("CreateRumAppResponse.Data.CdnDomain"));
createRumAppResponse.setData(data);
return createRumAppResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/CreateRumUploadFileUrlResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import com.aliyuncs.arms.model.v20190808.CreateRumUploadFileUrlResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateRumUploadFileUrlResponseUnmarshaller {
public static CreateRumUploadFileUrlResponse unmarshall(CreateRumUploadFileUrlResponse createRumUploadFileUrlResponse, UnmarshallerContext _ctx) {
createRumUploadFileUrlResponse.setRequestId(_ctx.stringValue("CreateRumUploadFileUrlResponse.RequestId"));
createRumUploadFileUrlResponse.setCode(_ctx.integerValue("CreateRumUploadFileUrlResponse.Code"));
createRumUploadFileUrlResponse.setSuccess(_ctx.booleanValue("CreateRumUploadFileUrlResponse.Success"));
createRumUploadFileUrlResponse.setMessage(_ctx.stringValue("CreateRumUploadFileUrlResponse.Message"));
createRumUploadFileUrlResponse.setHttpStatusCode(_ctx.integerValue("CreateRumUploadFileUrlResponse.HttpStatusCode"));
createRumUploadFileUrlResponse.setData(_ctx.stringValue("CreateRumUploadFileUrlResponse.Data"));
return createRumUploadFileUrlResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/CreateSyntheticTaskResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import com.aliyuncs.arms.model.v20190808.CreateSyntheticTaskResponse;
import com.aliyuncs.arms.model.v20190808.CreateSyntheticTaskResponse.Data;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateSyntheticTaskResponseUnmarshaller {
public static CreateSyntheticTaskResponse unmarshall(CreateSyntheticTaskResponse createSyntheticTaskResponse, UnmarshallerContext _ctx) {
createSyntheticTaskResponse.setRequestId(_ctx.stringValue("CreateSyntheticTaskResponse.RequestId"));
createSyntheticTaskResponse.setCode(_ctx.stringValue("CreateSyntheticTaskResponse.Code"));
createSyntheticTaskResponse.setMsg(_ctx.stringValue("CreateSyntheticTaskResponse.Msg"));
Data data = new Data();
data.setTaskId(_ctx.longValue("CreateSyntheticTaskResponse.Data.TaskId"));
createSyntheticTaskResponse.setData(data);
return createSyntheticTaskResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/CreateTimingSyntheticTaskResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import com.aliyuncs.arms.model.v20190808.CreateTimingSyntheticTaskResponse;
import com.aliyuncs.arms.model.v20190808.CreateTimingSyntheticTaskResponse.Data;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateTimingSyntheticTaskResponseUnmarshaller {
public static CreateTimingSyntheticTaskResponse unmarshall(CreateTimingSyntheticTaskResponse createTimingSyntheticTaskResponse, UnmarshallerContext _ctx) {
createTimingSyntheticTaskResponse.setRequestId(_ctx.stringValue("CreateTimingSyntheticTaskResponse.RequestId"));
createTimingSyntheticTaskResponse.setSuccess(_ctx.booleanValue("CreateTimingSyntheticTaskResponse.Success"));
createTimingSyntheticTaskResponse.setCode(_ctx.longValue("CreateTimingSyntheticTaskResponse.Code"));
createTimingSyntheticTaskResponse.setMessage(_ctx.stringValue("CreateTimingSyntheticTaskResponse.Message"));
Data data = new Data();
data.setTaskId(_ctx.stringValue("CreateTimingSyntheticTaskResponse.Data.TaskId"));
data.setStatus(_ctx.stringValue("CreateTimingSyntheticTaskResponse.Data.Status"));
createTimingSyntheticTaskResponse.setData(data);
return createTimingSyntheticTaskResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/CreateWebhookResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import com.aliyuncs.arms.model.v20190808.CreateWebhookResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateWebhookResponseUnmarshaller {
public static CreateWebhookResponse unmarshall(CreateWebhookResponse createWebhookResponse, UnmarshallerContext _ctx) {
createWebhookResponse.setRequestId(_ctx.stringValue("CreateWebhookResponse.RequestId"));
createWebhookResponse.setContactId(_ctx.stringValue("CreateWebhookResponse.ContactId"));
return createWebhookResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/DelAuthTokenResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import com.aliyuncs.arms.model.v20190808.DelAuthTokenResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DelAuthTokenResponseUnmarshaller {
public static DelAuthTokenResponse unmarshall(DelAuthTokenResponse delAuthTokenResponse, UnmarshallerContext _ctx) {
delAuthTokenResponse.setRequestId(_ctx.stringValue("DelAuthTokenResponse.RequestId"));
delAuthTokenResponse.setData(_ctx.stringValue("DelAuthTokenResponse.Data"));
return delAuthTokenResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/DeleteAddonReleaseResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import com.aliyuncs.arms.model.v20190808.DeleteAddonReleaseResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteAddonReleaseResponseUnmarshaller {
public static DeleteAddonReleaseResponse unmarshall(DeleteAddonReleaseResponse deleteAddonReleaseResponse, UnmarshallerContext _ctx) {
deleteAddonReleaseResponse.setRequestId(_ctx.stringValue("DeleteAddonReleaseResponse.RequestId"));
deleteAddonReleaseResponse.setCode(_ctx.integerValue("DeleteAddonReleaseResponse.Code"));
deleteAddonReleaseResponse.setMessage(_ctx.stringValue("DeleteAddonReleaseResponse.Message"));
deleteAddonReleaseResponse.setSuccess(_ctx.booleanValue("DeleteAddonReleaseResponse.Success"));
deleteAddonReleaseResponse.setData(_ctx.stringValue("DeleteAddonReleaseResponse.Data"));
return deleteAddonReleaseResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/DeleteAlertContactGroupResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import com.aliyuncs.arms.model.v20190808.DeleteAlertContactGroupResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteAlertContactGroupResponseUnmarshaller {
public static DeleteAlertContactGroupResponse unmarshall(DeleteAlertContactGroupResponse deleteAlertContactGroupResponse, UnmarshallerContext _ctx) {
deleteAlertContactGroupResponse.setRequestId(_ctx.stringValue("DeleteAlertContactGroupResponse.RequestId"));
deleteAlertContactGroupResponse.setIsSuccess(_ctx.booleanValue("DeleteAlertContactGroupResponse.IsSuccess"));
return deleteAlertContactGroupResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/DeleteAlertContactResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import com.aliyuncs.arms.model.v20190808.DeleteAlertContactResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteAlertContactResponseUnmarshaller {
public static DeleteAlertContactResponse unmarshall(DeleteAlertContactResponse deleteAlertContactResponse, UnmarshallerContext _ctx) {
deleteAlertContactResponse.setRequestId(_ctx.stringValue("DeleteAlertContactResponse.RequestId"));
deleteAlertContactResponse.setIsSuccess(_ctx.booleanValue("DeleteAlertContactResponse.IsSuccess"));
return deleteAlertContactResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/DeleteAlertRuleResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import com.aliyuncs.arms.model.v20190808.DeleteAlertRuleResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteAlertRuleResponseUnmarshaller {
public static DeleteAlertRuleResponse unmarshall(DeleteAlertRuleResponse deleteAlertRuleResponse, UnmarshallerContext _ctx) {
deleteAlertRuleResponse.setRequestId(_ctx.stringValue("DeleteAlertRuleResponse.RequestId"));
deleteAlertRuleResponse.setIsSuccess(_ctx.booleanValue("DeleteAlertRuleResponse.IsSuccess"));
return deleteAlertRuleResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/DeleteAlertRulesResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import com.aliyuncs.arms.model.v20190808.DeleteAlertRulesResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteAlertRulesResponseUnmarshaller {
public static DeleteAlertRulesResponse unmarshall(DeleteAlertRulesResponse deleteAlertRulesResponse, UnmarshallerContext _ctx) {
deleteAlertRulesResponse.setRequestId(_ctx.stringValue("DeleteAlertRulesResponse.RequestId"));
deleteAlertRulesResponse.setIsSuccess(_ctx.booleanValue("DeleteAlertRulesResponse.IsSuccess"));
return deleteAlertRulesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/DeleteAppListResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import com.aliyuncs.arms.model.v20190808.DeleteAppListResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteAppListResponseUnmarshaller {
public static DeleteAppListResponse unmarshall(DeleteAppListResponse deleteAppListResponse, UnmarshallerContext _ctx) {
deleteAppListResponse.setRequestId(_ctx.stringValue("DeleteAppListResponse.RequestId"));
deleteAppListResponse.setData(_ctx.stringValue("DeleteAppListResponse.Data"));
deleteAppListResponse.setMessage(_ctx.stringValue("DeleteAppListResponse.Message"));
deleteAppListResponse.setSuccess(_ctx.booleanValue("DeleteAppListResponse.Success"));
deleteAppListResponse.setCode(_ctx.longValue("DeleteAppListResponse.Code"));
return deleteAppListResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/DeleteCmsExporterResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import com.aliyuncs.arms.model.v20190808.DeleteCmsExporterResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteCmsExporterResponseUnmarshaller {
public static DeleteCmsExporterResponse unmarshall(DeleteCmsExporterResponse deleteCmsExporterResponse, UnmarshallerContext _ctx) {
deleteCmsExporterResponse.setRequestId(_ctx.stringValue("DeleteCmsExporterResponse.RequestId"));
deleteCmsExporterResponse.setData(_ctx.stringValue("DeleteCmsExporterResponse.Data"));
return deleteCmsExporterResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/DeleteContactGroupResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import com.aliyuncs.arms.model.v20190808.DeleteContactGroupResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteContactGroupResponseUnmarshaller {
public static DeleteContactGroupResponse unmarshall(DeleteContactGroupResponse deleteContactGroupResponse, UnmarshallerContext _ctx) {
deleteContactGroupResponse.setRequestId(_ctx.stringValue("DeleteContactGroupResponse.RequestId"));
deleteContactGroupResponse.setIsSuccess(_ctx.booleanValue("DeleteContactGroupResponse.IsSuccess"));
return deleteContactGroupResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/DeleteContactResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import com.aliyuncs.arms.model.v20190808.DeleteContactResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteContactResponseUnmarshaller {
public static DeleteContactResponse unmarshall(DeleteContactResponse deleteContactResponse, UnmarshallerContext _ctx) {
deleteContactResponse.setRequestId(_ctx.stringValue("DeleteContactResponse.RequestId"));
deleteContactResponse.setIsSuccess(_ctx.booleanValue("DeleteContactResponse.IsSuccess"));
return deleteContactResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/DeleteDispatchRuleResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import com.aliyuncs.arms.model.v20190808.DeleteDispatchRuleResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteDispatchRuleResponseUnmarshaller {
public static DeleteDispatchRuleResponse unmarshall(DeleteDispatchRuleResponse deleteDispatchRuleResponse, UnmarshallerContext _ctx) {
deleteDispatchRuleResponse.setRequestId(_ctx.stringValue("DeleteDispatchRuleResponse.RequestId"));
deleteDispatchRuleResponse.setSuccess(_ctx.booleanValue("DeleteDispatchRuleResponse.Success"));
return deleteDispatchRuleResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/DeleteEnvCustomJobResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import com.aliyuncs.arms.model.v20190808.DeleteEnvCustomJobResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteEnvCustomJobResponseUnmarshaller {
public static DeleteEnvCustomJobResponse unmarshall(DeleteEnvCustomJobResponse deleteEnvCustomJobResponse, UnmarshallerContext _ctx) {
deleteEnvCustomJobResponse.setRequestId(_ctx.stringValue("DeleteEnvCustomJobResponse.RequestId"));
deleteEnvCustomJobResponse.setCode(_ctx.integerValue("DeleteEnvCustomJobResponse.Code"));
deleteEnvCustomJobResponse.setData(_ctx.stringValue("DeleteEnvCustomJobResponse.Data"));
deleteEnvCustomJobResponse.setMessage(_ctx.stringValue("DeleteEnvCustomJobResponse.Message"));
return deleteEnvCustomJobResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/DeleteEnvPodMonitorResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import com.aliyuncs.arms.model.v20190808.DeleteEnvPodMonitorResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteEnvPodMonitorResponseUnmarshaller {
public static DeleteEnvPodMonitorResponse unmarshall(DeleteEnvPodMonitorResponse deleteEnvPodMonitorResponse, UnmarshallerContext _ctx) {
deleteEnvPodMonitorResponse.setRequestId(_ctx.stringValue("DeleteEnvPodMonitorResponse.RequestId"));
deleteEnvPodMonitorResponse.setCode(_ctx.integerValue("DeleteEnvPodMonitorResponse.Code"));
deleteEnvPodMonitorResponse.setData(_ctx.stringValue("DeleteEnvPodMonitorResponse.Data"));
deleteEnvPodMonitorResponse.setMessage(_ctx.stringValue("DeleteEnvPodMonitorResponse.Message"));
return deleteEnvPodMonitorResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/DeleteEnvServiceMonitorResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import com.aliyuncs.arms.model.v20190808.DeleteEnvServiceMonitorResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteEnvServiceMonitorResponseUnmarshaller {
public static DeleteEnvServiceMonitorResponse unmarshall(DeleteEnvServiceMonitorResponse deleteEnvServiceMonitorResponse, UnmarshallerContext _ctx) {
deleteEnvServiceMonitorResponse.setRequestId(_ctx.stringValue("DeleteEnvServiceMonitorResponse.RequestId"));
deleteEnvServiceMonitorResponse.setCode(_ctx.integerValue("DeleteEnvServiceMonitorResponse.Code"));
deleteEnvServiceMonitorResponse.setData(_ctx.stringValue("DeleteEnvServiceMonitorResponse.Data"));
deleteEnvServiceMonitorResponse.setMessage(_ctx.stringValue("DeleteEnvServiceMonitorResponse.Message"));
return deleteEnvServiceMonitorResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/DeleteEnvironmentFeatureResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import com.aliyuncs.arms.model.v20190808.DeleteEnvironmentFeatureResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteEnvironmentFeatureResponseUnmarshaller {
public static DeleteEnvironmentFeatureResponse unmarshall(DeleteEnvironmentFeatureResponse deleteEnvironmentFeatureResponse, UnmarshallerContext _ctx) {
deleteEnvironmentFeatureResponse.setRequestId(_ctx.stringValue("DeleteEnvironmentFeatureResponse.RequestId"));
deleteEnvironmentFeatureResponse.setCode(_ctx.integerValue("DeleteEnvironmentFeatureResponse.Code"));
deleteEnvironmentFeatureResponse.setMessage(_ctx.stringValue("DeleteEnvironmentFeatureResponse.Message"));
deleteEnvironmentFeatureResponse.setSuccess(_ctx.booleanValue("DeleteEnvironmentFeatureResponse.Success"));
deleteEnvironmentFeatureResponse.setData(_ctx.stringValue("DeleteEnvironmentFeatureResponse.Data"));
return deleteEnvironmentFeatureResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/DeleteEnvironmentResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import com.aliyuncs.arms.model.v20190808.DeleteEnvironmentResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteEnvironmentResponseUnmarshaller {
public static DeleteEnvironmentResponse unmarshall(DeleteEnvironmentResponse deleteEnvironmentResponse, UnmarshallerContext _ctx) {
deleteEnvironmentResponse.setRequestId(_ctx.stringValue("DeleteEnvironmentResponse.RequestId"));
deleteEnvironmentResponse.setCode(_ctx.integerValue("DeleteEnvironmentResponse.Code"));
deleteEnvironmentResponse.setData(_ctx.stringValue("DeleteEnvironmentResponse.Data"));
deleteEnvironmentResponse.setMessage(_ctx.stringValue("DeleteEnvironmentResponse.Message"));
return deleteEnvironmentResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/DeleteEventBridgeIntegrationResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import com.aliyuncs.arms.model.v20190808.DeleteEventBridgeIntegrationResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteEventBridgeIntegrationResponseUnmarshaller {
public static DeleteEventBridgeIntegrationResponse unmarshall(DeleteEventBridgeIntegrationResponse deleteEventBridgeIntegrationResponse, UnmarshallerContext _ctx) {
deleteEventBridgeIntegrationResponse.setRequestId(_ctx.stringValue("DeleteEventBridgeIntegrationResponse.RequestId"));
deleteEventBridgeIntegrationResponse.setIsSuccess(_ctx.booleanValue("DeleteEventBridgeIntegrationResponse.IsSuccess"));
return deleteEventBridgeIntegrationResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/DeleteGrafanaResourceResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import com.aliyuncs.arms.model.v20190808.DeleteGrafanaResourceResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteGrafanaResourceResponseUnmarshaller {
public static DeleteGrafanaResourceResponse unmarshall(DeleteGrafanaResourceResponse deleteGrafanaResourceResponse, UnmarshallerContext _ctx) {
deleteGrafanaResourceResponse.setRequestId(_ctx.stringValue("DeleteGrafanaResourceResponse.RequestId"));
deleteGrafanaResourceResponse.setData(_ctx.stringValue("DeleteGrafanaResourceResponse.Data"));
deleteGrafanaResourceResponse.setCode(_ctx.integerValue("DeleteGrafanaResourceResponse.Code"));
deleteGrafanaResourceResponse.setMessage(_ctx.stringValue("DeleteGrafanaResourceResponse.Message"));
return deleteGrafanaResourceResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/DeleteGrafanaWorkspaceResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import com.aliyuncs.arms.model.v20190808.DeleteGrafanaWorkspaceResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteGrafanaWorkspaceResponseUnmarshaller {
public static DeleteGrafanaWorkspaceResponse unmarshall(DeleteGrafanaWorkspaceResponse deleteGrafanaWorkspaceResponse, UnmarshallerContext _ctx) {
deleteGrafanaWorkspaceResponse.setRequestId(_ctx.stringValue("DeleteGrafanaWorkspaceResponse.RequestId"));
deleteGrafanaWorkspaceResponse.setMessage(_ctx.stringValue("DeleteGrafanaWorkspaceResponse.Message"));
deleteGrafanaWorkspaceResponse.setCode(_ctx.integerValue("DeleteGrafanaWorkspaceResponse.Code"));
deleteGrafanaWorkspaceResponse.setSuccess(_ctx.booleanValue("DeleteGrafanaWorkspaceResponse.Success"));
deleteGrafanaWorkspaceResponse.setTraceId(_ctx.stringValue("DeleteGrafanaWorkspaceResponse.TraceId"));
deleteGrafanaWorkspaceResponse.setData(_ctx.booleanValue("DeleteGrafanaWorkspaceResponse.Data"));
return deleteGrafanaWorkspaceResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/DeleteIMRobotResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import com.aliyuncs.arms.model.v20190808.DeleteIMRobotResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteIMRobotResponseUnmarshaller {
public static DeleteIMRobotResponse unmarshall(DeleteIMRobotResponse deleteIMRobotResponse, UnmarshallerContext _ctx) {
deleteIMRobotResponse.setRequestId(_ctx.stringValue("DeleteIMRobotResponse.RequestId"));
deleteIMRobotResponse.setIsSuccess(_ctx.booleanValue("DeleteIMRobotResponse.IsSuccess"));
return deleteIMRobotResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/DeleteIntegrationResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import com.aliyuncs.arms.model.v20190808.DeleteIntegrationResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteIntegrationResponseUnmarshaller {
public static DeleteIntegrationResponse unmarshall(DeleteIntegrationResponse deleteIntegrationResponse, UnmarshallerContext _ctx) {
deleteIntegrationResponse.setRequestId(_ctx.stringValue("DeleteIntegrationResponse.RequestId"));
deleteIntegrationResponse.setData(_ctx.stringValue("DeleteIntegrationResponse.Data"));
deleteIntegrationResponse.setCode(_ctx.integerValue("DeleteIntegrationResponse.Code"));
deleteIntegrationResponse.setMessage(_ctx.stringValue("DeleteIntegrationResponse.Message"));
return deleteIntegrationResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/DeleteIntegrationsResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import com.aliyuncs.arms.model.v20190808.DeleteIntegrationsResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteIntegrationsResponseUnmarshaller {
public static DeleteIntegrationsResponse unmarshall(DeleteIntegrationsResponse deleteIntegrationsResponse, UnmarshallerContext _ctx) {
deleteIntegrationsResponse.setRequestId(_ctx.stringValue("DeleteIntegrationsResponse.RequestId"));
deleteIntegrationsResponse.setIsSuccess(_ctx.booleanValue("DeleteIntegrationsResponse.IsSuccess"));
return deleteIntegrationsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/DeleteNotificationPolicyResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import com.aliyuncs.arms.model.v20190808.DeleteNotificationPolicyResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteNotificationPolicyResponseUnmarshaller {
public static DeleteNotificationPolicyResponse unmarshall(DeleteNotificationPolicyResponse deleteNotificationPolicyResponse, UnmarshallerContext _ctx) {
deleteNotificationPolicyResponse.setRequestId(_ctx.stringValue("DeleteNotificationPolicyResponse.RequestId"));
deleteNotificationPolicyResponse.setIsSuccess(_ctx.booleanValue("DeleteNotificationPolicyResponse.IsSuccess"));
return deleteNotificationPolicyResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/DeletePrometheusAlertRuleResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import com.aliyuncs.arms.model.v20190808.DeletePrometheusAlertRuleResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeletePrometheusAlertRuleResponseUnmarshaller {
public static DeletePrometheusAlertRuleResponse unmarshall(DeletePrometheusAlertRuleResponse deletePrometheusAlertRuleResponse, UnmarshallerContext _ctx) {
deletePrometheusAlertRuleResponse.setRequestId(_ctx.stringValue("DeletePrometheusAlertRuleResponse.RequestId"));
deletePrometheusAlertRuleResponse.setSuccess(_ctx.booleanValue("DeletePrometheusAlertRuleResponse.Success"));
deletePrometheusAlertRuleResponse.setCode(_ctx.longValue("DeletePrometheusAlertRuleResponse.Code"));
deletePrometheusAlertRuleResponse.setMessage(_ctx.stringValue("DeletePrometheusAlertRuleResponse.Message"));
return deletePrometheusAlertRuleResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/DeletePrometheusGlobalViewResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import com.aliyuncs.arms.model.v20190808.DeletePrometheusGlobalViewResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeletePrometheusGlobalViewResponseUnmarshaller {
public static DeletePrometheusGlobalViewResponse unmarshall(DeletePrometheusGlobalViewResponse deletePrometheusGlobalViewResponse, UnmarshallerContext _ctx) {
deletePrometheusGlobalViewResponse.setRequestId(_ctx.stringValue("DeletePrometheusGlobalViewResponse.RequestId"));
deletePrometheusGlobalViewResponse.setData(_ctx.stringValue("DeletePrometheusGlobalViewResponse.Data"));
deletePrometheusGlobalViewResponse.setCode(_ctx.integerValue("DeletePrometheusGlobalViewResponse.Code"));
deletePrometheusGlobalViewResponse.setMessage(_ctx.stringValue("DeletePrometheusGlobalViewResponse.Message"));
return deletePrometheusGlobalViewResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/DeletePrometheusIntegrationResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import com.aliyuncs.arms.model.v20190808.DeletePrometheusIntegrationResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeletePrometheusIntegrationResponseUnmarshaller {
public static DeletePrometheusIntegrationResponse unmarshall(DeletePrometheusIntegrationResponse deletePrometheusIntegrationResponse, UnmarshallerContext _ctx) {
deletePrometheusIntegrationResponse.setRequestId(_ctx.stringValue("DeletePrometheusIntegrationResponse.RequestId"));
deletePrometheusIntegrationResponse.setData(_ctx.stringValue("DeletePrometheusIntegrationResponse.Data"));
deletePrometheusIntegrationResponse.setMessage(_ctx.stringValue("DeletePrometheusIntegrationResponse.Message"));
deletePrometheusIntegrationResponse.setCode(_ctx.integerValue("DeletePrometheusIntegrationResponse.Code"));
return deletePrometheusIntegrationResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/DeletePrometheusMonitoringResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import com.aliyuncs.arms.model.v20190808.DeletePrometheusMonitoringResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeletePrometheusMonitoringResponseUnmarshaller {
public static DeletePrometheusMonitoringResponse unmarshall(DeletePrometheusMonitoringResponse deletePrometheusMonitoringResponse, UnmarshallerContext _ctx) {
deletePrometheusMonitoringResponse.setRequestId(_ctx.stringValue("DeletePrometheusMonitoringResponse.RequestId"));
deletePrometheusMonitoringResponse.setCode(_ctx.integerValue("DeletePrometheusMonitoringResponse.Code"));
deletePrometheusMonitoringResponse.setData(_ctx.stringValue("DeletePrometheusMonitoringResponse.Data"));
deletePrometheusMonitoringResponse.setMessage(_ctx.stringValue("DeletePrometheusMonitoringResponse.Message"));
return deletePrometheusMonitoringResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/DeleteRetcodeAppResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import com.aliyuncs.arms.model.v20190808.DeleteRetcodeAppResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteRetcodeAppResponseUnmarshaller {
public static DeleteRetcodeAppResponse unmarshall(DeleteRetcodeAppResponse deleteRetcodeAppResponse, UnmarshallerContext _ctx) {
deleteRetcodeAppResponse.setRequestId(_ctx.stringValue("DeleteRetcodeAppResponse.RequestId"));
deleteRetcodeAppResponse.setData(_ctx.stringValue("DeleteRetcodeAppResponse.Data"));
deleteRetcodeAppResponse.setCode(_ctx.integerValue("DeleteRetcodeAppResponse.Code"));
deleteRetcodeAppResponse.setSuccess(_ctx.booleanValue("DeleteRetcodeAppResponse.Success"));
deleteRetcodeAppResponse.setMessage(_ctx.stringValue("DeleteRetcodeAppResponse.Message"));
return deleteRetcodeAppResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/DeleteRumAppResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import com.aliyuncs.arms.model.v20190808.DeleteRumAppResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteRumAppResponseUnmarshaller {
public static DeleteRumAppResponse unmarshall(DeleteRumAppResponse deleteRumAppResponse, UnmarshallerContext _ctx) {
deleteRumAppResponse.setRequestId(_ctx.stringValue("DeleteRumAppResponse.RequestId"));
deleteRumAppResponse.setCode(_ctx.integerValue("DeleteRumAppResponse.Code"));
deleteRumAppResponse.setSuccess(_ctx.booleanValue("DeleteRumAppResponse.Success"));
deleteRumAppResponse.setMessage(_ctx.stringValue("DeleteRumAppResponse.Message"));
deleteRumAppResponse.setHttpStatusCode(_ctx.integerValue("DeleteRumAppResponse.HttpStatusCode"));
deleteRumAppResponse.setResult(_ctx.stringValue("DeleteRumAppResponse.Result"));
deleteRumAppResponse.setResourceGroupId(_ctx.stringValue("DeleteRumAppResponse.ResourceGroupId"));
return deleteRumAppResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/DeleteRumUploadFileResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import com.aliyuncs.arms.model.v20190808.DeleteRumUploadFileResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteRumUploadFileResponseUnmarshaller {
public static DeleteRumUploadFileResponse unmarshall(DeleteRumUploadFileResponse deleteRumUploadFileResponse, UnmarshallerContext _ctx) {
deleteRumUploadFileResponse.setRequestId(_ctx.stringValue("DeleteRumUploadFileResponse.RequestId"));
deleteRumUploadFileResponse.setCode(_ctx.integerValue("DeleteRumUploadFileResponse.Code"));
deleteRumUploadFileResponse.setSuccess(_ctx.booleanValue("DeleteRumUploadFileResponse.Success"));
deleteRumUploadFileResponse.setMessage(_ctx.stringValue("DeleteRumUploadFileResponse.Message"));
deleteRumUploadFileResponse.setHttpStatusCode(_ctx.integerValue("DeleteRumUploadFileResponse.HttpStatusCode"));
deleteRumUploadFileResponse.setData(_ctx.stringValue("DeleteRumUploadFileResponse.Data"));
return deleteRumUploadFileResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/DeleteScenarioResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import com.aliyuncs.arms.model.v20190808.DeleteScenarioResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteScenarioResponseUnmarshaller {
public static DeleteScenarioResponse unmarshall(DeleteScenarioResponse deleteScenarioResponse, UnmarshallerContext _ctx) {
deleteScenarioResponse.setRequestId(_ctx.stringValue("DeleteScenarioResponse.RequestId"));
deleteScenarioResponse.setResult(_ctx.booleanValue("DeleteScenarioResponse.Result"));
return deleteScenarioResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/DeleteSilencePolicyResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import com.aliyuncs.arms.model.v20190808.DeleteSilencePolicyResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteSilencePolicyResponseUnmarshaller {
public static DeleteSilencePolicyResponse unmarshall(DeleteSilencePolicyResponse deleteSilencePolicyResponse, UnmarshallerContext _ctx) {
deleteSilencePolicyResponse.setRequestId(_ctx.stringValue("DeleteSilencePolicyResponse.RequestId"));
deleteSilencePolicyResponse.setIsSuccess(_ctx.booleanValue("DeleteSilencePolicyResponse.IsSuccess"));
return deleteSilencePolicyResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/DeleteSourceMapResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import com.aliyuncs.arms.model.v20190808.DeleteSourceMapResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteSourceMapResponseUnmarshaller {
public static DeleteSourceMapResponse unmarshall(DeleteSourceMapResponse deleteSourceMapResponse, UnmarshallerContext _ctx) {
deleteSourceMapResponse.setRequestId(_ctx.stringValue("DeleteSourceMapResponse.RequestId"));
deleteSourceMapResponse.setData(_ctx.stringValue("DeleteSourceMapResponse.Data"));
return deleteSourceMapResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/DeleteSyntheticTaskResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import com.aliyuncs.arms.model.v20190808.DeleteSyntheticTaskResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteSyntheticTaskResponseUnmarshaller {
public static DeleteSyntheticTaskResponse unmarshall(DeleteSyntheticTaskResponse deleteSyntheticTaskResponse, UnmarshallerContext _ctx) {
deleteSyntheticTaskResponse.setRequestId(_ctx.stringValue("DeleteSyntheticTaskResponse.RequestId"));
deleteSyntheticTaskResponse.setResult(_ctx.stringValue("DeleteSyntheticTaskResponse.Result"));
return deleteSyntheticTaskResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/DeleteTimingSyntheticTaskResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import com.aliyuncs.arms.model.v20190808.DeleteTimingSyntheticTaskResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteTimingSyntheticTaskResponseUnmarshaller {
public static DeleteTimingSyntheticTaskResponse unmarshall(DeleteTimingSyntheticTaskResponse deleteTimingSyntheticTaskResponse, UnmarshallerContext _ctx) {
deleteTimingSyntheticTaskResponse.setRequestId(_ctx.stringValue("DeleteTimingSyntheticTaskResponse.RequestId"));
deleteTimingSyntheticTaskResponse.setCode(_ctx.longValue("DeleteTimingSyntheticTaskResponse.Code"));
deleteTimingSyntheticTaskResponse.setMessage(_ctx.stringValue("DeleteTimingSyntheticTaskResponse.Message"));
deleteTimingSyntheticTaskResponse.setData(_ctx.booleanValue("DeleteTimingSyntheticTaskResponse.Data"));
return deleteTimingSyntheticTaskResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/DeleteTraceAppResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import com.aliyuncs.arms.model.v20190808.DeleteTraceAppResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteTraceAppResponseUnmarshaller {
public static DeleteTraceAppResponse unmarshall(DeleteTraceAppResponse deleteTraceAppResponse, UnmarshallerContext _ctx) {
deleteTraceAppResponse.setRequestId(_ctx.stringValue("DeleteTraceAppResponse.RequestId"));
deleteTraceAppResponse.setData(_ctx.stringValue("DeleteTraceAppResponse.Data"));
deleteTraceAppResponse.setMessage(_ctx.stringValue("DeleteTraceAppResponse.Message"));
deleteTraceAppResponse.setCode(_ctx.longValue("DeleteTraceAppResponse.Code"));
deleteTraceAppResponse.setSuccess(_ctx.booleanValue("DeleteTraceAppResponse.Success"));
return deleteTraceAppResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/DeleteWebhookContactResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import com.aliyuncs.arms.model.v20190808.DeleteWebhookContactResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteWebhookContactResponseUnmarshaller {
public static DeleteWebhookContactResponse unmarshall(DeleteWebhookContactResponse deleteWebhookContactResponse, UnmarshallerContext _ctx) {
deleteWebhookContactResponse.setRequestId(_ctx.stringValue("DeleteWebhookContactResponse.RequestId"));
deleteWebhookContactResponse.setIsSuccess(_ctx.booleanValue("DeleteWebhookContactResponse.IsSuccess"));
return deleteWebhookContactResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/DescribeAddonMetricsResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.arms.model.v20190808.DescribeAddonMetricsResponse;
import com.aliyuncs.arms.model.v20190808.DescribeAddonMetricsResponse.DataItem;
import com.aliyuncs.arms.model.v20190808.DescribeAddonMetricsResponse.DataItem.Labels;
import com.aliyuncs.arms.model.v20190808.DescribeAddonMetricsResponse.DataItem.Labels.LabelsItem2;
import com.aliyuncs.arms.model.v20190808.DescribeAddonMetricsResponse.DataItem.LabelsItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeAddonMetricsResponseUnmarshaller {
public static DescribeAddonMetricsResponse unmarshall(DescribeAddonMetricsResponse describeAddonMetricsResponse, UnmarshallerContext _ctx) {
describeAddonMetricsResponse.setRequestId(_ctx.stringValue("DescribeAddonMetricsResponse.RequestId"));
describeAddonMetricsResponse.setCode(_ctx.integerValue("DescribeAddonMetricsResponse.Code"));
describeAddonMetricsResponse.setMessage(_ctx.stringValue("DescribeAddonMetricsResponse.Message"));
describeAddonMetricsResponse.setSuccess(_ctx.booleanValue("DescribeAddonMetricsResponse.Success"));
List<DataItem> data = new ArrayList<DataItem>();
for (int i = 0; i < _ctx.lengthValue("DescribeAddonMetricsResponse.Data.Length"); i++) {
DataItem dataItem = new DataItem();
dataItem.setGroup(_ctx.stringValue("DescribeAddonMetricsResponse.Data["+ i +"].Group"));
List<LabelsItem> labels = new ArrayList<LabelsItem>();
for (int j = 0; j < _ctx.lengthValue("DescribeAddonMetricsResponse.Data["+ i +"].Labels.Length"); j++) {
LabelsItem labelsItem = new LabelsItem();
labelsItem.setDescription(_ctx.stringValue("DescribeAddonMetricsResponse.Data["+ i +"].Labels["+ j +"].Description"));
labelsItem.setKey(_ctx.stringValue("DescribeAddonMetricsResponse.Data["+ i +"].Labels["+ j +"].Key"));
labelsItem.setSource(_ctx.stringValue("DescribeAddonMetricsResponse.Data["+ i +"].Labels["+ j +"].Source"));
labels.add(labelsItem);
}
dataItem.setLabels(labels);
List<Labels> metrics = new ArrayList<Labels>();
for (int j = 0; j < _ctx.lengthValue("DescribeAddonMetricsResponse.Data["+ i +"].Metrics.Length"); j++) {
Labels labels2 = new Labels();
labels2.setDescription(_ctx.stringValue("DescribeAddonMetricsResponse.Data["+ i +"].Metrics["+ j +"].Description"));
labels2.setType(_ctx.stringValue("DescribeAddonMetricsResponse.Data["+ i +"].Metrics["+ j +"].Type"));
labels2.setUnit(_ctx.stringValue("DescribeAddonMetricsResponse.Data["+ i +"].Metrics["+ j +"].Unit"));
labels2.setMetric(_ctx.stringValue("DescribeAddonMetricsResponse.Data["+ i +"].Metrics["+ j +"].Metric"));
List<LabelsItem2> labels1 = new ArrayList<LabelsItem2>();
for (int k = 0; k < _ctx.lengthValue("DescribeAddonMetricsResponse.Data["+ i +"].Metrics["+ j +"].Labels.Length"); k++) {
LabelsItem2 labelsItem2 = new LabelsItem2();
labelsItem2.setDescription(_ctx.stringValue("DescribeAddonMetricsResponse.Data["+ i +"].Metrics["+ j +"].Labels["+ k +"].Description"));
labelsItem2.setKey(_ctx.stringValue("DescribeAddonMetricsResponse.Data["+ i +"].Metrics["+ j +"].Labels["+ k +"].Key"));
labelsItem2.setSource(_ctx.stringValue("DescribeAddonMetricsResponse.Data["+ i +"].Metrics["+ j +"].Labels["+ k +"].Source"));
labels1.add(labelsItem2);
}
labels2.setLabels1(labels1);
metrics.add(labels2);
}
dataItem.setMetrics(metrics);
data.add(dataItem);
}
describeAddonMetricsResponse.setData(data);
return describeAddonMetricsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/DescribeAddonReleaseResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.arms.model.v20190808.DescribeAddonReleaseResponse;
import com.aliyuncs.arms.model.v20190808.DescribeAddonReleaseResponse.Data;
import com.aliyuncs.arms.model.v20190808.DescribeAddonReleaseResponse.Data.Release;
import com.aliyuncs.arms.model.v20190808.DescribeAddonReleaseResponse.Data.Release.ConditionsItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeAddonReleaseResponseUnmarshaller {
public static DescribeAddonReleaseResponse unmarshall(DescribeAddonReleaseResponse describeAddonReleaseResponse, UnmarshallerContext _ctx) {
describeAddonReleaseResponse.setRequestId(_ctx.stringValue("DescribeAddonReleaseResponse.RequestId"));
describeAddonReleaseResponse.setCode(_ctx.stringValue("DescribeAddonReleaseResponse.Code"));
describeAddonReleaseResponse.setSuccess(_ctx.stringValue("DescribeAddonReleaseResponse.Success"));
describeAddonReleaseResponse.setMessage(_ctx.stringValue("DescribeAddonReleaseResponse.Message"));
Data data = new Data();
data.setConfig(_ctx.stringValue("DescribeAddonReleaseResponse.Data.Config"));
Release release = new Release();
release.setAddonName(_ctx.stringValue("DescribeAddonReleaseResponse.Data.Release.AddonName"));
release.setAlertRuleCount(_ctx.longValue("DescribeAddonReleaseResponse.Data.Release.AlertRuleCount"));
release.setCreateTime(_ctx.stringValue("DescribeAddonReleaseResponse.Data.Release.CreateTime"));
release.setDashboardCount(_ctx.longValue("DescribeAddonReleaseResponse.Data.Release.DashboardCount"));
release.setExporterCount(_ctx.longValue("DescribeAddonReleaseResponse.Data.Release.ExporterCount"));
release.setHaveConfig(_ctx.booleanValue("DescribeAddonReleaseResponse.Data.Release.HaveConfig"));
release.setInstallUserId(_ctx.stringValue("DescribeAddonReleaseResponse.Data.Release.InstallUserId"));
release.setLanguage(_ctx.stringValue("DescribeAddonReleaseResponse.Data.Release.Language"));
release.setReleaseId(_ctx.stringValue("DescribeAddonReleaseResponse.Data.Release.ReleaseId"));
release.setReleaseName(_ctx.stringValue("DescribeAddonReleaseResponse.Data.Release.ReleaseName"));
release.setScene(_ctx.stringValue("DescribeAddonReleaseResponse.Data.Release.Scene"));
release.setStatus(_ctx.stringValue("DescribeAddonReleaseResponse.Data.Release.Status"));
release.setUpdateTime(_ctx.stringValue("DescribeAddonReleaseResponse.Data.Release.UpdateTime"));
release.setUserID(_ctx.stringValue("DescribeAddonReleaseResponse.Data.Release.UserID"));
release.setVersion(_ctx.stringValue("DescribeAddonReleaseResponse.Data.Release.Version"));
release.setEnvironmentId(_ctx.stringValue("DescribeAddonReleaseResponse.Data.Release.EnvironmentId"));
release.setRegionId(_ctx.stringValue("DescribeAddonReleaseResponse.Data.Release.RegionId"));
release.setManaged(_ctx.booleanValue("DescribeAddonReleaseResponse.Data.Release.Managed"));
List<ConditionsItem> conditions = new ArrayList<ConditionsItem>();
for (int i = 0; i < _ctx.lengthValue("DescribeAddonReleaseResponse.Data.Release.Conditions.Length"); i++) {
ConditionsItem conditionsItem = new ConditionsItem();
conditionsItem.setFirstTransitionTime(_ctx.stringValue("DescribeAddonReleaseResponse.Data.Release.Conditions["+ i +"].FirstTransitionTime"));
conditionsItem.setLastTransitionTime(_ctx.stringValue("DescribeAddonReleaseResponse.Data.Release.Conditions["+ i +"].LastTransitionTime"));
conditionsItem.setMessage(_ctx.stringValue("DescribeAddonReleaseResponse.Data.Release.Conditions["+ i +"].Message"));
conditionsItem.setReason(_ctx.stringValue("DescribeAddonReleaseResponse.Data.Release.Conditions["+ i +"].Reason"));
conditionsItem.setStatus(_ctx.stringValue("DescribeAddonReleaseResponse.Data.Release.Conditions["+ i +"].Status"));
conditionsItem.setType(_ctx.stringValue("DescribeAddonReleaseResponse.Data.Release.Conditions["+ i +"].Type"));
conditions.add(conditionsItem);
}
release.setConditions(conditions);
data.setRelease(release);
describeAddonReleaseResponse.setData(data);
return describeAddonReleaseResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/DescribeContactGroupsResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.arms.model.v20190808.DescribeContactGroupsResponse;
import com.aliyuncs.arms.model.v20190808.DescribeContactGroupsResponse.PageBean;
import com.aliyuncs.arms.model.v20190808.DescribeContactGroupsResponse.PageBean.ContactGroups;
import com.aliyuncs.arms.model.v20190808.DescribeContactGroupsResponse.PageBean.ContactGroups.ContactsItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeContactGroupsResponseUnmarshaller {
public static DescribeContactGroupsResponse unmarshall(DescribeContactGroupsResponse describeContactGroupsResponse, UnmarshallerContext _ctx) {
describeContactGroupsResponse.setRequestId(_ctx.stringValue("DescribeContactGroupsResponse.RequestId"));
PageBean pageBean = new PageBean();
pageBean.setTotal(_ctx.longValue("DescribeContactGroupsResponse.PageBean.Total"));
pageBean.setPage(_ctx.longValue("DescribeContactGroupsResponse.PageBean.Page"));
pageBean.setSize(_ctx.longValue("DescribeContactGroupsResponse.PageBean.Size"));
List<ContactGroups> alertContactGroups = new ArrayList<ContactGroups>();
for (int i = 0; i < _ctx.lengthValue("DescribeContactGroupsResponse.PageBean.AlertContactGroups.Length"); i++) {
ContactGroups contactGroups = new ContactGroups();
contactGroups.setContactGroupId(_ctx.floatValue("DescribeContactGroupsResponse.PageBean.AlertContactGroups["+ i +"].ContactGroupId"));
contactGroups.setContactGroupName(_ctx.stringValue("DescribeContactGroupsResponse.PageBean.AlertContactGroups["+ i +"].ContactGroupName"));
contactGroups.setArmsContactGroupId(_ctx.longValue("DescribeContactGroupsResponse.PageBean.AlertContactGroups["+ i +"].ArmsContactGroupId"));
List<ContactsItem> contacts = new ArrayList<ContactsItem>();
for (int j = 0; j < _ctx.lengthValue("DescribeContactGroupsResponse.PageBean.AlertContactGroups["+ i +"].Contacts.Length"); j++) {
ContactsItem contactsItem = new ContactsItem();
contactsItem.setContactId(_ctx.floatValue("DescribeContactGroupsResponse.PageBean.AlertContactGroups["+ i +"].Contacts["+ j +"].ContactId"));
contactsItem.setContactName(_ctx.stringValue("DescribeContactGroupsResponse.PageBean.AlertContactGroups["+ i +"].Contacts["+ j +"].ContactName"));
contactsItem.setPhone(_ctx.stringValue("DescribeContactGroupsResponse.PageBean.AlertContactGroups["+ i +"].Contacts["+ j +"].Phone"));
contactsItem.setEmail(_ctx.stringValue("DescribeContactGroupsResponse.PageBean.AlertContactGroups["+ i +"].Contacts["+ j +"].Email"));
contactsItem.setArmsContactId(_ctx.longValue("DescribeContactGroupsResponse.PageBean.AlertContactGroups["+ i +"].Contacts["+ j +"].ArmsContactId"));
contactsItem.setWebhook(_ctx.stringValue("DescribeContactGroupsResponse.PageBean.AlertContactGroups["+ i +"].Contacts["+ j +"].Webhook"));
contactsItem.setDingRobotUrl(_ctx.stringValue("DescribeContactGroupsResponse.PageBean.AlertContactGroups["+ i +"].Contacts["+ j +"].DingRobotUrl"));
contacts.add(contactsItem);
}
contactGroups.setContacts(contacts);
alertContactGroups.add(contactGroups);
}
pageBean.setAlertContactGroups(alertContactGroups);
describeContactGroupsResponse.setPageBean(pageBean);
return describeContactGroupsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/DescribeContactsResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.arms.model.v20190808.DescribeContactsResponse;
import com.aliyuncs.arms.model.v20190808.DescribeContactsResponse.PageBean;
import com.aliyuncs.arms.model.v20190808.DescribeContactsResponse.PageBean.Contacts;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeContactsResponseUnmarshaller {
public static DescribeContactsResponse unmarshall(DescribeContactsResponse describeContactsResponse, UnmarshallerContext _ctx) {
describeContactsResponse.setRequestId(_ctx.stringValue("DescribeContactsResponse.RequestId"));
PageBean pageBean = new PageBean();
pageBean.setTotal(_ctx.longValue("DescribeContactsResponse.PageBean.Total"));
pageBean.setPage(_ctx.longValue("DescribeContactsResponse.PageBean.Page"));
pageBean.setSize(_ctx.longValue("DescribeContactsResponse.PageBean.Size"));
List<Contacts> alertContacts = new ArrayList<Contacts>();
for (int i = 0; i < _ctx.lengthValue("DescribeContactsResponse.PageBean.AlertContacts.Length"); i++) {
Contacts contacts = new Contacts();
contacts.setContactId(_ctx.floatValue("DescribeContactsResponse.PageBean.AlertContacts["+ i +"].ContactId"));
contacts.setContactName(_ctx.stringValue("DescribeContactsResponse.PageBean.AlertContacts["+ i +"].ContactName"));
contacts.setPhone(_ctx.stringValue("DescribeContactsResponse.PageBean.AlertContacts["+ i +"].Phone"));
contacts.setEmail(_ctx.stringValue("DescribeContactsResponse.PageBean.AlertContacts["+ i +"].Email"));
contacts.setIsVerify(_ctx.booleanValue("DescribeContactsResponse.PageBean.AlertContacts["+ i +"].IsVerify"));
contacts.setReissueSendNotice(_ctx.longValue("DescribeContactsResponse.PageBean.AlertContacts["+ i +"].ReissueSendNotice"));
contacts.setIsEmailVerify(_ctx.booleanValue("DescribeContactsResponse.PageBean.AlertContacts["+ i +"].IsEmailVerify"));
contacts.setArmsContactId(_ctx.longValue("DescribeContactsResponse.PageBean.AlertContacts["+ i +"].ArmsContactId"));
contacts.setDingRobotUrl(_ctx.stringValue("DescribeContactsResponse.PageBean.AlertContacts["+ i +"].DingRobotUrl"));
contacts.setWebhook(_ctx.stringValue("DescribeContactsResponse.PageBean.AlertContacts["+ i +"].Webhook"));
alertContacts.add(contacts);
}
pageBean.setAlertContacts(alertContacts);
describeContactsResponse.setPageBean(pageBean);
return describeContactsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/DescribeDispatchRuleResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.arms.model.v20190808.DescribeDispatchRuleResponse;
import com.aliyuncs.arms.model.v20190808.DescribeDispatchRuleResponse.DispatchRule;
import com.aliyuncs.arms.model.v20190808.DescribeDispatchRuleResponse.DispatchRule.GroupRule;
import com.aliyuncs.arms.model.v20190808.DescribeDispatchRuleResponse.DispatchRule.LabelMatchExpressionGrid;
import com.aliyuncs.arms.model.v20190808.DescribeDispatchRuleResponse.DispatchRule.LabelMatchExpressionGrid.LabelMatchExpressionGroup;
import com.aliyuncs.arms.model.v20190808.DescribeDispatchRuleResponse.DispatchRule.LabelMatchExpressionGrid.LabelMatchExpressionGroup.LabelMatchExpression;
import com.aliyuncs.arms.model.v20190808.DescribeDispatchRuleResponse.DispatchRule.NotifyRule;
import com.aliyuncs.arms.model.v20190808.DescribeDispatchRuleResponse.DispatchRule.NotifyRule.NotifyObject;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeDispatchRuleResponseUnmarshaller {
public static DescribeDispatchRuleResponse unmarshall(DescribeDispatchRuleResponse describeDispatchRuleResponse, UnmarshallerContext _ctx) {
describeDispatchRuleResponse.setRequestId(_ctx.stringValue("DescribeDispatchRuleResponse.RequestId"));
DispatchRule dispatchRule = new DispatchRule();
dispatchRule.setName(_ctx.stringValue("DescribeDispatchRuleResponse.DispatchRule.Name"));
dispatchRule.setIsRecover(_ctx.booleanValue("DescribeDispatchRuleResponse.DispatchRule.IsRecover"));
dispatchRule.setDispatchType(_ctx.stringValue("DescribeDispatchRuleResponse.DispatchRule.DispatchType"));
dispatchRule.setState(_ctx.stringValue("DescribeDispatchRuleResponse.DispatchRule.State"));
dispatchRule.setRuleId(_ctx.longValue("DescribeDispatchRuleResponse.DispatchRule.RuleId"));
LabelMatchExpressionGrid labelMatchExpressionGrid = new LabelMatchExpressionGrid();
List<LabelMatchExpressionGroup> labelMatchExpressionGroups = new ArrayList<LabelMatchExpressionGroup>();
for (int i = 0; i < _ctx.lengthValue("DescribeDispatchRuleResponse.DispatchRule.LabelMatchExpressionGrid.LabelMatchExpressionGroups.Length"); i++) {
LabelMatchExpressionGroup labelMatchExpressionGroup = new LabelMatchExpressionGroup();
List<LabelMatchExpression> labelMatchExpressions = new ArrayList<LabelMatchExpression>();
for (int j = 0; j < _ctx.lengthValue("DescribeDispatchRuleResponse.DispatchRule.LabelMatchExpressionGrid.LabelMatchExpressionGroups["+ i +"].LabelMatchExpressions.Length"); j++) {
LabelMatchExpression labelMatchExpression = new LabelMatchExpression();
labelMatchExpression.setKey(_ctx.stringValue("DescribeDispatchRuleResponse.DispatchRule.LabelMatchExpressionGrid.LabelMatchExpressionGroups["+ i +"].LabelMatchExpressions["+ j +"].Key"));
labelMatchExpression.setValue(_ctx.stringValue("DescribeDispatchRuleResponse.DispatchRule.LabelMatchExpressionGrid.LabelMatchExpressionGroups["+ i +"].LabelMatchExpressions["+ j +"].Value"));
labelMatchExpression.setOperator(_ctx.stringValue("DescribeDispatchRuleResponse.DispatchRule.LabelMatchExpressionGrid.LabelMatchExpressionGroups["+ i +"].LabelMatchExpressions["+ j +"].Operator"));
labelMatchExpressions.add(labelMatchExpression);
}
labelMatchExpressionGroup.setLabelMatchExpressions(labelMatchExpressions);
labelMatchExpressionGroups.add(labelMatchExpressionGroup);
}
labelMatchExpressionGrid.setLabelMatchExpressionGroups(labelMatchExpressionGroups);
dispatchRule.setLabelMatchExpressionGrid(labelMatchExpressionGrid);
List<GroupRule> groupRules = new ArrayList<GroupRule>();
for (int i = 0; i < _ctx.lengthValue("DescribeDispatchRuleResponse.DispatchRule.GroupRules.Length"); i++) {
GroupRule groupRule = new GroupRule();
groupRule.setRepeatInterval(_ctx.longValue("DescribeDispatchRuleResponse.DispatchRule.GroupRules["+ i +"].RepeatInterval"));
groupRule.setGroupId(_ctx.longValue("DescribeDispatchRuleResponse.DispatchRule.GroupRules["+ i +"].GroupId"));
groupRule.setGroupWaitTime(_ctx.longValue("DescribeDispatchRuleResponse.DispatchRule.GroupRules["+ i +"].GroupWaitTime"));
groupRule.setGroupInterval(_ctx.longValue("DescribeDispatchRuleResponse.DispatchRule.GroupRules["+ i +"].GroupInterval"));
List<String> groupingFields = new ArrayList<String>();
for (int j = 0; j < _ctx.lengthValue("DescribeDispatchRuleResponse.DispatchRule.GroupRules["+ i +"].GroupingFields.Length"); j++) {
groupingFields.add(_ctx.stringValue("DescribeDispatchRuleResponse.DispatchRule.GroupRules["+ i +"].GroupingFields["+ j +"]"));
}
groupRule.setGroupingFields(groupingFields);
groupRules.add(groupRule);
}
dispatchRule.setGroupRules(groupRules);
List<NotifyRule> notifyRules = new ArrayList<NotifyRule>();
for (int i = 0; i < _ctx.lengthValue("DescribeDispatchRuleResponse.DispatchRule.NotifyRules.Length"); i++) {
NotifyRule notifyRule = new NotifyRule();
List<String> notifyChannels = new ArrayList<String>();
for (int j = 0; j < _ctx.lengthValue("DescribeDispatchRuleResponse.DispatchRule.NotifyRules["+ i +"].NotifyChannels.Length"); j++) {
notifyChannels.add(_ctx.stringValue("DescribeDispatchRuleResponse.DispatchRule.NotifyRules["+ i +"].NotifyChannels["+ j +"]"));
}
notifyRule.setNotifyChannels(notifyChannels);
List<NotifyObject> notifyObjects = new ArrayList<NotifyObject>();
for (int j = 0; j < _ctx.lengthValue("DescribeDispatchRuleResponse.DispatchRule.NotifyRules["+ i +"].NotifyObjects.Length"); j++) {
NotifyObject notifyObject = new NotifyObject();
notifyObject.setNotifyObjectId(_ctx.stringValue("DescribeDispatchRuleResponse.DispatchRule.NotifyRules["+ i +"].NotifyObjects["+ j +"].NotifyObjectId"));
notifyObject.setNotifyType(_ctx.stringValue("DescribeDispatchRuleResponse.DispatchRule.NotifyRules["+ i +"].NotifyObjects["+ j +"].NotifyType"));
notifyObject.setName(_ctx.stringValue("DescribeDispatchRuleResponse.DispatchRule.NotifyRules["+ i +"].NotifyObjects["+ j +"].Name"));
notifyObjects.add(notifyObject);
}
notifyRule.setNotifyObjects(notifyObjects);
notifyRules.add(notifyRule);
}
dispatchRule.setNotifyRules(notifyRules);
describeDispatchRuleResponse.setDispatchRule(dispatchRule);
return describeDispatchRuleResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/DescribeEnvCustomJobResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import com.aliyuncs.arms.model.v20190808.DescribeEnvCustomJobResponse;
import com.aliyuncs.arms.model.v20190808.DescribeEnvCustomJobResponse.Data;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeEnvCustomJobResponseUnmarshaller {
public static DescribeEnvCustomJobResponse unmarshall(DescribeEnvCustomJobResponse describeEnvCustomJobResponse, UnmarshallerContext _ctx) {
describeEnvCustomJobResponse.setRequestId(_ctx.stringValue("DescribeEnvCustomJobResponse.RequestId"));
describeEnvCustomJobResponse.setCode(_ctx.integerValue("DescribeEnvCustomJobResponse.Code"));
describeEnvCustomJobResponse.setMessage(_ctx.stringValue("DescribeEnvCustomJobResponse.Message"));
Data data = new Data();
data.setEnvironmentId(_ctx.stringValue("DescribeEnvCustomJobResponse.Data.EnvironmentId"));
data.setRegionId(_ctx.stringValue("DescribeEnvCustomJobResponse.Data.RegionId"));
data.setCustomJobName(_ctx.stringValue("DescribeEnvCustomJobResponse.Data.CustomJobName"));
data.setConfigYaml(_ctx.stringValue("DescribeEnvCustomJobResponse.Data.ConfigYaml"));
data.setStatus(_ctx.stringValue("DescribeEnvCustomJobResponse.Data.Status"));
describeEnvCustomJobResponse.setData(data);
return describeEnvCustomJobResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/DescribeEnvPodMonitorResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import com.aliyuncs.arms.model.v20190808.DescribeEnvPodMonitorResponse;
import com.aliyuncs.arms.model.v20190808.DescribeEnvPodMonitorResponse.Data;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeEnvPodMonitorResponseUnmarshaller {
public static DescribeEnvPodMonitorResponse unmarshall(DescribeEnvPodMonitorResponse describeEnvPodMonitorResponse, UnmarshallerContext _ctx) {
describeEnvPodMonitorResponse.setRequestId(_ctx.stringValue("DescribeEnvPodMonitorResponse.RequestId"));
describeEnvPodMonitorResponse.setCode(_ctx.integerValue("DescribeEnvPodMonitorResponse.Code"));
describeEnvPodMonitorResponse.setMessage(_ctx.stringValue("DescribeEnvPodMonitorResponse.Message"));
Data data = new Data();
data.setEnvironmentId(_ctx.stringValue("DescribeEnvPodMonitorResponse.Data.EnvironmentId"));
data.setRegionId(_ctx.stringValue("DescribeEnvPodMonitorResponse.Data.RegionId"));
data.setNamespace(_ctx.stringValue("DescribeEnvPodMonitorResponse.Data.Namespace"));
data.setPodMonitorName(_ctx.stringValue("DescribeEnvPodMonitorResponse.Data.PodMonitorName"));
data.setConfigYaml(_ctx.stringValue("DescribeEnvPodMonitorResponse.Data.ConfigYaml"));
data.setStatus(_ctx.stringValue("DescribeEnvPodMonitorResponse.Data.Status"));
describeEnvPodMonitorResponse.setData(data);
return describeEnvPodMonitorResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/DescribeEnvServiceMonitorResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import com.aliyuncs.arms.model.v20190808.DescribeEnvServiceMonitorResponse;
import com.aliyuncs.arms.model.v20190808.DescribeEnvServiceMonitorResponse.Data;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeEnvServiceMonitorResponseUnmarshaller {
public static DescribeEnvServiceMonitorResponse unmarshall(DescribeEnvServiceMonitorResponse describeEnvServiceMonitorResponse, UnmarshallerContext _ctx) {
describeEnvServiceMonitorResponse.setRequestId(_ctx.stringValue("DescribeEnvServiceMonitorResponse.RequestId"));
describeEnvServiceMonitorResponse.setCode(_ctx.integerValue("DescribeEnvServiceMonitorResponse.Code"));
describeEnvServiceMonitorResponse.setMessage(_ctx.stringValue("DescribeEnvServiceMonitorResponse.Message"));
Data data = new Data();
data.setEnvironmentId(_ctx.stringValue("DescribeEnvServiceMonitorResponse.Data.EnvironmentId"));
data.setNamespace(_ctx.stringValue("DescribeEnvServiceMonitorResponse.Data.Namespace"));
data.setRegionId(_ctx.stringValue("DescribeEnvServiceMonitorResponse.Data.RegionId"));
data.setServiceMonitorName(_ctx.stringValue("DescribeEnvServiceMonitorResponse.Data.ServiceMonitorName"));
data.setConfigYaml(_ctx.stringValue("DescribeEnvServiceMonitorResponse.Data.ConfigYaml"));
data.setStatus(_ctx.stringValue("DescribeEnvServiceMonitorResponse.Data.Status"));
describeEnvServiceMonitorResponse.setData(data);
return describeEnvServiceMonitorResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/DescribeEnvironmentFeatureResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.arms.model.v20190808.DescribeEnvironmentFeatureResponse;
import com.aliyuncs.arms.model.v20190808.DescribeEnvironmentFeatureResponse.Data;
import com.aliyuncs.arms.model.v20190808.DescribeEnvironmentFeatureResponse.Data.Feature;
import com.aliyuncs.arms.model.v20190808.DescribeEnvironmentFeatureResponse.Data.FeatureStatus;
import com.aliyuncs.arms.model.v20190808.DescribeEnvironmentFeatureResponse.Data.FeatureStatus.FeatureContainersItem;
import java.util.Map;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeEnvironmentFeatureResponseUnmarshaller {
public static DescribeEnvironmentFeatureResponse unmarshall(DescribeEnvironmentFeatureResponse describeEnvironmentFeatureResponse, UnmarshallerContext _ctx) {
describeEnvironmentFeatureResponse.setRequestId(_ctx.stringValue("DescribeEnvironmentFeatureResponse.RequestId"));
describeEnvironmentFeatureResponse.setCode(_ctx.integerValue("DescribeEnvironmentFeatureResponse.Code"));
describeEnvironmentFeatureResponse.setMessage(_ctx.stringValue("DescribeEnvironmentFeatureResponse.Message"));
describeEnvironmentFeatureResponse.setSuccess(_ctx.booleanValue("DescribeEnvironmentFeatureResponse.Success"));
Data data = new Data();
data.setConfig(_ctx.stringValue("DescribeEnvironmentFeatureResponse.Data.config"));
Feature feature = new Feature();
feature.setAlias(_ctx.stringValue("DescribeEnvironmentFeatureResponse.Data.Feature.Alias"));
feature.setConfig(_ctx.mapValue("DescribeEnvironmentFeatureResponse.Data.Feature.Config"));
feature.setDescription(_ctx.stringValue("DescribeEnvironmentFeatureResponse.Data.Feature.Description"));
feature.setEnvironmentId(_ctx.stringValue("DescribeEnvironmentFeatureResponse.Data.Feature.EnvironmentId"));
feature.setIcon(_ctx.stringValue("DescribeEnvironmentFeatureResponse.Data.Feature.Icon"));
feature.setLanguage(_ctx.stringValue("DescribeEnvironmentFeatureResponse.Data.Feature.Language"));
feature.setLatestVersion(_ctx.stringValue("DescribeEnvironmentFeatureResponse.Data.Feature.LatestVersion"));
feature.setName(_ctx.stringValue("DescribeEnvironmentFeatureResponse.Data.Feature.Name"));
feature.setStatus(_ctx.stringValue("DescribeEnvironmentFeatureResponse.Data.Feature.Status"));
feature.setVersion(_ctx.stringValue("DescribeEnvironmentFeatureResponse.Data.Feature.Version"));
feature.setManaged(_ctx.booleanValue("DescribeEnvironmentFeatureResponse.Data.Feature.Managed"));
data.setFeature(feature);
FeatureStatus featureStatus = new FeatureStatus();
featureStatus.setName(_ctx.stringValue("DescribeEnvironmentFeatureResponse.Data.FeatureStatus.Name"));
featureStatus.setNamespace(_ctx.stringValue("DescribeEnvironmentFeatureResponse.Data.FeatureStatus.Namespace"));
featureStatus.setStatus(_ctx.stringValue("DescribeEnvironmentFeatureResponse.Data.FeatureStatus.Status"));
featureStatus.setSecurityGroupId(_ctx.stringValue("DescribeEnvironmentFeatureResponse.Data.FeatureStatus.SecurityGroupId"));
featureStatus.setVSwitchId(_ctx.stringValue("DescribeEnvironmentFeatureResponse.Data.FeatureStatus.VSwitchId"));
featureStatus.setBindResourceId(_ctx.stringValue("DescribeEnvironmentFeatureResponse.Data.FeatureStatus.BindResourceId"));
List<String> ips = new ArrayList<String>();
for (int i = 0; i < _ctx.lengthValue("DescribeEnvironmentFeatureResponse.Data.FeatureStatus.Ips.Length"); i++) {
ips.add(_ctx.stringValue("DescribeEnvironmentFeatureResponse.Data.FeatureStatus.Ips["+ i +"]"));
}
featureStatus.setIps(ips);
List<FeatureContainersItem> featureContainers = new ArrayList<FeatureContainersItem>();
for (int i = 0; i < _ctx.lengthValue("DescribeEnvironmentFeatureResponse.Data.FeatureStatus.FeatureContainers.Length"); i++) {
FeatureContainersItem featureContainersItem = new FeatureContainersItem();
featureContainersItem.setImage(_ctx.stringValue("DescribeEnvironmentFeatureResponse.Data.FeatureStatus.FeatureContainers["+ i +"].Image"));
featureContainersItem.setName(_ctx.stringValue("DescribeEnvironmentFeatureResponse.Data.FeatureStatus.FeatureContainers["+ i +"].Name"));
List<String> args = new ArrayList<String>();
for (int j = 0; j < _ctx.lengthValue("DescribeEnvironmentFeatureResponse.Data.FeatureStatus.FeatureContainers["+ i +"].Args.Length"); j++) {
args.add(_ctx.stringValue("DescribeEnvironmentFeatureResponse.Data.FeatureStatus.FeatureContainers["+ i +"].Args["+ j +"]"));
}
featureContainersItem.setArgs(args);
featureContainers.add(featureContainersItem);
}
featureStatus.setFeatureContainers(featureContainers);
data.setFeatureStatus(featureStatus);
describeEnvironmentFeatureResponse.setData(data);
return describeEnvironmentFeatureResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/DescribeEnvironmentResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.arms.model.v20190808.DescribeEnvironmentResponse;
import com.aliyuncs.arms.model.v20190808.DescribeEnvironmentResponse.Data;
import com.aliyuncs.arms.model.v20190808.DescribeEnvironmentResponse.Data.TagsItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeEnvironmentResponseUnmarshaller {
public static DescribeEnvironmentResponse unmarshall(DescribeEnvironmentResponse describeEnvironmentResponse, UnmarshallerContext _ctx) {
describeEnvironmentResponse.setRequestId(_ctx.stringValue("DescribeEnvironmentResponse.RequestId"));
describeEnvironmentResponse.setCode(_ctx.integerValue("DescribeEnvironmentResponse.Code"));
describeEnvironmentResponse.setMessage(_ctx.stringValue("DescribeEnvironmentResponse.Message"));
Data data = new Data();
data.setEnvironmentId(_ctx.stringValue("DescribeEnvironmentResponse.Data.EnvironmentId"));
data.setEnvironmentType(_ctx.stringValue("DescribeEnvironmentResponse.Data.EnvironmentType"));
data.setEnvironmentName(_ctx.stringValue("DescribeEnvironmentResponse.Data.EnvironmentName"));
data.setEnvironmentSubType(_ctx.stringValue("DescribeEnvironmentResponse.Data.EnvironmentSubType"));
data.setRegionId(_ctx.stringValue("DescribeEnvironmentResponse.Data.RegionId"));
data.setUserId(_ctx.stringValue("DescribeEnvironmentResponse.Data.UserId"));
data.setBindResourceId(_ctx.stringValue("DescribeEnvironmentResponse.Data.BindResourceId"));
data.setBindResourceType(_ctx.stringValue("DescribeEnvironmentResponse.Data.BindResourceType"));
data.setBindResourceStatus(_ctx.stringValue("DescribeEnvironmentResponse.Data.BindResourceStatus"));
data.setBindResourceProfile(_ctx.stringValue("DescribeEnvironmentResponse.Data.BindResourceProfile"));
data.setBindVpcCidr(_ctx.stringValue("DescribeEnvironmentResponse.Data.BindVpcCidr"));
data.setPrometheusInstanceId(_ctx.stringValue("DescribeEnvironmentResponse.Data.PrometheusInstanceId"));
data.setPrometheusInstanceName(_ctx.stringValue("DescribeEnvironmentResponse.Data.PrometheusInstanceName"));
data.setGrafanaWorkspaceId(_ctx.stringValue("DescribeEnvironmentResponse.Data.GrafanaWorkspaceId"));
data.setGrafanaFolderUid(_ctx.stringValue("DescribeEnvironmentResponse.Data.GrafanaFolderUid"));
data.setGrafanaDatasourceUid(_ctx.stringValue("DescribeEnvironmentResponse.Data.GrafanaDatasourceUid"));
data.setVpcId(_ctx.stringValue("DescribeEnvironmentResponse.Data.VpcId"));
data.setGrafanaFolderUrl(_ctx.stringValue("DescribeEnvironmentResponse.Data.GrafanaFolderUrl"));
data.setBindResourceStoreDuration(_ctx.stringValue("DescribeEnvironmentResponse.Data.BindResourceStoreDuration"));
data.setGrafaDataSourceName(_ctx.stringValue("DescribeEnvironmentResponse.Data.GrafaDataSourceName"));
data.setGrafanaFolderTitle(_ctx.stringValue("DescribeEnvironmentResponse.Data.GrafanaFolderTitle"));
data.setManagedType(_ctx.stringValue("DescribeEnvironmentResponse.Data.ManagedType"));
data.setFeePackage(_ctx.stringValue("DescribeEnvironmentResponse.Data.FeePackage"));
data.setDbInstanceStatus(_ctx.stringValue("DescribeEnvironmentResponse.Data.DbInstanceStatus"));
data.setSecurityGroupId(_ctx.stringValue("DescribeEnvironmentResponse.Data.SecurityGroupId"));
data.setVswitchId(_ctx.stringValue("DescribeEnvironmentResponse.Data.VswitchId"));
data.setResourceGroupId(_ctx.stringValue("DescribeEnvironmentResponse.Data.ResourceGroupId"));
List<TagsItem> tags = new ArrayList<TagsItem>();
for (int i = 0; i < _ctx.lengthValue("DescribeEnvironmentResponse.Data.Tags.Length"); i++) {
TagsItem tagsItem = new TagsItem();
tagsItem.setKey(_ctx.stringValue("DescribeEnvironmentResponse.Data.Tags["+ i +"].Key"));
tagsItem.setValue(_ctx.stringValue("DescribeEnvironmentResponse.Data.Tags["+ i +"].Value"));
tags.add(tagsItem);
}
data.setTags(tags);
describeEnvironmentResponse.setData(data);
return describeEnvironmentResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/DescribeIMRobotsResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.arms.model.v20190808.DescribeIMRobotsResponse;
import com.aliyuncs.arms.model.v20190808.DescribeIMRobotsResponse.PageBean;
import com.aliyuncs.arms.model.v20190808.DescribeIMRobotsResponse.PageBean.IMRobots;
import com.aliyuncs.arms.model.v20190808.DescribeIMRobotsResponse.PageBean.IMRobots.DispatchRule;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeIMRobotsResponseUnmarshaller {
public static DescribeIMRobotsResponse unmarshall(DescribeIMRobotsResponse describeIMRobotsResponse, UnmarshallerContext _ctx) {
describeIMRobotsResponse.setRequestId(_ctx.stringValue("DescribeIMRobotsResponse.RequestId"));
PageBean pageBean = new PageBean();
pageBean.setTotal(_ctx.longValue("DescribeIMRobotsResponse.PageBean.Total"));
pageBean.setPage(_ctx.longValue("DescribeIMRobotsResponse.PageBean.Page"));
pageBean.setSize(_ctx.longValue("DescribeIMRobotsResponse.PageBean.Size"));
List<IMRobots> alertIMRobots = new ArrayList<IMRobots>();
for (int i = 0; i < _ctx.lengthValue("DescribeIMRobotsResponse.PageBean.AlertIMRobots.Length"); i++) {
IMRobots iMRobots = new IMRobots();
iMRobots.setRobotId(_ctx.floatValue("DescribeIMRobotsResponse.PageBean.AlertIMRobots["+ i +"].RobotId"));
iMRobots.setType(_ctx.stringValue("DescribeIMRobotsResponse.PageBean.AlertIMRobots["+ i +"].Type"));
iMRobots.setRobotName(_ctx.stringValue("DescribeIMRobotsResponse.PageBean.AlertIMRobots["+ i +"].RobotName"));
iMRobots.setRobotAddr(_ctx.stringValue("DescribeIMRobotsResponse.PageBean.AlertIMRobots["+ i +"].RobotAddr"));
iMRobots.setDailyNoc(_ctx.booleanValue("DescribeIMRobotsResponse.PageBean.AlertIMRobots["+ i +"].DailyNoc"));
iMRobots.setDailyNocTime(_ctx.stringValue("DescribeIMRobotsResponse.PageBean.AlertIMRobots["+ i +"].DailyNocTime"));
iMRobots.setDingSignKey(_ctx.stringValue("DescribeIMRobotsResponse.PageBean.AlertIMRobots["+ i +"].DingSignKey"));
iMRobots.setCreateTime(_ctx.stringValue("DescribeIMRobotsResponse.PageBean.AlertIMRobots["+ i +"].CreateTime"));
List<DispatchRule> dispatchRules = new ArrayList<DispatchRule>();
for (int j = 0; j < _ctx.lengthValue("DescribeIMRobotsResponse.PageBean.AlertIMRobots["+ i +"].DispatchRules.Length"); j++) {
DispatchRule dispatchRule = new DispatchRule();
dispatchRule.setId(_ctx.longValue("DescribeIMRobotsResponse.PageBean.AlertIMRobots["+ i +"].DispatchRules["+ j +"].id"));
dispatchRule.setName(_ctx.stringValue("DescribeIMRobotsResponse.PageBean.AlertIMRobots["+ i +"].DispatchRules["+ j +"].name"));
dispatchRules.add(dispatchRule);
}
iMRobots.setDispatchRules(dispatchRules);
alertIMRobots.add(iMRobots);
}
pageBean.setAlertIMRobots(alertIMRobots);
describeIMRobotsResponse.setPageBean(pageBean);
return describeIMRobotsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/DescribePrometheusAlertRuleResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.arms.model.v20190808.DescribePrometheusAlertRuleResponse;
import com.aliyuncs.arms.model.v20190808.DescribePrometheusAlertRuleResponse.PrometheusAlertRule;
import com.aliyuncs.arms.model.v20190808.DescribePrometheusAlertRuleResponse.PrometheusAlertRule.Annotation;
import com.aliyuncs.arms.model.v20190808.DescribePrometheusAlertRuleResponse.PrometheusAlertRule.Label;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribePrometheusAlertRuleResponseUnmarshaller {
public static DescribePrometheusAlertRuleResponse unmarshall(DescribePrometheusAlertRuleResponse describePrometheusAlertRuleResponse, UnmarshallerContext _ctx) {
describePrometheusAlertRuleResponse.setRequestId(_ctx.stringValue("DescribePrometheusAlertRuleResponse.RequestId"));
describePrometheusAlertRuleResponse.setCode(_ctx.longValue("DescribePrometheusAlertRuleResponse.Code"));
describePrometheusAlertRuleResponse.setSuccess(_ctx.booleanValue("DescribePrometheusAlertRuleResponse.Success"));
describePrometheusAlertRuleResponse.setMessage(_ctx.stringValue("DescribePrometheusAlertRuleResponse.Message"));
PrometheusAlertRule prometheusAlertRule = new PrometheusAlertRule();
prometheusAlertRule.setStatus(_ctx.integerValue("DescribePrometheusAlertRuleResponse.PrometheusAlertRule.Status"));
prometheusAlertRule.setType(_ctx.stringValue("DescribePrometheusAlertRuleResponse.PrometheusAlertRule.Type"));
prometheusAlertRule.setNotifyType(_ctx.stringValue("DescribePrometheusAlertRuleResponse.PrometheusAlertRule.NotifyType"));
prometheusAlertRule.setExpression(_ctx.stringValue("DescribePrometheusAlertRuleResponse.PrometheusAlertRule.Expression"));
prometheusAlertRule.setMessage(_ctx.stringValue("DescribePrometheusAlertRuleResponse.PrometheusAlertRule.Message"));
prometheusAlertRule.setDuration(_ctx.stringValue("DescribePrometheusAlertRuleResponse.PrometheusAlertRule.Duration"));
prometheusAlertRule.setDispatchRuleId(_ctx.longValue("DescribePrometheusAlertRuleResponse.PrometheusAlertRule.DispatchRuleId"));
prometheusAlertRule.setAlertName(_ctx.stringValue("DescribePrometheusAlertRuleResponse.PrometheusAlertRule.AlertName"));
prometheusAlertRule.setAlertId(_ctx.longValue("DescribePrometheusAlertRuleResponse.PrometheusAlertRule.AlertId"));
prometheusAlertRule.setClusterId(_ctx.stringValue("DescribePrometheusAlertRuleResponse.PrometheusAlertRule.ClusterId"));
List<Label> labels = new ArrayList<Label>();
for (int i = 0; i < _ctx.lengthValue("DescribePrometheusAlertRuleResponse.PrometheusAlertRule.Labels.Length"); i++) {
Label label = new Label();
label.setName(_ctx.stringValue("DescribePrometheusAlertRuleResponse.PrometheusAlertRule.Labels["+ i +"].Name"));
label.setValue(_ctx.stringValue("DescribePrometheusAlertRuleResponse.PrometheusAlertRule.Labels["+ i +"].Value"));
labels.add(label);
}
prometheusAlertRule.setLabels(labels);
List<Annotation> annotations = new ArrayList<Annotation>();
for (int i = 0; i < _ctx.lengthValue("DescribePrometheusAlertRuleResponse.PrometheusAlertRule.Annotations.Length"); i++) {
Annotation annotation = new Annotation();
annotation.setName(_ctx.stringValue("DescribePrometheusAlertRuleResponse.PrometheusAlertRule.Annotations["+ i +"].Name"));
annotation.setValue(_ctx.stringValue("DescribePrometheusAlertRuleResponse.PrometheusAlertRule.Annotations["+ i +"].Value"));
annotations.add(annotation);
}
prometheusAlertRule.setAnnotations(annotations);
describePrometheusAlertRuleResponse.setPrometheusAlertRule(prometheusAlertRule);
return describePrometheusAlertRuleResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/DescribeTraceLicenseKeyResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import com.aliyuncs.arms.model.v20190808.DescribeTraceLicenseKeyResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeTraceLicenseKeyResponseUnmarshaller {
public static DescribeTraceLicenseKeyResponse unmarshall(DescribeTraceLicenseKeyResponse describeTraceLicenseKeyResponse, UnmarshallerContext _ctx) {
describeTraceLicenseKeyResponse.setRequestId(_ctx.stringValue("DescribeTraceLicenseKeyResponse.RequestId"));
describeTraceLicenseKeyResponse.setLicenseKey(_ctx.stringValue("DescribeTraceLicenseKeyResponse.LicenseKey"));
return describeTraceLicenseKeyResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/DescribeWebhookContactsResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.arms.model.v20190808.DescribeWebhookContactsResponse;
import com.aliyuncs.arms.model.v20190808.DescribeWebhookContactsResponse.PageBean;
import com.aliyuncs.arms.model.v20190808.DescribeWebhookContactsResponse.PageBean.WebhookContactsItem;
import com.aliyuncs.arms.model.v20190808.DescribeWebhookContactsResponse.PageBean.WebhookContactsItem.Webhook;
import java.util.Map;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeWebhookContactsResponseUnmarshaller {
public static DescribeWebhookContactsResponse unmarshall(DescribeWebhookContactsResponse describeWebhookContactsResponse, UnmarshallerContext _ctx) {
describeWebhookContactsResponse.setRequestId(_ctx.stringValue("DescribeWebhookContactsResponse.RequestId"));
PageBean pageBean = new PageBean();
pageBean.setTotal(_ctx.longValue("DescribeWebhookContactsResponse.PageBean.Total"));
pageBean.setPage(_ctx.longValue("DescribeWebhookContactsResponse.PageBean.Page"));
pageBean.setSize(_ctx.longValue("DescribeWebhookContactsResponse.PageBean.Size"));
List<WebhookContactsItem> webhookContacts = new ArrayList<WebhookContactsItem>();
for (int i = 0; i < _ctx.lengthValue("DescribeWebhookContactsResponse.PageBean.WebhookContacts.Length"); i++) {
WebhookContactsItem webhookContactsItem = new WebhookContactsItem();
webhookContactsItem.setWebhookId(_ctx.floatValue("DescribeWebhookContactsResponse.PageBean.WebhookContacts["+ i +"].WebhookId"));
webhookContactsItem.setWebhookName(_ctx.stringValue("DescribeWebhookContactsResponse.PageBean.WebhookContacts["+ i +"].WebhookName"));
webhookContactsItem.setArmsContactId(_ctx.longValue("DescribeWebhookContactsResponse.PageBean.WebhookContacts["+ i +"].ArmsContactId"));
Webhook webhook = new Webhook();
webhook.setBizMethod(_ctx.stringValue("DescribeWebhookContactsResponse.PageBean.WebhookContacts["+ i +"].Webhook.Method"));
webhook.setUrl(_ctx.stringValue("DescribeWebhookContactsResponse.PageBean.WebhookContacts["+ i +"].Webhook.Url"));
webhook.setBizHeaders(_ctx.mapValue("DescribeWebhookContactsResponse.PageBean.WebhookContacts["+ i +"].Webhook.BizHeaders"));
webhook.setBizParams(_ctx.mapValue("DescribeWebhookContactsResponse.PageBean.WebhookContacts["+ i +"].Webhook.BizParams"));
webhook.setBody(_ctx.stringValue("DescribeWebhookContactsResponse.PageBean.WebhookContacts["+ i +"].Webhook.Body"));
webhook.setRecoverBody(_ctx.stringValue("DescribeWebhookContactsResponse.PageBean.WebhookContacts["+ i +"].Webhook.RecoverBody"));
webhookContactsItem.setWebhook(webhook);
webhookContacts.add(webhookContactsItem);
}
pageBean.setWebhookContacts(webhookContacts);
describeWebhookContactsResponse.setPageBean(pageBean);
return describeWebhookContactsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/DoInsightsActionResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import com.aliyuncs.arms.model.v20190808.DoInsightsActionResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DoInsightsActionResponseUnmarshaller {
public static DoInsightsActionResponse unmarshall(DoInsightsActionResponse doInsightsActionResponse, UnmarshallerContext _ctx) {
doInsightsActionResponse.setRequestId(_ctx.stringValue("DoInsightsActionResponse.RequestId"));
doInsightsActionResponse.setCode(_ctx.integerValue("DoInsightsActionResponse.Code"));
doInsightsActionResponse.setSuccess(_ctx.booleanValue("DoInsightsActionResponse.Success"));
doInsightsActionResponse.setMessage(_ctx.stringValue("DoInsightsActionResponse.Message"));
doInsightsActionResponse.setData(_ctx.stringValue("DoInsightsActionResponse.Data"));
return doInsightsActionResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/EnableMetricResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import com.aliyuncs.arms.model.v20190808.EnableMetricResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class EnableMetricResponseUnmarshaller {
public static EnableMetricResponse unmarshall(EnableMetricResponse enableMetricResponse, UnmarshallerContext _ctx) {
enableMetricResponse.setRequestId(_ctx.stringValue("EnableMetricResponse.RequestId"));
enableMetricResponse.setSuccess(_ctx.booleanValue("EnableMetricResponse.Success"));
enableMetricResponse.setData(_ctx.stringValue("EnableMetricResponse.Data"));
enableMetricResponse.setCode(_ctx.longValue("EnableMetricResponse.Code"));
enableMetricResponse.setMessage(_ctx.stringValue("EnableMetricResponse.Message"));
return enableMetricResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/GetAgentDownloadUrlResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import com.aliyuncs.arms.model.v20190808.GetAgentDownloadUrlResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetAgentDownloadUrlResponseUnmarshaller {
public static GetAgentDownloadUrlResponse unmarshall(GetAgentDownloadUrlResponse getAgentDownloadUrlResponse, UnmarshallerContext _ctx) {
getAgentDownloadUrlResponse.setRequestId(_ctx.stringValue("GetAgentDownloadUrlResponse.RequestId"));
getAgentDownloadUrlResponse.setArmsAgentDownloadUrl(_ctx.stringValue("GetAgentDownloadUrlResponse.ArmsAgentDownloadUrl"));
return getAgentDownloadUrlResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/GetAgentDownloadUrlV2ResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import com.aliyuncs.arms.model.v20190808.GetAgentDownloadUrlV2Response;
import com.aliyuncs.arms.model.v20190808.GetAgentDownloadUrlV2Response.Data;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetAgentDownloadUrlV2ResponseUnmarshaller {
public static GetAgentDownloadUrlV2Response unmarshall(GetAgentDownloadUrlV2Response getAgentDownloadUrlV2Response, UnmarshallerContext _ctx) {
getAgentDownloadUrlV2Response.setRequestId(_ctx.stringValue("GetAgentDownloadUrlV2Response.RequestId"));
getAgentDownloadUrlV2Response.setMessage(_ctx.stringValue("GetAgentDownloadUrlV2Response.Message"));
getAgentDownloadUrlV2Response.setCode(_ctx.longValue("GetAgentDownloadUrlV2Response.Code"));
getAgentDownloadUrlV2Response.setSuccess(_ctx.booleanValue("GetAgentDownloadUrlV2Response.Success"));
Data data = new Data();
data.setVersion(_ctx.stringValue("GetAgentDownloadUrlV2Response.Data.Version"));
data.setUrl(_ctx.stringValue("GetAgentDownloadUrlV2Response.Data.Url"));
getAgentDownloadUrlV2Response.setData(data);
return getAgentDownloadUrlV2Response;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/GetAlertRulesResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.arms.model.v20190808.GetAlertRulesResponse;
import com.aliyuncs.arms.model.v20190808.GetAlertRulesResponse.PageBean;
import com.aliyuncs.arms.model.v20190808.GetAlertRulesResponse.PageBean.AlertRulesItem;
import com.aliyuncs.arms.model.v20190808.GetAlertRulesResponse.PageBean.AlertRulesItem.AlertRuleContent;
import com.aliyuncs.arms.model.v20190808.GetAlertRulesResponse.PageBean.AlertRulesItem.AlertRuleContent.AlertRuleItemsItem;
import com.aliyuncs.arms.model.v20190808.GetAlertRulesResponse.PageBean.AlertRulesItem.AnnotationsItem;
import com.aliyuncs.arms.model.v20190808.GetAlertRulesResponse.PageBean.AlertRulesItem.Filters;
import com.aliyuncs.arms.model.v20190808.GetAlertRulesResponse.PageBean.AlertRulesItem.Filters.CustomSLSFiltersItem;
import com.aliyuncs.arms.model.v20190808.GetAlertRulesResponse.PageBean.AlertRulesItem.Filters.DimFiltersItem;
import com.aliyuncs.arms.model.v20190808.GetAlertRulesResponse.PageBean.AlertRulesItem.LabelsItem;
import com.aliyuncs.arms.model.v20190808.GetAlertRulesResponse.PageBean.AlertRulesItem.TagsItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetAlertRulesResponseUnmarshaller {
public static GetAlertRulesResponse unmarshall(GetAlertRulesResponse getAlertRulesResponse, UnmarshallerContext _ctx) {
getAlertRulesResponse.setRequestId(_ctx.stringValue("GetAlertRulesResponse.RequestId"));
PageBean pageBean = new PageBean();
pageBean.setTotal(_ctx.longValue("GetAlertRulesResponse.PageBean.Total"));
pageBean.setPage(_ctx.longValue("GetAlertRulesResponse.PageBean.Page"));
pageBean.setSize(_ctx.longValue("GetAlertRulesResponse.PageBean.Size"));
List<AlertRulesItem> alertRules = new ArrayList<AlertRulesItem>();
for (int i = 0; i < _ctx.lengthValue("GetAlertRulesResponse.PageBean.AlertRules.Length"); i++) {
AlertRulesItem alertRulesItem = new AlertRulesItem();
alertRulesItem.setAlertId(_ctx.longValue("GetAlertRulesResponse.PageBean.AlertRules["+ i +"].AlertId"));
alertRulesItem.setAlertName(_ctx.stringValue("GetAlertRulesResponse.PageBean.AlertRules["+ i +"].AlertName"));
alertRulesItem.setUserId(_ctx.stringValue("GetAlertRulesResponse.PageBean.AlertRules["+ i +"].UserId"));
alertRulesItem.setRegionId(_ctx.stringValue("GetAlertRulesResponse.PageBean.AlertRules["+ i +"].RegionId"));
alertRulesItem.setAlertType(_ctx.stringValue("GetAlertRulesResponse.PageBean.AlertRules["+ i +"].AlertType"));
alertRulesItem.setAlertStatus(_ctx.stringValue("GetAlertRulesResponse.PageBean.AlertRules["+ i +"].AlertStatus"));
alertRulesItem.setCreatedTime(_ctx.longValue("GetAlertRulesResponse.PageBean.AlertRules["+ i +"].CreatedTime"));
alertRulesItem.setUpdatedTime(_ctx.longValue("GetAlertRulesResponse.PageBean.AlertRules["+ i +"].UpdatedTime"));
alertRulesItem.setExtend(_ctx.stringValue("GetAlertRulesResponse.PageBean.AlertRules["+ i +"].Extend"));
alertRulesItem.setNotifyStrategy(_ctx.stringValue("GetAlertRulesResponse.PageBean.AlertRules["+ i +"].NotifyStrategy"));
alertRulesItem.setAutoAddNewApplication(_ctx.booleanValue("GetAlertRulesResponse.PageBean.AlertRules["+ i +"].AutoAddNewApplication"));
alertRulesItem.setMetricsType(_ctx.stringValue("GetAlertRulesResponse.PageBean.AlertRules["+ i +"].MetricsType"));
alertRulesItem.setAlertCheckType(_ctx.stringValue("GetAlertRulesResponse.PageBean.AlertRules["+ i +"].AlertCheckType"));
alertRulesItem.setClusterId(_ctx.stringValue("GetAlertRulesResponse.PageBean.AlertRules["+ i +"].ClusterId"));
alertRulesItem.setAlertGroup(_ctx.longValue("GetAlertRulesResponse.PageBean.AlertRules["+ i +"].AlertGroup"));
alertRulesItem.setPromQL(_ctx.stringValue("GetAlertRulesResponse.PageBean.AlertRules["+ i +"].PromQL"));
alertRulesItem.setDuration(_ctx.stringValue("GetAlertRulesResponse.PageBean.AlertRules["+ i +"].Duration"));
alertRulesItem.setLevel(_ctx.stringValue("GetAlertRulesResponse.PageBean.AlertRules["+ i +"].Level"));
alertRulesItem.setMessage(_ctx.stringValue("GetAlertRulesResponse.PageBean.AlertRules["+ i +"].Message"));
alertRulesItem.setDurationCompareType(_ctx.stringValue("GetAlertRulesResponse.PageBean.AlertRules["+ i +"].DurationCompareType"));
List<String> pids = new ArrayList<String>();
for (int j = 0; j < _ctx.lengthValue("GetAlertRulesResponse.PageBean.AlertRules["+ i +"].Pids.Length"); j++) {
pids.add(_ctx.stringValue("GetAlertRulesResponse.PageBean.AlertRules["+ i +"].Pids["+ j +"]"));
}
alertRulesItem.setPids(pids);
AlertRuleContent alertRuleContent = new AlertRuleContent();
alertRuleContent.setCondition(_ctx.stringValue("GetAlertRulesResponse.PageBean.AlertRules["+ i +"].AlertRuleContent.Condition"));
List<AlertRuleItemsItem> alertRuleItems = new ArrayList<AlertRuleItemsItem>();
for (int j = 0; j < _ctx.lengthValue("GetAlertRulesResponse.PageBean.AlertRules["+ i +"].AlertRuleContent.AlertRuleItems.Length"); j++) {
AlertRuleItemsItem alertRuleItemsItem = new AlertRuleItemsItem();
alertRuleItemsItem.setN(_ctx.longValue("GetAlertRulesResponse.PageBean.AlertRules["+ i +"].AlertRuleContent.AlertRuleItems["+ j +"].N"));
alertRuleItemsItem.setMetricKey(_ctx.stringValue("GetAlertRulesResponse.PageBean.AlertRules["+ i +"].AlertRuleContent.AlertRuleItems["+ j +"].MetricKey"));
alertRuleItemsItem.setAggregate(_ctx.stringValue("GetAlertRulesResponse.PageBean.AlertRules["+ i +"].AlertRuleContent.AlertRuleItems["+ j +"].Aggregate"));
alertRuleItemsItem.setOperator(_ctx.stringValue("GetAlertRulesResponse.PageBean.AlertRules["+ i +"].AlertRuleContent.AlertRuleItems["+ j +"].Operator"));
alertRuleItemsItem.setValue(_ctx.stringValue("GetAlertRulesResponse.PageBean.AlertRules["+ i +"].AlertRuleContent.AlertRuleItems["+ j +"].Value"));
alertRuleItems.add(alertRuleItemsItem);
}
alertRuleContent.setAlertRuleItems(alertRuleItems);
alertRulesItem.setAlertRuleContent(alertRuleContent);
Filters filters = new Filters();
List<String> customSLSGroupByDimensions = new ArrayList<String>();
for (int j = 0; j < _ctx.lengthValue("GetAlertRulesResponse.PageBean.AlertRules["+ i +"].Filters.CustomSLSGroupByDimensions.Length"); j++) {
customSLSGroupByDimensions.add(_ctx.stringValue("GetAlertRulesResponse.PageBean.AlertRules["+ i +"].Filters.CustomSLSGroupByDimensions["+ j +"]"));
}
filters.setCustomSLSGroupByDimensions(customSLSGroupByDimensions);
List<String> customSLSWheres = new ArrayList<String>();
for (int j = 0; j < _ctx.lengthValue("GetAlertRulesResponse.PageBean.AlertRules["+ i +"].Filters.CustomSLSWheres.Length"); j++) {
customSLSWheres.add(_ctx.stringValue("GetAlertRulesResponse.PageBean.AlertRules["+ i +"].Filters.CustomSLSWheres["+ j +"]"));
}
filters.setCustomSLSWheres(customSLSWheres);
List<DimFiltersItem> dimFilters = new ArrayList<DimFiltersItem>();
for (int j = 0; j < _ctx.lengthValue("GetAlertRulesResponse.PageBean.AlertRules["+ i +"].Filters.DimFilters.Length"); j++) {
DimFiltersItem dimFiltersItem = new DimFiltersItem();
dimFiltersItem.setFilterKey(_ctx.stringValue("GetAlertRulesResponse.PageBean.AlertRules["+ i +"].Filters.DimFilters["+ j +"].FilterKey"));
dimFiltersItem.setFilterOpt(_ctx.stringValue("GetAlertRulesResponse.PageBean.AlertRules["+ i +"].Filters.DimFilters["+ j +"].FilterOpt"));
List<String> filterValues = new ArrayList<String>();
for (int k = 0; k < _ctx.lengthValue("GetAlertRulesResponse.PageBean.AlertRules["+ i +"].Filters.DimFilters["+ j +"].FilterValues.Length"); k++) {
filterValues.add(_ctx.stringValue("GetAlertRulesResponse.PageBean.AlertRules["+ i +"].Filters.DimFilters["+ j +"].FilterValues["+ k +"]"));
}
dimFiltersItem.setFilterValues(filterValues);
dimFilters.add(dimFiltersItem);
}
filters.setDimFilters(dimFilters);
List<CustomSLSFiltersItem> customSLSFilters = new ArrayList<CustomSLSFiltersItem>();
for (int j = 0; j < _ctx.lengthValue("GetAlertRulesResponse.PageBean.AlertRules["+ i +"].Filters.CustomSLSFilters.Length"); j++) {
CustomSLSFiltersItem customSLSFiltersItem = new CustomSLSFiltersItem();
customSLSFiltersItem.setKey(_ctx.stringValue("GetAlertRulesResponse.PageBean.AlertRules["+ i +"].Filters.CustomSLSFilters["+ j +"].Key"));
customSLSFiltersItem.setOpt(_ctx.stringValue("GetAlertRulesResponse.PageBean.AlertRules["+ i +"].Filters.CustomSLSFilters["+ j +"].Opt"));
customSLSFiltersItem.setValue(_ctx.stringValue("GetAlertRulesResponse.PageBean.AlertRules["+ i +"].Filters.CustomSLSFilters["+ j +"].Value"));
customSLSFiltersItem.setT(_ctx.stringValue("GetAlertRulesResponse.PageBean.AlertRules["+ i +"].Filters.CustomSLSFilters["+ j +"].T"));
customSLSFiltersItem.setShow(_ctx.booleanValue("GetAlertRulesResponse.PageBean.AlertRules["+ i +"].Filters.CustomSLSFilters["+ j +"].Show"));
customSLSFilters.add(customSLSFiltersItem);
}
filters.setCustomSLSFilters(customSLSFilters);
alertRulesItem.setFilters(filters);
List<LabelsItem> labels = new ArrayList<LabelsItem>();
for (int j = 0; j < _ctx.lengthValue("GetAlertRulesResponse.PageBean.AlertRules["+ i +"].Labels.Length"); j++) {
LabelsItem labelsItem = new LabelsItem();
labelsItem.setName(_ctx.stringValue("GetAlertRulesResponse.PageBean.AlertRules["+ i +"].Labels["+ j +"].Name"));
labelsItem.setValue(_ctx.stringValue("GetAlertRulesResponse.PageBean.AlertRules["+ i +"].Labels["+ j +"].Value"));
labels.add(labelsItem);
}
alertRulesItem.setLabels(labels);
List<AnnotationsItem> annotations = new ArrayList<AnnotationsItem>();
for (int j = 0; j < _ctx.lengthValue("GetAlertRulesResponse.PageBean.AlertRules["+ i +"].Annotations.Length"); j++) {
AnnotationsItem annotationsItem = new AnnotationsItem();
annotationsItem.setName(_ctx.stringValue("GetAlertRulesResponse.PageBean.AlertRules["+ i +"].Annotations["+ j +"].Name"));
annotationsItem.setValue(_ctx.stringValue("GetAlertRulesResponse.PageBean.AlertRules["+ i +"].Annotations["+ j +"].Value"));
annotations.add(annotationsItem);
}
alertRulesItem.setAnnotations(annotations);
List<TagsItem> tags = new ArrayList<TagsItem>();
for (int j = 0; j < _ctx.lengthValue("GetAlertRulesResponse.PageBean.AlertRules["+ i +"].Tags.Length"); j++) {
TagsItem tagsItem = new TagsItem();
tagsItem.setKey(_ctx.stringValue("GetAlertRulesResponse.PageBean.AlertRules["+ i +"].Tags["+ j +"].Key"));
tagsItem.setValue(_ctx.stringValue("GetAlertRulesResponse.PageBean.AlertRules["+ i +"].Tags["+ j +"].Value"));
tags.add(tagsItem);
}
alertRulesItem.setTags(tags);
alertRules.add(alertRulesItem);
}
pageBean.setAlertRules(alertRules);
getAlertRulesResponse.setPageBean(pageBean);
return getAlertRulesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/GetAppApiByPageResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.arms.model.v20190808.GetAppApiByPageResponse;
import com.aliyuncs.arms.model.v20190808.GetAppApiByPageResponse.Data;
import java.util.Map;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetAppApiByPageResponseUnmarshaller {
public static GetAppApiByPageResponse unmarshall(GetAppApiByPageResponse getAppApiByPageResponse, UnmarshallerContext _ctx) {
getAppApiByPageResponse.setRequestId(_ctx.stringValue("GetAppApiByPageResponse.RequestId"));
getAppApiByPageResponse.setCode(_ctx.integerValue("GetAppApiByPageResponse.Code"));
getAppApiByPageResponse.setMessage(_ctx.stringValue("GetAppApiByPageResponse.Message"));
getAppApiByPageResponse.setSuccess(_ctx.booleanValue("GetAppApiByPageResponse.Success"));
Data data = new Data();
data.setPageSize(_ctx.integerValue("GetAppApiByPageResponse.Data.PageSize"));
data.setTotal(_ctx.stringValue("GetAppApiByPageResponse.Data.Total"));
data.setPage(_ctx.integerValue("GetAppApiByPageResponse.Data.Page"));
data.setCompleted(_ctx.booleanValue("GetAppApiByPageResponse.Data.Completed"));
List<Map<Object, Object>> items = _ctx.listMapValue("GetAppApiByPageResponse.Data.Items");
data.setItems(items);
getAppApiByPageResponse.setData(data);
return getAppApiByPageResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/GetAppJVMConfigResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.arms.model.v20190808.GetAppJVMConfigResponse;
import com.aliyuncs.arms.model.v20190808.GetAppJVMConfigResponse.JvmInfoListItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetAppJVMConfigResponseUnmarshaller {
public static GetAppJVMConfigResponse unmarshall(GetAppJVMConfigResponse getAppJVMConfigResponse, UnmarshallerContext _ctx) {
getAppJVMConfigResponse.setRequestId(_ctx.stringValue("GetAppJVMConfigResponse.RequestId"));
getAppJVMConfigResponse.setCode(_ctx.integerValue("GetAppJVMConfigResponse.Code"));
getAppJVMConfigResponse.setMessage(_ctx.stringValue("GetAppJVMConfigResponse.Message"));
getAppJVMConfigResponse.setSuccess(_ctx.booleanValue("GetAppJVMConfigResponse.Success"));
List<JvmInfoListItem> jvmInfoList = new ArrayList<JvmInfoListItem>();
for (int i = 0; i < _ctx.lengthValue("GetAppJVMConfigResponse.JvmInfoList.Length"); i++) {
JvmInfoListItem jvmInfoListItem = new JvmInfoListItem();
jvmInfoListItem.setPid(_ctx.stringValue("GetAppJVMConfigResponse.JvmInfoList["+ i +"].Pid"));
jvmInfoListItem.setVmArgs(_ctx.stringValue("GetAppJVMConfigResponse.JvmInfoList["+ i +"].VmArgs"));
jvmInfoListItem.setHostName(_ctx.stringValue("GetAppJVMConfigResponse.JvmInfoList["+ i +"].HostName"));
jvmInfoListItem.setIp(_ctx.stringValue("GetAppJVMConfigResponse.JvmInfoList["+ i +"].Ip"));
jvmInfoListItem.setAgentVersion(_ctx.stringValue("GetAppJVMConfigResponse.JvmInfoList["+ i +"].AgentVersion"));
jvmInfoListItem.setProcId(_ctx.stringValue("GetAppJVMConfigResponse.JvmInfoList["+ i +"].ProcId"));
jvmInfoList.add(jvmInfoListItem);
}
getAppJVMConfigResponse.setJvmInfoList(jvmInfoList);
return getAppJVMConfigResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/GetAuthTokenResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import com.aliyuncs.arms.model.v20190808.GetAuthTokenResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetAuthTokenResponseUnmarshaller {
public static GetAuthTokenResponse unmarshall(GetAuthTokenResponse getAuthTokenResponse, UnmarshallerContext _ctx) {
getAuthTokenResponse.setRequestId(_ctx.stringValue("GetAuthTokenResponse.RequestId"));
getAuthTokenResponse.setData(_ctx.stringValue("GetAuthTokenResponse.Data"));
getAuthTokenResponse.setCode(_ctx.integerValue("GetAuthTokenResponse.Code"));
getAuthTokenResponse.setMessage(_ctx.stringValue("GetAuthTokenResponse.Message"));
getAuthTokenResponse.setSuccess(_ctx.booleanValue("GetAuthTokenResponse.Success"));
return getAuthTokenResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/GetCloudClusterAllUrlResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.arms.model.v20190808.GetCloudClusterAllUrlResponse;
import com.aliyuncs.arms.model.v20190808.GetCloudClusterAllUrlResponse.DataItem;
import com.aliyuncs.arms.model.v20190808.GetCloudClusterAllUrlResponse.DataItem.RemoteUrl;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetCloudClusterAllUrlResponseUnmarshaller {
public static GetCloudClusterAllUrlResponse unmarshall(GetCloudClusterAllUrlResponse getCloudClusterAllUrlResponse, UnmarshallerContext _ctx) {
getCloudClusterAllUrlResponse.setRequestId(_ctx.stringValue("GetCloudClusterAllUrlResponse.RequestId"));
getCloudClusterAllUrlResponse.setCode(_ctx.integerValue("GetCloudClusterAllUrlResponse.Code"));
getCloudClusterAllUrlResponse.setMessage(_ctx.stringValue("GetCloudClusterAllUrlResponse.Message"));
getCloudClusterAllUrlResponse.setSuccess(_ctx.booleanValue("GetCloudClusterAllUrlResponse.Success"));
List<DataItem> data = new ArrayList<DataItem>();
for (int i = 0; i < _ctx.lengthValue("GetCloudClusterAllUrlResponse.Data.Length"); i++) {
DataItem dataItem = new DataItem();
dataItem.setProductCode(_ctx.stringValue("GetCloudClusterAllUrlResponse.Data["+ i +"].ProductCode"));
dataItem.setRegion(_ctx.stringValue("GetCloudClusterAllUrlResponse.Data["+ i +"].Region"));
RemoteUrl remoteUrl = new RemoteUrl();
remoteUrl.setRemoteWriteUrl(_ctx.stringValue("GetCloudClusterAllUrlResponse.Data["+ i +"].RemoteUrl.RemoteWriteUrl"));
remoteUrl.setInternetRemoteWriteUrl(_ctx.stringValue("GetCloudClusterAllUrlResponse.Data["+ i +"].RemoteUrl.InternetRemoteWriteUrl"));
remoteUrl.setRemoteReadUrl(_ctx.stringValue("GetCloudClusterAllUrlResponse.Data["+ i +"].RemoteUrl.RemoteReadUrl"));
remoteUrl.setInternetRemoteReadUrl(_ctx.stringValue("GetCloudClusterAllUrlResponse.Data["+ i +"].RemoteUrl.InternetRemoteReadUrl"));
remoteUrl.setGrafanaUrl(_ctx.stringValue("GetCloudClusterAllUrlResponse.Data["+ i +"].RemoteUrl.GrafanaUrl"));
remoteUrl.setInternetGrafanaUrl(_ctx.stringValue("GetCloudClusterAllUrlResponse.Data["+ i +"].RemoteUrl.InternetGrafanaUrl"));
remoteUrl.setInternetPushGatewayUrl(_ctx.stringValue("GetCloudClusterAllUrlResponse.Data["+ i +"].RemoteUrl.InternetPushGatewayUrl"));
remoteUrl.setPushGatewayUrl(_ctx.stringValue("GetCloudClusterAllUrlResponse.Data["+ i +"].RemoteUrl.PushGatewayUrl"));
remoteUrl.setAuthToken(_ctx.booleanValue("GetCloudClusterAllUrlResponse.Data["+ i +"].RemoteUrl.AuthToken"));
remoteUrl.setToken(_ctx.stringValue("GetCloudClusterAllUrlResponse.Data["+ i +"].RemoteUrl.Token"));
dataItem.setRemoteUrl(remoteUrl);
data.add(dataItem);
}
getCloudClusterAllUrlResponse.setData(data);
return getCloudClusterAllUrlResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/GetClusterAllUrlResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import com.aliyuncs.arms.model.v20190808.GetClusterAllUrlResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetClusterAllUrlResponseUnmarshaller {
public static GetClusterAllUrlResponse unmarshall(GetClusterAllUrlResponse getClusterAllUrlResponse, UnmarshallerContext _ctx) {
getClusterAllUrlResponse.setRequestId(_ctx.stringValue("GetClusterAllUrlResponse.RequestId"));
getClusterAllUrlResponse.setData(_ctx.stringValue("GetClusterAllUrlResponse.Data"));
getClusterAllUrlResponse.setCode(_ctx.integerValue("GetClusterAllUrlResponse.Code"));
getClusterAllUrlResponse.setMessage(_ctx.stringValue("GetClusterAllUrlResponse.Message"));
getClusterAllUrlResponse.setSuccess(_ctx.booleanValue("GetClusterAllUrlResponse.Success"));
return getClusterAllUrlResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/GetCommercialStatusResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import com.aliyuncs.arms.model.v20190808.GetCommercialStatusResponse;
import com.aliyuncs.arms.model.v20190808.GetCommercialStatusResponse.UserAndCommodityStatus;
import java.util.Map;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetCommercialStatusResponseUnmarshaller {
public static GetCommercialStatusResponse unmarshall(GetCommercialStatusResponse getCommercialStatusResponse, UnmarshallerContext _ctx) {
getCommercialStatusResponse.setRequestId(_ctx.stringValue("GetCommercialStatusResponse.RequestId"));
UserAndCommodityStatus userAndCommodityStatus = new UserAndCommodityStatus();
userAndCommodityStatus.setStatus(_ctx.stringValue("GetCommercialStatusResponse.UserAndCommodityStatus.Status"));
userAndCommodityStatus.setFreeDays(_ctx.longValue("GetCommercialStatusResponse.UserAndCommodityStatus.FreeDays"));
userAndCommodityStatus.setBasic(_ctx.booleanValue("GetCommercialStatusResponse.UserAndCommodityStatus.Basic"));
userAndCommodityStatus.setChargeType(_ctx.stringValue("GetCommercialStatusResponse.UserAndCommodityStatus.ChargeType"));
userAndCommodityStatus.setLable(_ctx.stringValue("GetCommercialStatusResponse.UserAndCommodityStatus.Lable"));
userAndCommodityStatus.setExtraInfo(_ctx.mapValue("GetCommercialStatusResponse.UserAndCommodityStatus.ExtraInfo"));
userAndCommodityStatus.setEnable(_ctx.booleanValue("GetCommercialStatusResponse.UserAndCommodityStatus.Enable"));
getCommercialStatusResponse.setUserAndCommodityStatus(userAndCommodityStatus);
return getCommercialStatusResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/GetExploreUrlResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import com.aliyuncs.arms.model.v20190808.GetExploreUrlResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetExploreUrlResponseUnmarshaller {
public static GetExploreUrlResponse unmarshall(GetExploreUrlResponse getExploreUrlResponse, UnmarshallerContext _ctx) {
getExploreUrlResponse.setRequestId(_ctx.stringValue("GetExploreUrlResponse.RequestId"));
getExploreUrlResponse.setData(_ctx.stringValue("GetExploreUrlResponse.Data"));
getExploreUrlResponse.setCode(_ctx.integerValue("GetExploreUrlResponse.Code"));
getExploreUrlResponse.setMessage(_ctx.stringValue("GetExploreUrlResponse.Message"));
getExploreUrlResponse.setSuccess(_ctx.booleanValue("GetExploreUrlResponse.Success"));
return getExploreUrlResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/GetGrafanaWorkspaceResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.arms.model.v20190808.GetGrafanaWorkspaceResponse;
import com.aliyuncs.arms.model.v20190808.GetGrafanaWorkspaceResponse.Data;
import com.aliyuncs.arms.model.v20190808.GetGrafanaWorkspaceResponse.Data.TagsItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetGrafanaWorkspaceResponseUnmarshaller {
public static GetGrafanaWorkspaceResponse unmarshall(GetGrafanaWorkspaceResponse getGrafanaWorkspaceResponse, UnmarshallerContext _ctx) {
getGrafanaWorkspaceResponse.setRequestId(_ctx.stringValue("GetGrafanaWorkspaceResponse.RequestId"));
getGrafanaWorkspaceResponse.setMessage(_ctx.stringValue("GetGrafanaWorkspaceResponse.Message"));
getGrafanaWorkspaceResponse.setCode(_ctx.integerValue("GetGrafanaWorkspaceResponse.Code"));
getGrafanaWorkspaceResponse.setSuccess(_ctx.booleanValue("GetGrafanaWorkspaceResponse.Success"));
getGrafanaWorkspaceResponse.setTraceId(_ctx.stringValue("GetGrafanaWorkspaceResponse.TraceId"));
Data data = new Data();
data.setStatus(_ctx.stringValue("GetGrafanaWorkspaceResponse.Data.status"));
data.setDescription(_ctx.stringValue("GetGrafanaWorkspaceResponse.Data.description"));
data.setGrafanaWorkspaceEdition(_ctx.stringValue("GetGrafanaWorkspaceResponse.Data.grafanaWorkspaceEdition"));
data.setEndTime(_ctx.floatValue("GetGrafanaWorkspaceResponse.Data.endTime"));
data.setGrafanaWorkspaceId(_ctx.stringValue("GetGrafanaWorkspaceResponse.Data.grafanaWorkspaceId"));
data.setGrafanaWorkspaceIp(_ctx.stringValue("GetGrafanaWorkspaceResponse.Data.grafanaWorkspaceIp"));
data.setSnatIp(_ctx.stringValue("GetGrafanaWorkspaceResponse.Data.snatIp"));
data.setGrafanaWorkspaceDomain(_ctx.stringValue("GetGrafanaWorkspaceResponse.Data.grafanaWorkspaceDomain"));
data.setGrafanaWorkspaceDomainStatus(_ctx.stringValue("GetGrafanaWorkspaceResponse.Data.grafanaWorkspaceDomainStatus"));
data.setCommercial(_ctx.booleanValue("GetGrafanaWorkspaceResponse.Data.commercial"));
data.setGrafanaWorkspaceName(_ctx.stringValue("GetGrafanaWorkspaceResponse.Data.grafanaWorkspaceName"));
data.setGrafanaVersion(_ctx.stringValue("GetGrafanaWorkspaceResponse.Data.grafanaVersion"));
data.setGmtCreate(_ctx.floatValue("GetGrafanaWorkspaceResponse.Data.gmtCreate"));
data.setUserId(_ctx.stringValue("GetGrafanaWorkspaceResponse.Data.userId"));
data.setMaxAccount(_ctx.stringValue("GetGrafanaWorkspaceResponse.Data.maxAccount"));
data.setRegionId(_ctx.stringValue("GetGrafanaWorkspaceResponse.Data.regionId"));
data.setBizProtocol(_ctx.stringValue("GetGrafanaWorkspaceResponse.Data.protocol"));
data.setShareSynced(_ctx.booleanValue("GetGrafanaWorkspaceResponse.Data.shareSynced"));
data.setNtmId(_ctx.stringValue("GetGrafanaWorkspaceResponse.Data.ntmId"));
data.setPersonalDomain(_ctx.stringValue("GetGrafanaWorkspaceResponse.Data.personalDomain"));
data.setPersonalDomainPrefix(_ctx.stringValue("GetGrafanaWorkspaceResponse.Data.personalDomainPrefix"));
data.setResourceGroupId(_ctx.stringValue("GetGrafanaWorkspaceResponse.Data.resourceGroupId"));
data.setDeployType(_ctx.stringValue("GetGrafanaWorkspaceResponse.Data.deployType"));
data.setPrivateIp(_ctx.stringValue("GetGrafanaWorkspaceResponse.Data.privateIp"));
data.setPrivateDomain(_ctx.stringValue("GetGrafanaWorkspaceResponse.Data.privateDomain"));
List<String> upgradeVersion = new ArrayList<String>();
for (int i = 0; i < _ctx.lengthValue("GetGrafanaWorkspaceResponse.Data.upgradeVersion.Length"); i++) {
upgradeVersion.add(_ctx.stringValue("GetGrafanaWorkspaceResponse.Data.upgradeVersion["+ i +"]"));
}
data.setUpgradeVersion(upgradeVersion);
List<TagsItem> tags = new ArrayList<TagsItem>();
for (int i = 0; i < _ctx.lengthValue("GetGrafanaWorkspaceResponse.Data.tags.Length"); i++) {
TagsItem tagsItem = new TagsItem();
tagsItem.setKey(_ctx.stringValue("GetGrafanaWorkspaceResponse.Data.tags["+ i +"].key"));
tagsItem.setValue(_ctx.stringValue("GetGrafanaWorkspaceResponse.Data.tags["+ i +"].value"));
tags.add(tagsItem);
}
data.setTags(tags);
getGrafanaWorkspaceResponse.setData(data);
return getGrafanaWorkspaceResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/GetIntegrationStateResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import com.aliyuncs.arms.model.v20190808.GetIntegrationStateResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetIntegrationStateResponseUnmarshaller {
public static GetIntegrationStateResponse unmarshall(GetIntegrationStateResponse getIntegrationStateResponse, UnmarshallerContext _ctx) {
getIntegrationStateResponse.setRequestId(_ctx.stringValue("GetIntegrationStateResponse.RequestId"));
getIntegrationStateResponse.setState(_ctx.booleanValue("GetIntegrationStateResponse.State"));
getIntegrationStateResponse.setCode(_ctx.integerValue("GetIntegrationStateResponse.Code"));
getIntegrationStateResponse.setMessage(_ctx.stringValue("GetIntegrationStateResponse.Message"));
return getIntegrationStateResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms/10.0.3/com/aliyuncs/arms/transform/v20190808/GetManagedPrometheusStatusResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms.transform.v20190808;
import com.aliyuncs.arms.model.v20190808.GetManagedPrometheusStatusResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetManagedPrometheusStatusResponseUnmarshaller {
public static GetManagedPrometheusStatusResponse unmarshall(GetManagedPrometheusStatusResponse getManagedPrometheusStatusResponse, UnmarshallerContext _ctx) {
getManagedPrometheusStatusResponse.setRequestId(_ctx.stringValue("GetManagedPrometheusStatusResponse.RequestId"));
getManagedPrometheusStatusResponse.setData(_ctx.stringValue("GetManagedPrometheusStatusResponse.Data"));
getManagedPrometheusStatusResponse.setSuccess(_ctx.booleanValue("GetManagedPrometheusStatusResponse.Success"));
getManagedPrometheusStatusResponse.setMessage(_ctx.stringValue("GetManagedPrometheusStatusResponse.Message"));
getManagedPrometheusStatusResponse.setCode(_ctx.integerValue("GetManagedPrometheusStatusResponse.Code"));
return getManagedPrometheusStatusResponse;
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.