MENU
      MapRequest
        • PDF

        MapRequest

        • PDF

        Article summary

        Available in VPC

        This is a data type required when creating and editing Geo/CIDR maps.

        Syntax

        The syntax is as follows.

        public class MapRequest {
            private Long id;
            private String name;
            private MapType mapType;
            private List<DetailedMap> detailedMapList;
        }
        
        
        public class DetailedMap {
            private Long id;
        	private String name;
        	private String content;
            private List<GeoIdMapping> geoIdMappings;
        }
        
        public class GeoIdMapping {
            private String geoName;
            private GeoType geoType;
        }
        Java

        Field

        The following describes the fields.

        MapRequest

        FieldTypeRequiredDescription
        idLong-Geo/CIDR Map ID
        nameString-Geo/CIDR map name
        mapTypeEnum-Map type
        • GEO | CIDR
        detailedMapListList<DetailedMap>-Geo/CIDR map details

        DetailedMap

        FieldTypeRequiredDescription
        idLong-Geo/CIDR map details ID
        nameString-Geo/CIDR map details name
        contentString-Geo/CIDR map details
        geoIdMappingsList<GeoIdMapping>-Geo information

        GeoIdMapping

        FieldTypeRequiredDescription
        geoNameString-Region name
        geoTypeEnum-Region type
        • CONTINENT | NATION | CITY

        Was this article helpful?

        What's Next
        Changing your password will log you out immediately. Use the new password to log back in.
        First name must have atleast 2 characters. Numbers and special characters are not allowed.
        Last name must have atleast 1 characters. Numbers and special characters are not allowed.
        Enter a valid email
        Enter a valid password
        Your profile has been successfully updated.