com.sap.cloud.mt.subscription.json.SidecarUnSubscriptionPayload Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of multi-tenant-subscription Show documentation
Show all versions of multi-tenant-subscription Show documentation
Spring Boot Enablement Parent
/******************************************************************************
* © 2020 SAP SE or an SAP affiliate company. All rights reserved. *
******************************************************************************/
package com.sap.cloud.mt.subscription.json;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
/**
* Payload sent to sidecar for an un-subscription. Currently identical to
* the payload received from CIS. An own class was defined to be open for
* addition of sidecar specific information in future.
*/
@JsonIgnoreProperties(ignoreUnknown = true)
public class SidecarUnSubscriptionPayload extends DeletePayload {
public SidecarUnSubscriptionPayload() {
}
public SidecarUnSubscriptionPayload(DeletePayload unsubsriptionPayload) {
if (unsubsriptionPayload != null) {
subscriptionAppId = unsubsriptionPayload.subscriptionAppId;
subscriptionAppName = unsubsriptionPayload.subscriptionAppName;
subscribedTenantId = unsubsriptionPayload.subscribedTenantId;
subscribedZoneId = unsubsriptionPayload.subscribedZoneId;
subscribedSubdomain = unsubsriptionPayload.subscribedSubdomain;
subscribedSubaccountId = unsubsriptionPayload.subscribedSubaccountId;
subscribedCrmId = unsubsriptionPayload.subscribedCrmId;
subscriptionAppPlan = unsubsriptionPayload.subscriptionAppPlan;
subscriptionAppAmount = unsubsriptionPayload.subscriptionAppAmount;
dependentServiceInstanceAppIds = unsubsriptionPayload.dependentServiceInstanceAppIds;
dependantServiceInstanceAppIds = unsubsriptionPayload.dependantServiceInstanceAppIds;
globalAccountGUID = unsubsriptionPayload.globalAccountGUID;
userId = unsubsriptionPayload.userId;
userInfo = unsubsriptionPayload.userInfo;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy