Class Resource

    • Constructor Detail

      • Resource

        public Resource()
      • Resource

        public Resource​(Resource source)
        NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
    • Method Detail

      • getType

        public String[] getType()
        Get 运营商内具体资源信息,如"CMCC", "CUCC", "CTCC", "BGP", "INTERNAL"。
        Returns:
        Type 运营商内具体资源信息,如"CMCC", "CUCC", "CTCC", "BGP", "INTERNAL"。
      • setType

        public void setType​(String[] Type)
        Set 运营商内具体资源信息,如"CMCC", "CUCC", "CTCC", "BGP", "INTERNAL"。
        Parameters:
        Type - 运营商内具体资源信息,如"CMCC", "CUCC", "CTCC", "BGP", "INTERNAL"。
      • getIsp

        public String getIsp()
        Get 运营商信息,如"CMCC", "CUCC", "CTCC", "BGP", "INTERNAL"。
        Returns:
        Isp 运营商信息,如"CMCC", "CUCC", "CTCC", "BGP", "INTERNAL"。
      • setIsp

        public void setIsp​(String Isp)
        Set 运营商信息,如"CMCC", "CUCC", "CTCC", "BGP", "INTERNAL"。
        Parameters:
        Isp - 运营商信息,如"CMCC", "CUCC", "CTCC", "BGP", "INTERNAL"。
      • getAvailabilitySet

        public ResourceAvailability[] getAvailabilitySet()
        Get 可用资源。 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        AvailabilitySet 可用资源。 注意:此字段可能返回 null,表示取不到有效值。
      • setAvailabilitySet

        public void setAvailabilitySet​(ResourceAvailability[] AvailabilitySet)
        Set 可用资源。 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        AvailabilitySet - 可用资源。 注意:此字段可能返回 null,表示取不到有效值。
      • getTypeSet

        public TypeInfo[] getTypeSet()
        Get 运营商类型信息 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        TypeSet 运营商类型信息 注意:此字段可能返回 null,表示取不到有效值。
      • setTypeSet

        public void setTypeSet​(TypeInfo[] TypeSet)
        Set 运营商类型信息 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        TypeSet - 运营商类型信息 注意:此字段可能返回 null,表示取不到有效值。