com.azure.resourcemanager.security.implementation.PricingImpl 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.security.implementation;
import com.azure.resourcemanager.security.fluent.models.PricingInner;
import com.azure.resourcemanager.security.models.Enforce;
import com.azure.resourcemanager.security.models.Extension;
import com.azure.resourcemanager.security.models.Inherited;
import com.azure.resourcemanager.security.models.Pricing;
import com.azure.resourcemanager.security.models.PricingTier;
import com.azure.resourcemanager.security.models.ResourcesCoverageStatus;
import java.time.Duration;
import java.time.OffsetDateTime;
import java.util.Collections;
import java.util.List;
public final class PricingImpl implements Pricing {
private PricingInner innerObject;
private final com.azure.resourcemanager.security.SecurityManager serviceManager;
PricingImpl(PricingInner innerObject, com.azure.resourcemanager.security.SecurityManager serviceManager) {
this.innerObject = innerObject;
this.serviceManager = serviceManager;
}
public String id() {
return this.innerModel().id();
}
public String name() {
return this.innerModel().name();
}
public String type() {
return this.innerModel().type();
}
public PricingTier pricingTier() {
return this.innerModel().pricingTier();
}
public String subPlan() {
return this.innerModel().subPlan();
}
public Duration freeTrialRemainingTime() {
return this.innerModel().freeTrialRemainingTime();
}
public OffsetDateTime enablementTime() {
return this.innerModel().enablementTime();
}
public Enforce enforce() {
return this.innerModel().enforce();
}
public Inherited inherited() {
return this.innerModel().inherited();
}
public String inheritedFrom() {
return this.innerModel().inheritedFrom();
}
public ResourcesCoverageStatus resourcesCoverageStatus() {
return this.innerModel().resourcesCoverageStatus();
}
public List extensions() {
List inner = this.innerModel().extensions();
if (inner != null) {
return Collections.unmodifiableList(inner);
} else {
return Collections.emptyList();
}
}
public Boolean deprecated() {
return this.innerModel().deprecated();
}
public List replacedBy() {
List inner = this.innerModel().replacedBy();
if (inner != null) {
return Collections.unmodifiableList(inner);
} else {
return Collections.emptyList();
}
}
public PricingInner innerModel() {
return this.innerObject;
}
private com.azure.resourcemanager.security.SecurityManager manager() {
return this.serviceManager;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy