com.azure.resourcemanager.recoveryservicesbackup.implementation.OperationResultInfoBaseResourceImpl Maven / Gradle / Ivy
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.implementation;
import com.azure.resourcemanager.recoveryservicesbackup.fluent.models.OperationResultInfoBaseResourceInner;
import com.azure.resourcemanager.recoveryservicesbackup.models.HttpStatusCode;
import com.azure.resourcemanager.recoveryservicesbackup.models.OperationResultInfoBase;
import com.azure.resourcemanager.recoveryservicesbackup.models.OperationResultInfoBaseResource;
import java.util.Collections;
import java.util.List;
import java.util.Map;
public final class OperationResultInfoBaseResourceImpl implements OperationResultInfoBaseResource {
private OperationResultInfoBaseResourceInner innerObject;
private final com.azure.resourcemanager.recoveryservicesbackup.RecoveryServicesBackupManager serviceManager;
OperationResultInfoBaseResourceImpl(OperationResultInfoBaseResourceInner innerObject,
com.azure.resourcemanager.recoveryservicesbackup.RecoveryServicesBackupManager serviceManager) {
this.innerObject = innerObject;
this.serviceManager = serviceManager;
}
public HttpStatusCode statusCode() {
return this.innerModel().statusCode();
}
public Map> headers() {
Map> inner = this.innerModel().headers();
if (inner != null) {
return Collections.unmodifiableMap(inner);
} else {
return Collections.emptyMap();
}
}
public OperationResultInfoBase operation() {
return this.innerModel().operation();
}
public OperationResultInfoBaseResourceInner innerModel() {
return this.innerObject;
}
private com.azure.resourcemanager.recoveryservicesbackup.RecoveryServicesBackupManager manager() {
return this.serviceManager;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy