github.com/sacloud/iaas-api-go@v1.12.0/zz_result.go (about)

     1  // Copyright 2022-2023 The sacloud/iaas-api-go Authors
     2  //
     3  // Licensed under the Apache License, Version 2.0 (the "License");
     4  // you may not use this file except in compliance with the License.
     5  // You may obtain a copy of the License at
     6  //
     7  //      http://www.apache.org/licenses/LICENSE-2.0
     8  //
     9  // Unless required by applicable law or agreed to in writing, software
    10  // distributed under the License is distributed on an "AS IS" BASIS,
    11  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12  // See the License for the specific language governing permissions and
    13  // limitations under the License.
    14  
    15  // generated by 'github.com/sacloud/iaas-api-go/internal/tools/gen-api-result'; DO NOT EDIT
    16  
    17  package iaas
    18  
    19  // ArchiveFindResult represents the Result of API
    20  type ArchiveFindResult struct {
    21  	Total int `json:",omitempty"` // Total count of target resources
    22  	From  int `json:",omitempty"` // Current page number
    23  	Count int `json:",omitempty"` // Count of current page
    24  
    25  	Archives []*Archive `json:",omitempty" mapconv:"[]Archives,omitempty,recursive"`
    26  }
    27  
    28  // Values returns find results
    29  func (r *ArchiveFindResult) Values() []interface{} {
    30  	var results []interface{}
    31  	for _, v := range r.Archives {
    32  		results = append(results, v)
    33  	}
    34  	return results
    35  }
    36  
    37  // archiveCreateResult represents the Result of API
    38  type archiveCreateResult struct {
    39  	IsOk bool `json:",omitempty"` // is_ok
    40  
    41  	Archive *Archive `json:",omitempty" mapconv:"Archive,omitempty,recursive"`
    42  }
    43  
    44  // archiveCreateBlankResult represents the Result of API
    45  type archiveCreateBlankResult struct {
    46  	IsOk bool `json:",omitempty"` // is_ok
    47  
    48  	Archive   *Archive   `json:",omitempty" mapconv:"Archive,omitempty,recursive"`
    49  	FTPServer *FTPServer `json:",omitempty" mapconv:"FTPServer,omitempty,recursive"`
    50  }
    51  
    52  // archiveReadResult represents the Result of API
    53  type archiveReadResult struct {
    54  	IsOk bool `json:",omitempty"` // is_ok
    55  
    56  	Archive *Archive `json:",omitempty" mapconv:"Archive,omitempty,recursive"`
    57  }
    58  
    59  // archiveUpdateResult represents the Result of API
    60  type archiveUpdateResult struct {
    61  	IsOk bool `json:",omitempty"` // is_ok
    62  
    63  	Archive *Archive `json:",omitempty" mapconv:"Archive,omitempty,recursive"`
    64  }
    65  
    66  // archiveOpenFTPResult represents the Result of API
    67  type archiveOpenFTPResult struct {
    68  	IsOk bool `json:",omitempty"` // is_ok
    69  
    70  	FTPServer *FTPServer `json:",omitempty" mapconv:"FTPServer,omitempty,recursive"`
    71  }
    72  
    73  // archiveShareResult represents the Result of API
    74  type archiveShareResult struct {
    75  	IsOk bool `json:",omitempty"` // is_ok
    76  
    77  	ArchiveShareInfo *ArchiveShareInfo `json:",omitempty" mapconv:"ArchiveShareInfo,omitempty,recursive"`
    78  }
    79  
    80  // archiveCreateFromSharedResult represents the Result of API
    81  type archiveCreateFromSharedResult struct {
    82  	IsOk bool `json:",omitempty"` // is_ok
    83  
    84  	Archive *Archive `json:",omitempty" mapconv:"Archive,omitempty,recursive"`
    85  }
    86  
    87  // archiveTransferResult represents the Result of API
    88  type archiveTransferResult struct {
    89  	IsOk bool `json:",omitempty"` // is_ok
    90  
    91  	Archive *Archive `json:",omitempty" mapconv:"Archive,omitempty,recursive"`
    92  }
    93  
    94  // authStatusReadResult represents the Result of API
    95  type authStatusReadResult struct {
    96  	IsOk bool `json:",omitempty"` // is_ok
    97  
    98  	AuthStatus *AuthStatus `json:",omitempty" mapconv:"AuthStatus,omitempty,recursive"`
    99  }
   100  
   101  // AutoBackupFindResult represents the Result of API
   102  type AutoBackupFindResult struct {
   103  	Total int `json:",omitempty"` // Total count of target resources
   104  	From  int `json:",omitempty"` // Current page number
   105  	Count int `json:",omitempty"` // Count of current page
   106  
   107  	AutoBackups []*AutoBackup `json:",omitempty" mapconv:"[]CommonServiceItems,omitempty,recursive"`
   108  }
   109  
   110  // Values returns find results
   111  func (r *AutoBackupFindResult) Values() []interface{} {
   112  	var results []interface{}
   113  	for _, v := range r.AutoBackups {
   114  		results = append(results, v)
   115  	}
   116  	return results
   117  }
   118  
   119  // autoBackupCreateResult represents the Result of API
   120  type autoBackupCreateResult struct {
   121  	IsOk bool `json:",omitempty"` // is_ok
   122  
   123  	AutoBackup *AutoBackup `json:",omitempty" mapconv:"CommonServiceItem,omitempty,recursive"`
   124  }
   125  
   126  // autoBackupReadResult represents the Result of API
   127  type autoBackupReadResult struct {
   128  	IsOk bool `json:",omitempty"` // is_ok
   129  
   130  	AutoBackup *AutoBackup `json:",omitempty" mapconv:"CommonServiceItem,omitempty,recursive"`
   131  }
   132  
   133  // autoBackupUpdateResult represents the Result of API
   134  type autoBackupUpdateResult struct {
   135  	IsOk bool `json:",omitempty"` // is_ok
   136  
   137  	AutoBackup *AutoBackup `json:",omitempty" mapconv:"CommonServiceItem,omitempty,recursive"`
   138  }
   139  
   140  // autoBackupUpdateSettingsResult represents the Result of API
   141  type autoBackupUpdateSettingsResult struct {
   142  	IsOk bool `json:",omitempty"` // is_ok
   143  
   144  	AutoBackup *AutoBackup `json:",omitempty" mapconv:"CommonServiceItem,omitempty,recursive"`
   145  }
   146  
   147  // AutoScaleFindResult represents the Result of API
   148  type AutoScaleFindResult struct {
   149  	Total int `json:",omitempty"` // Total count of target resources
   150  	From  int `json:",omitempty"` // Current page number
   151  	Count int `json:",omitempty"` // Count of current page
   152  
   153  	AutoScale []*AutoScale `json:",omitempty" mapconv:"[]CommonServiceItems,omitempty,recursive"`
   154  }
   155  
   156  // Values returns find results
   157  func (r *AutoScaleFindResult) Values() []interface{} {
   158  	var results []interface{}
   159  	for _, v := range r.AutoScale {
   160  		results = append(results, v)
   161  	}
   162  	return results
   163  }
   164  
   165  // autoScaleCreateResult represents the Result of API
   166  type autoScaleCreateResult struct {
   167  	IsOk bool `json:",omitempty"` // is_ok
   168  
   169  	AutoScale *AutoScale `json:",omitempty" mapconv:"CommonServiceItem,omitempty,recursive"`
   170  }
   171  
   172  // autoScaleReadResult represents the Result of API
   173  type autoScaleReadResult struct {
   174  	IsOk bool `json:",omitempty"` // is_ok
   175  
   176  	AutoScale *AutoScale `json:",omitempty" mapconv:"CommonServiceItem,omitempty,recursive"`
   177  }
   178  
   179  // autoScaleUpdateResult represents the Result of API
   180  type autoScaleUpdateResult struct {
   181  	IsOk bool `json:",omitempty"` // is_ok
   182  
   183  	AutoScale *AutoScale `json:",omitempty" mapconv:"CommonServiceItem,omitempty,recursive"`
   184  }
   185  
   186  // autoScaleUpdateSettingsResult represents the Result of API
   187  type autoScaleUpdateSettingsResult struct {
   188  	IsOk bool `json:",omitempty"` // is_ok
   189  
   190  	AutoScale *AutoScale `json:",omitempty" mapconv:"CommonServiceItem,omitempty,recursive"`
   191  }
   192  
   193  // autoScaleStatusResult represents the Result of API
   194  type autoScaleStatusResult struct {
   195  	IsOk bool `json:",omitempty"` // is_ok
   196  
   197  	AutoScaleStatus *AutoScaleStatus `json:",omitempty" mapconv:"AutoScale,omitempty,recursive"`
   198  }
   199  
   200  // BillByContractResult represents the Result of API
   201  type BillByContractResult struct {
   202  	Total int `json:",omitempty"` // Total count of target resources
   203  	From  int `json:",omitempty"` // Current page number
   204  	Count int `json:",omitempty"` // Count of current page
   205  
   206  	Bills []*Bill `json:",omitempty" mapconv:"[]Bills,omitempty,recursive"`
   207  }
   208  
   209  // Values returns find results
   210  func (r *BillByContractResult) Values() []interface{} {
   211  	var results []interface{}
   212  	for _, v := range r.Bills {
   213  		results = append(results, v)
   214  	}
   215  	return results
   216  }
   217  
   218  // BillByContractYearResult represents the Result of API
   219  type BillByContractYearResult struct {
   220  	Total int `json:",omitempty"` // Total count of target resources
   221  	From  int `json:",omitempty"` // Current page number
   222  	Count int `json:",omitempty"` // Count of current page
   223  
   224  	Bills []*Bill `json:",omitempty" mapconv:"[]Bills,omitempty,recursive"`
   225  }
   226  
   227  // Values returns find results
   228  func (r *BillByContractYearResult) Values() []interface{} {
   229  	var results []interface{}
   230  	for _, v := range r.Bills {
   231  		results = append(results, v)
   232  	}
   233  	return results
   234  }
   235  
   236  // BillByContractYearMonthResult represents the Result of API
   237  type BillByContractYearMonthResult struct {
   238  	Total int `json:",omitempty"` // Total count of target resources
   239  	From  int `json:",omitempty"` // Current page number
   240  	Count int `json:",omitempty"` // Count of current page
   241  
   242  	Bills []*Bill `json:",omitempty" mapconv:"[]Bills,omitempty,recursive"`
   243  }
   244  
   245  // Values returns find results
   246  func (r *BillByContractYearMonthResult) Values() []interface{} {
   247  	var results []interface{}
   248  	for _, v := range r.Bills {
   249  		results = append(results, v)
   250  	}
   251  	return results
   252  }
   253  
   254  // BillReadResult represents the Result of API
   255  type BillReadResult struct {
   256  	Total int `json:",omitempty"` // Total count of target resources
   257  	From  int `json:",omitempty"` // Current page number
   258  	Count int `json:",omitempty"` // Count of current page
   259  
   260  	Bills []*Bill `json:",omitempty" mapconv:"[]Bills,omitempty,recursive"`
   261  }
   262  
   263  // Values returns find results
   264  func (r *BillReadResult) Values() []interface{} {
   265  	var results []interface{}
   266  	for _, v := range r.Bills {
   267  		results = append(results, v)
   268  	}
   269  	return results
   270  }
   271  
   272  // BillDetailsResult represents the Result of API
   273  type BillDetailsResult struct {
   274  	Total int `json:",omitempty"` // Total count of target resources
   275  	From  int `json:",omitempty"` // Current page number
   276  	Count int `json:",omitempty"` // Count of current page
   277  
   278  	BillDetails []*BillDetail `json:",omitempty" mapconv:"[]BillDetails,omitempty,recursive"`
   279  }
   280  
   281  // Values returns find results
   282  func (r *BillDetailsResult) Values() []interface{} {
   283  	var results []interface{}
   284  	for _, v := range r.BillDetails {
   285  		results = append(results, v)
   286  	}
   287  	return results
   288  }
   289  
   290  // billDetailsCSVResult represents the Result of API
   291  type billDetailsCSVResult struct {
   292  	IsOk bool `json:",omitempty"` // is_ok
   293  
   294  	BillDetailCSV *BillDetailCSV `json:",omitempty" mapconv:"CSV,omitempty,recursive"`
   295  }
   296  
   297  // BridgeFindResult represents the Result of API
   298  type BridgeFindResult struct {
   299  	Total int `json:",omitempty"` // Total count of target resources
   300  	From  int `json:",omitempty"` // Current page number
   301  	Count int `json:",omitempty"` // Count of current page
   302  
   303  	Bridges []*Bridge `json:",omitempty" mapconv:"[]Bridges,omitempty,recursive"`
   304  }
   305  
   306  // Values returns find results
   307  func (r *BridgeFindResult) Values() []interface{} {
   308  	var results []interface{}
   309  	for _, v := range r.Bridges {
   310  		results = append(results, v)
   311  	}
   312  	return results
   313  }
   314  
   315  // bridgeCreateResult represents the Result of API
   316  type bridgeCreateResult struct {
   317  	IsOk bool `json:",omitempty"` // is_ok
   318  
   319  	Bridge *Bridge `json:",omitempty" mapconv:"Bridge,omitempty,recursive"`
   320  }
   321  
   322  // bridgeReadResult represents the Result of API
   323  type bridgeReadResult struct {
   324  	IsOk bool `json:",omitempty"` // is_ok
   325  
   326  	Bridge *Bridge `json:",omitempty" mapconv:"Bridge,omitempty,recursive"`
   327  }
   328  
   329  // bridgeUpdateResult represents the Result of API
   330  type bridgeUpdateResult struct {
   331  	IsOk bool `json:",omitempty"` // is_ok
   332  
   333  	Bridge *Bridge `json:",omitempty" mapconv:"Bridge,omitempty,recursive"`
   334  }
   335  
   336  // CDROMFindResult represents the Result of API
   337  type CDROMFindResult struct {
   338  	Total int `json:",omitempty"` // Total count of target resources
   339  	From  int `json:",omitempty"` // Current page number
   340  	Count int `json:",omitempty"` // Count of current page
   341  
   342  	CDROMs []*CDROM `json:",omitempty" mapconv:"[]CDROMs,omitempty,recursive"`
   343  }
   344  
   345  // Values returns find results
   346  func (r *CDROMFindResult) Values() []interface{} {
   347  	var results []interface{}
   348  	for _, v := range r.CDROMs {
   349  		results = append(results, v)
   350  	}
   351  	return results
   352  }
   353  
   354  // cDROMCreateResult represents the Result of API
   355  type cDROMCreateResult struct {
   356  	IsOk bool `json:",omitempty"` // is_ok
   357  
   358  	CDROM     *CDROM     `json:",omitempty" mapconv:"CDROM,omitempty,recursive"`
   359  	FTPServer *FTPServer `json:",omitempty" mapconv:"FTPServer,omitempty,recursive"`
   360  }
   361  
   362  // cDROMReadResult represents the Result of API
   363  type cDROMReadResult struct {
   364  	IsOk bool `json:",omitempty"` // is_ok
   365  
   366  	CDROM *CDROM `json:",omitempty" mapconv:"CDROM,omitempty,recursive"`
   367  }
   368  
   369  // cDROMUpdateResult represents the Result of API
   370  type cDROMUpdateResult struct {
   371  	IsOk bool `json:",omitempty"` // is_ok
   372  
   373  	CDROM *CDROM `json:",omitempty" mapconv:"CDROM,omitempty,recursive"`
   374  }
   375  
   376  // cDROMOpenFTPResult represents the Result of API
   377  type cDROMOpenFTPResult struct {
   378  	IsOk bool `json:",omitempty"` // is_ok
   379  
   380  	FTPServer *FTPServer `json:",omitempty" mapconv:"FTPServer,omitempty,recursive"`
   381  }
   382  
   383  // CertificateAuthorityFindResult represents the Result of API
   384  type CertificateAuthorityFindResult struct {
   385  	Total int `json:",omitempty"` // Total count of target resources
   386  	From  int `json:",omitempty"` // Current page number
   387  	Count int `json:",omitempty"` // Count of current page
   388  
   389  	CertificateAuthorities []*CertificateAuthority `json:",omitempty" mapconv:"[]CommonServiceItems,omitempty,recursive"`
   390  }
   391  
   392  // Values returns find results
   393  func (r *CertificateAuthorityFindResult) Values() []interface{} {
   394  	var results []interface{}
   395  	for _, v := range r.CertificateAuthorities {
   396  		results = append(results, v)
   397  	}
   398  	return results
   399  }
   400  
   401  // certificateAuthorityCreateResult represents the Result of API
   402  type certificateAuthorityCreateResult struct {
   403  	IsOk bool `json:",omitempty"` // is_ok
   404  
   405  	CertificateAuthority *CertificateAuthority `json:",omitempty" mapconv:"CommonServiceItem,omitempty,recursive"`
   406  }
   407  
   408  // certificateAuthorityReadResult represents the Result of API
   409  type certificateAuthorityReadResult struct {
   410  	IsOk bool `json:",omitempty"` // is_ok
   411  
   412  	CertificateAuthority *CertificateAuthority `json:",omitempty" mapconv:"CommonServiceItem,omitempty,recursive"`
   413  }
   414  
   415  // certificateAuthorityUpdateResult represents the Result of API
   416  type certificateAuthorityUpdateResult struct {
   417  	IsOk bool `json:",omitempty"` // is_ok
   418  
   419  	CertificateAuthority *CertificateAuthority `json:",omitempty" mapconv:"CommonServiceItem,omitempty,recursive"`
   420  }
   421  
   422  // certificateAuthorityDetailResult represents the Result of API
   423  type certificateAuthorityDetailResult struct {
   424  	IsOk bool `json:",omitempty"` // is_ok
   425  
   426  	CertificateAuthority *CertificateAuthorityDetail `json:",omitempty" mapconv:"CertificateAuthority,omitempty,recursive"`
   427  }
   428  
   429  // certificateAuthorityAddClientResult represents the Result of API
   430  type certificateAuthorityAddClientResult struct {
   431  	IsOk bool `json:",omitempty"` // is_ok
   432  
   433  	CertificateAuthority *CertificateAuthorityAddClientOrServerResult `json:",omitempty" mapconv:"CertificateAuthority,omitempty,recursive"`
   434  }
   435  
   436  // CertificateAuthorityListClientsResult represents the Result of API
   437  type CertificateAuthorityListClientsResult struct {
   438  	Total int `json:",omitempty"` // Total count of target resources
   439  	From  int `json:",omitempty"` // Current page number
   440  	Count int `json:",omitempty"` // Count of current page
   441  
   442  	CertificateAuthority []*CertificateAuthorityClient `json:",omitempty" mapconv:"[]CertificateAuthority,omitempty,recursive"`
   443  }
   444  
   445  // Values returns find results
   446  func (r *CertificateAuthorityListClientsResult) Values() []interface{} {
   447  	var results []interface{}
   448  	for _, v := range r.CertificateAuthority {
   449  		results = append(results, v)
   450  	}
   451  	return results
   452  }
   453  
   454  // certificateAuthorityReadClientResult represents the Result of API
   455  type certificateAuthorityReadClientResult struct {
   456  	IsOk bool `json:",omitempty"` // is_ok
   457  
   458  	CertificateAuthority *CertificateAuthorityClient `json:",omitempty" mapconv:"CertificateAuthority,omitempty,recursive"`
   459  }
   460  
   461  // certificateAuthorityAddServerResult represents the Result of API
   462  type certificateAuthorityAddServerResult struct {
   463  	IsOk bool `json:",omitempty"` // is_ok
   464  
   465  	CertificateAuthority *CertificateAuthorityAddClientOrServerResult `json:",omitempty" mapconv:"CertificateAuthority,omitempty,recursive"`
   466  }
   467  
   468  // CertificateAuthorityListServersResult represents the Result of API
   469  type CertificateAuthorityListServersResult struct {
   470  	Total int `json:",omitempty"` // Total count of target resources
   471  	From  int `json:",omitempty"` // Current page number
   472  	Count int `json:",omitempty"` // Count of current page
   473  
   474  	CertificateAuthority []*CertificateAuthorityServer `json:",omitempty" mapconv:"[]CertificateAuthority,omitempty,recursive"`
   475  }
   476  
   477  // Values returns find results
   478  func (r *CertificateAuthorityListServersResult) Values() []interface{} {
   479  	var results []interface{}
   480  	for _, v := range r.CertificateAuthority {
   481  		results = append(results, v)
   482  	}
   483  	return results
   484  }
   485  
   486  // certificateAuthorityReadServerResult represents the Result of API
   487  type certificateAuthorityReadServerResult struct {
   488  	IsOk bool `json:",omitempty"` // is_ok
   489  
   490  	CertificateAuthority *CertificateAuthorityServer `json:",omitempty" mapconv:"CertificateAuthority,omitempty,recursive"`
   491  }
   492  
   493  // ContainerRegistryFindResult represents the Result of API
   494  type ContainerRegistryFindResult struct {
   495  	Total int `json:",omitempty"` // Total count of target resources
   496  	From  int `json:",omitempty"` // Current page number
   497  	Count int `json:",omitempty"` // Count of current page
   498  
   499  	ContainerRegistries []*ContainerRegistry `json:",omitempty" mapconv:"[]CommonServiceItems,omitempty,recursive"`
   500  }
   501  
   502  // Values returns find results
   503  func (r *ContainerRegistryFindResult) Values() []interface{} {
   504  	var results []interface{}
   505  	for _, v := range r.ContainerRegistries {
   506  		results = append(results, v)
   507  	}
   508  	return results
   509  }
   510  
   511  // containerRegistryCreateResult represents the Result of API
   512  type containerRegistryCreateResult struct {
   513  	IsOk bool `json:",omitempty"` // is_ok
   514  
   515  	ContainerRegistry *ContainerRegistry `json:",omitempty" mapconv:"CommonServiceItem,omitempty,recursive"`
   516  }
   517  
   518  // containerRegistryReadResult represents the Result of API
   519  type containerRegistryReadResult struct {
   520  	IsOk bool `json:",omitempty"` // is_ok
   521  
   522  	ContainerRegistry *ContainerRegistry `json:",omitempty" mapconv:"CommonServiceItem,omitempty,recursive"`
   523  }
   524  
   525  // containerRegistryUpdateResult represents the Result of API
   526  type containerRegistryUpdateResult struct {
   527  	IsOk bool `json:",omitempty"` // is_ok
   528  
   529  	ContainerRegistry *ContainerRegistry `json:",omitempty" mapconv:"CommonServiceItem,omitempty,recursive"`
   530  }
   531  
   532  // containerRegistryUpdateSettingsResult represents the Result of API
   533  type containerRegistryUpdateSettingsResult struct {
   534  	IsOk bool `json:",omitempty"` // is_ok
   535  
   536  	ContainerRegistry *ContainerRegistry `json:",omitempty" mapconv:"CommonServiceItem,omitempty,recursive"`
   537  }
   538  
   539  // containerRegistryListUsersResult represents the Result of API
   540  type containerRegistryListUsersResult struct {
   541  	IsOk bool `json:",omitempty"` // is_ok
   542  
   543  	ContainerRegistryUsers *ContainerRegistryUsers `json:",omitempty" mapconv:"ContainerRegistry,omitempty,recursive"`
   544  }
   545  
   546  // CouponFindResult represents the Result of API
   547  type CouponFindResult struct {
   548  	Total int `json:",omitempty"` // Total count of target resources
   549  	From  int `json:",omitempty"` // Current page number
   550  	Count int `json:",omitempty"` // Count of current page
   551  
   552  	Coupons []*Coupon `json:",omitempty" mapconv:"[]Coupon,omitempty,recursive"`
   553  }
   554  
   555  // Values returns find results
   556  func (r *CouponFindResult) Values() []interface{} {
   557  	var results []interface{}
   558  	for _, v := range r.Coupons {
   559  		results = append(results, v)
   560  	}
   561  	return results
   562  }
   563  
   564  // DatabaseFindResult represents the Result of API
   565  type DatabaseFindResult struct {
   566  	Total int `json:",omitempty"` // Total count of target resources
   567  	From  int `json:",omitempty"` // Current page number
   568  	Count int `json:",omitempty"` // Count of current page
   569  
   570  	Databases []*Database `json:",omitempty" mapconv:"[]Appliances,omitempty,recursive"`
   571  }
   572  
   573  // Values returns find results
   574  func (r *DatabaseFindResult) Values() []interface{} {
   575  	var results []interface{}
   576  	for _, v := range r.Databases {
   577  		results = append(results, v)
   578  	}
   579  	return results
   580  }
   581  
   582  // databaseCreateResult represents the Result of API
   583  type databaseCreateResult struct {
   584  	IsOk bool `json:",omitempty"` // is_ok
   585  
   586  	Database *Database `json:",omitempty" mapconv:"Appliance,omitempty,recursive"`
   587  }
   588  
   589  // databaseReadResult represents the Result of API
   590  type databaseReadResult struct {
   591  	IsOk bool `json:",omitempty"` // is_ok
   592  
   593  	Database *Database `json:",omitempty" mapconv:"Appliance,omitempty,recursive"`
   594  }
   595  
   596  // databaseUpdateResult represents the Result of API
   597  type databaseUpdateResult struct {
   598  	IsOk bool `json:",omitempty"` // is_ok
   599  
   600  	Database *Database `json:",omitempty" mapconv:"Appliance,omitempty,recursive"`
   601  }
   602  
   603  // databaseUpdateSettingsResult represents the Result of API
   604  type databaseUpdateSettingsResult struct {
   605  	IsOk bool `json:",omitempty"` // is_ok
   606  
   607  	Database *Database `json:",omitempty" mapconv:"Appliance,omitempty,recursive"`
   608  }
   609  
   610  // databaseMonitorCPUResult represents the Result of API
   611  type databaseMonitorCPUResult struct {
   612  	IsOk bool `json:",omitempty"` // is_ok
   613  
   614  	CPUTimeActivity *CPUTimeActivity `json:",omitempty" mapconv:"Data,omitempty,recursive"`
   615  }
   616  
   617  // databaseMonitorDiskResult represents the Result of API
   618  type databaseMonitorDiskResult struct {
   619  	IsOk bool `json:",omitempty"` // is_ok
   620  
   621  	DiskActivity *DiskActivity `json:",omitempty" mapconv:"Data,omitempty,recursive"`
   622  }
   623  
   624  // databaseMonitorInterfaceResult represents the Result of API
   625  type databaseMonitorInterfaceResult struct {
   626  	IsOk bool `json:",omitempty"` // is_ok
   627  
   628  	InterfaceActivity *InterfaceActivity `json:",omitempty" mapconv:"Data,omitempty,recursive"`
   629  }
   630  
   631  // databaseMonitorDatabaseResult represents the Result of API
   632  type databaseMonitorDatabaseResult struct {
   633  	IsOk bool `json:",omitempty"` // is_ok
   634  
   635  	DatabaseActivity *DatabaseActivity `json:",omitempty" mapconv:"Data,omitempty,recursive"`
   636  }
   637  
   638  // databaseStatusResult represents the Result of API
   639  type databaseStatusResult struct {
   640  	IsOk bool `json:",omitempty"` // is_ok
   641  
   642  	DatabaseStatus *DatabaseStatus `json:",omitempty" mapconv:"Appliance,omitempty,recursive"`
   643  }
   644  
   645  // databaseGetParameterResult represents the Result of API
   646  type databaseGetParameterResult struct {
   647  	IsOk bool `json:",omitempty"` // is_ok
   648  
   649  	DatabaseParameter *DatabaseParameter `json:",omitempty" mapconv:"Database,omitempty,recursive"`
   650  }
   651  
   652  // DiskFindResult represents the Result of API
   653  type DiskFindResult struct {
   654  	Total int `json:",omitempty"` // Total count of target resources
   655  	From  int `json:",omitempty"` // Current page number
   656  	Count int `json:",omitempty"` // Count of current page
   657  
   658  	Disks []*Disk `json:",omitempty" mapconv:"[]Disks,omitempty,recursive"`
   659  }
   660  
   661  // Values returns find results
   662  func (r *DiskFindResult) Values() []interface{} {
   663  	var results []interface{}
   664  	for _, v := range r.Disks {
   665  		results = append(results, v)
   666  	}
   667  	return results
   668  }
   669  
   670  // diskCreateResult represents the Result of API
   671  type diskCreateResult struct {
   672  	IsOk bool `json:",omitempty"` // is_ok
   673  
   674  	Disk *Disk `json:",omitempty" mapconv:"Disk,omitempty,recursive"`
   675  }
   676  
   677  // diskCreateWithConfigResult represents the Result of API
   678  type diskCreateWithConfigResult struct {
   679  	IsOk bool `json:",omitempty"` // is_ok
   680  
   681  	Disk *Disk `json:",omitempty" mapconv:"Disk,omitempty,recursive"`
   682  }
   683  
   684  // diskReadResult represents the Result of API
   685  type diskReadResult struct {
   686  	IsOk bool `json:",omitempty"` // is_ok
   687  
   688  	Disk *Disk `json:",omitempty" mapconv:"Disk,omitempty,recursive"`
   689  }
   690  
   691  // diskUpdateResult represents the Result of API
   692  type diskUpdateResult struct {
   693  	IsOk bool `json:",omitempty"` // is_ok
   694  
   695  	Disk *Disk `json:",omitempty" mapconv:"Disk,omitempty,recursive"`
   696  }
   697  
   698  // diskMonitorResult represents the Result of API
   699  type diskMonitorResult struct {
   700  	IsOk bool `json:",omitempty"` // is_ok
   701  
   702  	DiskActivity *DiskActivity `json:",omitempty" mapconv:"Data,omitempty,recursive"`
   703  }
   704  
   705  // diskMonitorDiskResult represents the Result of API
   706  type diskMonitorDiskResult struct {
   707  	IsOk bool `json:",omitempty"` // is_ok
   708  
   709  	DiskActivity *DiskActivity `json:",omitempty" mapconv:"Data,omitempty,recursive"`
   710  }
   711  
   712  // DiskPlanFindResult represents the Result of API
   713  type DiskPlanFindResult struct {
   714  	Total int `json:",omitempty"` // Total count of target resources
   715  	From  int `json:",omitempty"` // Current page number
   716  	Count int `json:",omitempty"` // Count of current page
   717  
   718  	DiskPlans []*DiskPlan `json:",omitempty" mapconv:"[]DiskPlans,omitempty,recursive"`
   719  }
   720  
   721  // Values returns find results
   722  func (r *DiskPlanFindResult) Values() []interface{} {
   723  	var results []interface{}
   724  	for _, v := range r.DiskPlans {
   725  		results = append(results, v)
   726  	}
   727  	return results
   728  }
   729  
   730  // diskPlanReadResult represents the Result of API
   731  type diskPlanReadResult struct {
   732  	IsOk bool `json:",omitempty"` // is_ok
   733  
   734  	DiskPlan *DiskPlan `json:",omitempty" mapconv:"DiskPlan,omitempty,recursive"`
   735  }
   736  
   737  // DNSFindResult represents the Result of API
   738  type DNSFindResult struct {
   739  	Total int `json:",omitempty"` // Total count of target resources
   740  	From  int `json:",omitempty"` // Current page number
   741  	Count int `json:",omitempty"` // Count of current page
   742  
   743  	DNS []*DNS `json:",omitempty" mapconv:"[]CommonServiceItems,omitempty,recursive"`
   744  }
   745  
   746  // Values returns find results
   747  func (r *DNSFindResult) Values() []interface{} {
   748  	var results []interface{}
   749  	for _, v := range r.DNS {
   750  		results = append(results, v)
   751  	}
   752  	return results
   753  }
   754  
   755  // dNSCreateResult represents the Result of API
   756  type dNSCreateResult struct {
   757  	IsOk bool `json:",omitempty"` // is_ok
   758  
   759  	DNS *DNS `json:",omitempty" mapconv:"CommonServiceItem,omitempty,recursive"`
   760  }
   761  
   762  // dNSReadResult represents the Result of API
   763  type dNSReadResult struct {
   764  	IsOk bool `json:",omitempty"` // is_ok
   765  
   766  	DNS *DNS `json:",omitempty" mapconv:"CommonServiceItem,omitempty,recursive"`
   767  }
   768  
   769  // dNSUpdateResult represents the Result of API
   770  type dNSUpdateResult struct {
   771  	IsOk bool `json:",omitempty"` // is_ok
   772  
   773  	DNS *DNS `json:",omitempty" mapconv:"CommonServiceItem,omitempty,recursive"`
   774  }
   775  
   776  // dNSUpdateSettingsResult represents the Result of API
   777  type dNSUpdateSettingsResult struct {
   778  	IsOk bool `json:",omitempty"` // is_ok
   779  
   780  	DNS *DNS `json:",omitempty" mapconv:"CommonServiceItem,omitempty,recursive"`
   781  }
   782  
   783  // EnhancedDBFindResult represents the Result of API
   784  type EnhancedDBFindResult struct {
   785  	Total int `json:",omitempty"` // Total count of target resources
   786  	From  int `json:",omitempty"` // Current page number
   787  	Count int `json:",omitempty"` // Count of current page
   788  
   789  	EnhancedDBs []*EnhancedDB `json:",omitempty" mapconv:"[]CommonServiceItems,omitempty,recursive"`
   790  }
   791  
   792  // Values returns find results
   793  func (r *EnhancedDBFindResult) Values() []interface{} {
   794  	var results []interface{}
   795  	for _, v := range r.EnhancedDBs {
   796  		results = append(results, v)
   797  	}
   798  	return results
   799  }
   800  
   801  // enhancedDBCreateResult represents the Result of API
   802  type enhancedDBCreateResult struct {
   803  	IsOk bool `json:",omitempty"` // is_ok
   804  
   805  	EnhancedDB *EnhancedDB `json:",omitempty" mapconv:"CommonServiceItem,omitempty,recursive"`
   806  }
   807  
   808  // enhancedDBReadResult represents the Result of API
   809  type enhancedDBReadResult struct {
   810  	IsOk bool `json:",omitempty"` // is_ok
   811  
   812  	EnhancedDB *EnhancedDB `json:",omitempty" mapconv:"CommonServiceItem,omitempty,recursive"`
   813  }
   814  
   815  // enhancedDBUpdateResult represents the Result of API
   816  type enhancedDBUpdateResult struct {
   817  	IsOk bool `json:",omitempty"` // is_ok
   818  
   819  	EnhancedDB *EnhancedDB `json:",omitempty" mapconv:"CommonServiceItem,omitempty,recursive"`
   820  }
   821  
   822  // enhancedDBGetConfigResult represents the Result of API
   823  type enhancedDBGetConfigResult struct {
   824  	IsOk bool `json:",omitempty"` // is_ok
   825  
   826  	EnhancedDBConfig *EnhancedDBConfig `json:",omitempty" mapconv:"EnhancedDB,omitempty,recursive"`
   827  }
   828  
   829  // ESMEFindResult represents the Result of API
   830  type ESMEFindResult struct {
   831  	Total int `json:",omitempty"` // Total count of target resources
   832  	From  int `json:",omitempty"` // Current page number
   833  	Count int `json:",omitempty"` // Count of current page
   834  
   835  	ESME []*ESME `json:",omitempty" mapconv:"[]CommonServiceItems,omitempty,recursive"`
   836  }
   837  
   838  // Values returns find results
   839  func (r *ESMEFindResult) Values() []interface{} {
   840  	var results []interface{}
   841  	for _, v := range r.ESME {
   842  		results = append(results, v)
   843  	}
   844  	return results
   845  }
   846  
   847  // eSMECreateResult represents the Result of API
   848  type eSMECreateResult struct {
   849  	IsOk bool `json:",omitempty"` // is_ok
   850  
   851  	ESME *ESME `json:",omitempty" mapconv:"CommonServiceItem,omitempty,recursive"`
   852  }
   853  
   854  // eSMEReadResult represents the Result of API
   855  type eSMEReadResult struct {
   856  	IsOk bool `json:",omitempty"` // is_ok
   857  
   858  	ESME *ESME `json:",omitempty" mapconv:"CommonServiceItem,omitempty,recursive"`
   859  }
   860  
   861  // eSMEUpdateResult represents the Result of API
   862  type eSMEUpdateResult struct {
   863  	IsOk bool `json:",omitempty"` // is_ok
   864  
   865  	ESME *ESME `json:",omitempty" mapconv:"CommonServiceItem,omitempty,recursive"`
   866  }
   867  
   868  // eSMESendMessageWithGeneratedOTPResult represents the Result of API
   869  type eSMESendMessageWithGeneratedOTPResult struct {
   870  	IsOk bool `json:",omitempty"` // is_ok
   871  
   872  	ESMESendMessageResult *ESMESendMessageResult `json:",omitempty" mapconv:"ESME,omitempty,recursive"`
   873  }
   874  
   875  // eSMESendMessageWithInputtedOTPResult represents the Result of API
   876  type eSMESendMessageWithInputtedOTPResult struct {
   877  	IsOk bool `json:",omitempty"` // is_ok
   878  
   879  	ESMESendMessageResult *ESMESendMessageResult `json:",omitempty" mapconv:"ESME,omitempty,recursive"`
   880  }
   881  
   882  // eSMELogsResult represents the Result of API
   883  type eSMELogsResult struct {
   884  	IsOk bool `json:",omitempty"` // is_ok
   885  
   886  	Logs []*ESMELogs `json:",omitempty" mapconv:"[]ESME.Logs,omitempty,recursive"`
   887  }
   888  
   889  // GSLBFindResult represents the Result of API
   890  type GSLBFindResult struct {
   891  	Total int `json:",omitempty"` // Total count of target resources
   892  	From  int `json:",omitempty"` // Current page number
   893  	Count int `json:",omitempty"` // Count of current page
   894  
   895  	GSLBs []*GSLB `json:",omitempty" mapconv:"[]CommonServiceItems,omitempty,recursive"`
   896  }
   897  
   898  // Values returns find results
   899  func (r *GSLBFindResult) Values() []interface{} {
   900  	var results []interface{}
   901  	for _, v := range r.GSLBs {
   902  		results = append(results, v)
   903  	}
   904  	return results
   905  }
   906  
   907  // gSLBCreateResult represents the Result of API
   908  type gSLBCreateResult struct {
   909  	IsOk bool `json:",omitempty"` // is_ok
   910  
   911  	GSLB *GSLB `json:",omitempty" mapconv:"CommonServiceItem,omitempty,recursive"`
   912  }
   913  
   914  // gSLBReadResult represents the Result of API
   915  type gSLBReadResult struct {
   916  	IsOk bool `json:",omitempty"` // is_ok
   917  
   918  	GSLB *GSLB `json:",omitempty" mapconv:"CommonServiceItem,omitempty,recursive"`
   919  }
   920  
   921  // gSLBUpdateResult represents the Result of API
   922  type gSLBUpdateResult struct {
   923  	IsOk bool `json:",omitempty"` // is_ok
   924  
   925  	GSLB *GSLB `json:",omitempty" mapconv:"CommonServiceItem,omitempty,recursive"`
   926  }
   927  
   928  // gSLBUpdateSettingsResult represents the Result of API
   929  type gSLBUpdateSettingsResult struct {
   930  	IsOk bool `json:",omitempty"` // is_ok
   931  
   932  	GSLB *GSLB `json:",omitempty" mapconv:"CommonServiceItem,omitempty,recursive"`
   933  }
   934  
   935  // IconFindResult represents the Result of API
   936  type IconFindResult struct {
   937  	Total int `json:",omitempty"` // Total count of target resources
   938  	From  int `json:",omitempty"` // Current page number
   939  	Count int `json:",omitempty"` // Count of current page
   940  
   941  	Icons []*Icon `json:",omitempty" mapconv:"[]Icons,omitempty,recursive"`
   942  }
   943  
   944  // Values returns find results
   945  func (r *IconFindResult) Values() []interface{} {
   946  	var results []interface{}
   947  	for _, v := range r.Icons {
   948  		results = append(results, v)
   949  	}
   950  	return results
   951  }
   952  
   953  // iconCreateResult represents the Result of API
   954  type iconCreateResult struct {
   955  	IsOk bool `json:",omitempty"` // is_ok
   956  
   957  	Icon *Icon `json:",omitempty" mapconv:"Icon,omitempty,recursive"`
   958  }
   959  
   960  // iconReadResult represents the Result of API
   961  type iconReadResult struct {
   962  	IsOk bool `json:",omitempty"` // is_ok
   963  
   964  	Icon *Icon `json:",omitempty" mapconv:"Icon,omitempty,recursive"`
   965  }
   966  
   967  // iconUpdateResult represents the Result of API
   968  type iconUpdateResult struct {
   969  	IsOk bool `json:",omitempty"` // is_ok
   970  
   971  	Icon *Icon `json:",omitempty" mapconv:"Icon,omitempty,recursive"`
   972  }
   973  
   974  // InterfaceFindResult represents the Result of API
   975  type InterfaceFindResult struct {
   976  	Total int `json:",omitempty"` // Total count of target resources
   977  	From  int `json:",omitempty"` // Current page number
   978  	Count int `json:",omitempty"` // Count of current page
   979  
   980  	Interfaces []*Interface `json:",omitempty" mapconv:"[]Interfaces,omitempty,recursive"`
   981  }
   982  
   983  // Values returns find results
   984  func (r *InterfaceFindResult) Values() []interface{} {
   985  	var results []interface{}
   986  	for _, v := range r.Interfaces {
   987  		results = append(results, v)
   988  	}
   989  	return results
   990  }
   991  
   992  // interfaceCreateResult represents the Result of API
   993  type interfaceCreateResult struct {
   994  	IsOk bool `json:",omitempty"` // is_ok
   995  
   996  	Interface *Interface `json:",omitempty" mapconv:"Interface,omitempty,recursive"`
   997  }
   998  
   999  // interfaceReadResult represents the Result of API
  1000  type interfaceReadResult struct {
  1001  	IsOk bool `json:",omitempty"` // is_ok
  1002  
  1003  	Interface *Interface `json:",omitempty" mapconv:"Interface,omitempty,recursive"`
  1004  }
  1005  
  1006  // interfaceUpdateResult represents the Result of API
  1007  type interfaceUpdateResult struct {
  1008  	IsOk bool `json:",omitempty"` // is_ok
  1009  
  1010  	Interface *Interface `json:",omitempty" mapconv:"Interface,omitempty,recursive"`
  1011  }
  1012  
  1013  // interfaceMonitorResult represents the Result of API
  1014  type interfaceMonitorResult struct {
  1015  	IsOk bool `json:",omitempty"` // is_ok
  1016  
  1017  	InterfaceActivity *InterfaceActivity `json:",omitempty" mapconv:"Data,omitempty,recursive"`
  1018  }
  1019  
  1020  // InternetFindResult represents the Result of API
  1021  type InternetFindResult struct {
  1022  	Total int `json:",omitempty"` // Total count of target resources
  1023  	From  int `json:",omitempty"` // Current page number
  1024  	Count int `json:",omitempty"` // Count of current page
  1025  
  1026  	Internet []*Internet `json:",omitempty" mapconv:"[]Internet,omitempty,recursive"`
  1027  }
  1028  
  1029  // Values returns find results
  1030  func (r *InternetFindResult) Values() []interface{} {
  1031  	var results []interface{}
  1032  	for _, v := range r.Internet {
  1033  		results = append(results, v)
  1034  	}
  1035  	return results
  1036  }
  1037  
  1038  // internetCreateResult represents the Result of API
  1039  type internetCreateResult struct {
  1040  	IsOk bool `json:",omitempty"` // is_ok
  1041  
  1042  	Internet *Internet `json:",omitempty" mapconv:"Internet,omitempty,recursive"`
  1043  }
  1044  
  1045  // internetReadResult represents the Result of API
  1046  type internetReadResult struct {
  1047  	IsOk bool `json:",omitempty"` // is_ok
  1048  
  1049  	Internet *Internet `json:",omitempty" mapconv:"Internet,omitempty,recursive"`
  1050  }
  1051  
  1052  // internetUpdateResult represents the Result of API
  1053  type internetUpdateResult struct {
  1054  	IsOk bool `json:",omitempty"` // is_ok
  1055  
  1056  	Internet *Internet `json:",omitempty" mapconv:"Internet,omitempty,recursive"`
  1057  }
  1058  
  1059  // internetUpdateBandWidthResult represents the Result of API
  1060  type internetUpdateBandWidthResult struct {
  1061  	IsOk bool `json:",omitempty"` // is_ok
  1062  
  1063  	Internet *Internet `json:",omitempty" mapconv:"Internet,omitempty,recursive"`
  1064  }
  1065  
  1066  // internetAddSubnetResult represents the Result of API
  1067  type internetAddSubnetResult struct {
  1068  	IsOk bool `json:",omitempty"` // is_ok
  1069  
  1070  	Subnet *InternetSubnetOperationResult `json:",omitempty" mapconv:"Subnet,omitempty,recursive"`
  1071  }
  1072  
  1073  // internetUpdateSubnetResult represents the Result of API
  1074  type internetUpdateSubnetResult struct {
  1075  	IsOk bool `json:",omitempty"` // is_ok
  1076  
  1077  	Subnet *InternetSubnetOperationResult `json:",omitempty" mapconv:"Subnet,omitempty,recursive"`
  1078  }
  1079  
  1080  // internetMonitorResult represents the Result of API
  1081  type internetMonitorResult struct {
  1082  	IsOk bool `json:",omitempty"` // is_ok
  1083  
  1084  	RouterActivity *RouterActivity `json:",omitempty" mapconv:"Data,omitempty,recursive"`
  1085  }
  1086  
  1087  // internetMonitorRouterResult represents the Result of API
  1088  type internetMonitorRouterResult struct {
  1089  	IsOk bool `json:",omitempty"` // is_ok
  1090  
  1091  	RouterActivity *RouterActivity `json:",omitempty" mapconv:"Data,omitempty,recursive"`
  1092  }
  1093  
  1094  // internetEnableIPv6Result represents the Result of API
  1095  type internetEnableIPv6Result struct {
  1096  	IsOk bool `json:",omitempty"` // is_ok
  1097  
  1098  	IPv6Net *IPv6NetInfo `json:",omitempty" mapconv:"IPv6Net,omitempty,recursive"`
  1099  }
  1100  
  1101  // InternetPlanFindResult represents the Result of API
  1102  type InternetPlanFindResult struct {
  1103  	Total int `json:",omitempty"` // Total count of target resources
  1104  	From  int `json:",omitempty"` // Current page number
  1105  	Count int `json:",omitempty"` // Count of current page
  1106  
  1107  	InternetPlans []*InternetPlan `json:",omitempty" mapconv:"[]InternetPlans,omitempty,recursive"`
  1108  }
  1109  
  1110  // Values returns find results
  1111  func (r *InternetPlanFindResult) Values() []interface{} {
  1112  	var results []interface{}
  1113  	for _, v := range r.InternetPlans {
  1114  		results = append(results, v)
  1115  	}
  1116  	return results
  1117  }
  1118  
  1119  // internetPlanReadResult represents the Result of API
  1120  type internetPlanReadResult struct {
  1121  	IsOk bool `json:",omitempty"` // is_ok
  1122  
  1123  	InternetPlan *InternetPlan `json:",omitempty" mapconv:"InternetPlan,omitempty,recursive"`
  1124  }
  1125  
  1126  // IPAddressListResult represents the Result of API
  1127  type IPAddressListResult struct {
  1128  	Total int `json:",omitempty"` // Total count of target resources
  1129  	From  int `json:",omitempty"` // Current page number
  1130  	Count int `json:",omitempty"` // Count of current page
  1131  
  1132  	IPAddress []*IPAddress `json:",omitempty" mapconv:"[]IPAddress,omitempty,recursive"`
  1133  }
  1134  
  1135  // Values returns find results
  1136  func (r *IPAddressListResult) Values() []interface{} {
  1137  	var results []interface{}
  1138  	for _, v := range r.IPAddress {
  1139  		results = append(results, v)
  1140  	}
  1141  	return results
  1142  }
  1143  
  1144  // iPAddressReadResult represents the Result of API
  1145  type iPAddressReadResult struct {
  1146  	IsOk bool `json:",omitempty"` // is_ok
  1147  
  1148  	IPAddress *IPAddress `json:",omitempty" mapconv:"IPAddress,omitempty,recursive"`
  1149  }
  1150  
  1151  // iPAddressUpdateHostNameResult represents the Result of API
  1152  type iPAddressUpdateHostNameResult struct {
  1153  	IsOk bool `json:",omitempty"` // is_ok
  1154  
  1155  	IPAddress *IPAddress `json:",omitempty" mapconv:"IPAddress,omitempty,recursive"`
  1156  }
  1157  
  1158  // IPv6NetListResult represents the Result of API
  1159  type IPv6NetListResult struct {
  1160  	Total int `json:",omitempty"` // Total count of target resources
  1161  	From  int `json:",omitempty"` // Current page number
  1162  	Count int `json:",omitempty"` // Count of current page
  1163  
  1164  	IPv6Nets []*IPv6Net `json:",omitempty" mapconv:"[]IPv6Nets,omitempty,recursive"`
  1165  }
  1166  
  1167  // Values returns find results
  1168  func (r *IPv6NetListResult) Values() []interface{} {
  1169  	var results []interface{}
  1170  	for _, v := range r.IPv6Nets {
  1171  		results = append(results, v)
  1172  	}
  1173  	return results
  1174  }
  1175  
  1176  // IPv6NetFindResult represents the Result of API
  1177  type IPv6NetFindResult struct {
  1178  	Total int `json:",omitempty"` // Total count of target resources
  1179  	From  int `json:",omitempty"` // Current page number
  1180  	Count int `json:",omitempty"` // Count of current page
  1181  
  1182  	IPv6Nets []*IPv6Net `json:",omitempty" mapconv:"[]IPv6Nets,omitempty,recursive"`
  1183  }
  1184  
  1185  // Values returns find results
  1186  func (r *IPv6NetFindResult) Values() []interface{} {
  1187  	var results []interface{}
  1188  	for _, v := range r.IPv6Nets {
  1189  		results = append(results, v)
  1190  	}
  1191  	return results
  1192  }
  1193  
  1194  // iPv6NetReadResult represents the Result of API
  1195  type iPv6NetReadResult struct {
  1196  	IsOk bool `json:",omitempty"` // is_ok
  1197  
  1198  	IPv6Net *IPv6Net `json:",omitempty" mapconv:"IPv6Net,omitempty,recursive"`
  1199  }
  1200  
  1201  // IPv6AddrFindResult represents the Result of API
  1202  type IPv6AddrFindResult struct {
  1203  	Total int `json:",omitempty"` // Total count of target resources
  1204  	From  int `json:",omitempty"` // Current page number
  1205  	Count int `json:",omitempty"` // Count of current page
  1206  
  1207  	IPv6Addrs []*IPv6Addr `json:",omitempty" mapconv:"[]IPv6Addrs,omitempty,recursive"`
  1208  }
  1209  
  1210  // Values returns find results
  1211  func (r *IPv6AddrFindResult) Values() []interface{} {
  1212  	var results []interface{}
  1213  	for _, v := range r.IPv6Addrs {
  1214  		results = append(results, v)
  1215  	}
  1216  	return results
  1217  }
  1218  
  1219  // iPv6AddrCreateResult represents the Result of API
  1220  type iPv6AddrCreateResult struct {
  1221  	IsOk bool `json:",omitempty"` // is_ok
  1222  
  1223  	IPv6Addr *IPv6Addr `json:",omitempty" mapconv:"IPv6Addr,omitempty,recursive"`
  1224  }
  1225  
  1226  // iPv6AddrReadResult represents the Result of API
  1227  type iPv6AddrReadResult struct {
  1228  	IsOk bool `json:",omitempty"` // is_ok
  1229  
  1230  	IPv6Addr *IPv6Addr `json:",omitempty" mapconv:"IPv6Addr,omitempty,recursive"`
  1231  }
  1232  
  1233  // iPv6AddrUpdateResult represents the Result of API
  1234  type iPv6AddrUpdateResult struct {
  1235  	IsOk bool `json:",omitempty"` // is_ok
  1236  
  1237  	IPv6Addr *IPv6Addr `json:",omitempty" mapconv:"IPv6Addr,omitempty,recursive"`
  1238  }
  1239  
  1240  // LicenseFindResult represents the Result of API
  1241  type LicenseFindResult struct {
  1242  	Total int `json:",omitempty"` // Total count of target resources
  1243  	From  int `json:",omitempty"` // Current page number
  1244  	Count int `json:",omitempty"` // Count of current page
  1245  
  1246  	Licenses []*License `json:",omitempty" mapconv:"[]Licenses,omitempty,recursive"`
  1247  }
  1248  
  1249  // Values returns find results
  1250  func (r *LicenseFindResult) Values() []interface{} {
  1251  	var results []interface{}
  1252  	for _, v := range r.Licenses {
  1253  		results = append(results, v)
  1254  	}
  1255  	return results
  1256  }
  1257  
  1258  // licenseCreateResult represents the Result of API
  1259  type licenseCreateResult struct {
  1260  	IsOk bool `json:",omitempty"` // is_ok
  1261  
  1262  	License *License `json:",omitempty" mapconv:"License,omitempty,recursive"`
  1263  }
  1264  
  1265  // licenseReadResult represents the Result of API
  1266  type licenseReadResult struct {
  1267  	IsOk bool `json:",omitempty"` // is_ok
  1268  
  1269  	License *License `json:",omitempty" mapconv:"License,omitempty,recursive"`
  1270  }
  1271  
  1272  // licenseUpdateResult represents the Result of API
  1273  type licenseUpdateResult struct {
  1274  	IsOk bool `json:",omitempty"` // is_ok
  1275  
  1276  	License *License `json:",omitempty" mapconv:"License,omitempty,recursive"`
  1277  }
  1278  
  1279  // LicenseInfoFindResult represents the Result of API
  1280  type LicenseInfoFindResult struct {
  1281  	Total int `json:",omitempty"` // Total count of target resources
  1282  	From  int `json:",omitempty"` // Current page number
  1283  	Count int `json:",omitempty"` // Count of current page
  1284  
  1285  	LicenseInfo []*LicenseInfo `json:",omitempty" mapconv:"[]LicenseInfo,omitempty,recursive"`
  1286  }
  1287  
  1288  // Values returns find results
  1289  func (r *LicenseInfoFindResult) Values() []interface{} {
  1290  	var results []interface{}
  1291  	for _, v := range r.LicenseInfo {
  1292  		results = append(results, v)
  1293  	}
  1294  	return results
  1295  }
  1296  
  1297  // licenseInfoReadResult represents the Result of API
  1298  type licenseInfoReadResult struct {
  1299  	IsOk bool `json:",omitempty"` // is_ok
  1300  
  1301  	LicenseInfo *LicenseInfo `json:",omitempty" mapconv:"LicenseInfo,omitempty,recursive"`
  1302  }
  1303  
  1304  // LoadBalancerFindResult represents the Result of API
  1305  type LoadBalancerFindResult struct {
  1306  	Total int `json:",omitempty"` // Total count of target resources
  1307  	From  int `json:",omitempty"` // Current page number
  1308  	Count int `json:",omitempty"` // Count of current page
  1309  
  1310  	LoadBalancers []*LoadBalancer `json:",omitempty" mapconv:"[]Appliances,omitempty,recursive"`
  1311  }
  1312  
  1313  // Values returns find results
  1314  func (r *LoadBalancerFindResult) Values() []interface{} {
  1315  	var results []interface{}
  1316  	for _, v := range r.LoadBalancers {
  1317  		results = append(results, v)
  1318  	}
  1319  	return results
  1320  }
  1321  
  1322  // loadBalancerCreateResult represents the Result of API
  1323  type loadBalancerCreateResult struct {
  1324  	IsOk bool `json:",omitempty"` // is_ok
  1325  
  1326  	LoadBalancer *LoadBalancer `json:",omitempty" mapconv:"Appliance,omitempty,recursive"`
  1327  }
  1328  
  1329  // loadBalancerReadResult represents the Result of API
  1330  type loadBalancerReadResult struct {
  1331  	IsOk bool `json:",omitempty"` // is_ok
  1332  
  1333  	LoadBalancer *LoadBalancer `json:",omitempty" mapconv:"Appliance,omitempty,recursive"`
  1334  }
  1335  
  1336  // loadBalancerUpdateResult represents the Result of API
  1337  type loadBalancerUpdateResult struct {
  1338  	IsOk bool `json:",omitempty"` // is_ok
  1339  
  1340  	LoadBalancer *LoadBalancer `json:",omitempty" mapconv:"Appliance,omitempty,recursive"`
  1341  }
  1342  
  1343  // loadBalancerUpdateSettingsResult represents the Result of API
  1344  type loadBalancerUpdateSettingsResult struct {
  1345  	IsOk bool `json:",omitempty"` // is_ok
  1346  
  1347  	LoadBalancer *LoadBalancer `json:",omitempty" mapconv:"Appliance,omitempty,recursive"`
  1348  }
  1349  
  1350  // loadBalancerMonitorCPUResult represents the Result of API
  1351  type loadBalancerMonitorCPUResult struct {
  1352  	IsOk bool `json:",omitempty"` // is_ok
  1353  
  1354  	CPUTimeActivity *CPUTimeActivity `json:",omitempty" mapconv:"Data,omitempty,recursive"`
  1355  }
  1356  
  1357  // loadBalancerMonitorInterfaceResult represents the Result of API
  1358  type loadBalancerMonitorInterfaceResult struct {
  1359  	IsOk bool `json:",omitempty"` // is_ok
  1360  
  1361  	InterfaceActivity *InterfaceActivity `json:",omitempty" mapconv:"Data,omitempty,recursive"`
  1362  }
  1363  
  1364  // LoadBalancerStatusResult represents the Result of API
  1365  type LoadBalancerStatusResult struct {
  1366  	Total int `json:",omitempty"` // Total count of target resources
  1367  	From  int `json:",omitempty"` // Current page number
  1368  	Count int `json:",omitempty"` // Count of current page
  1369  
  1370  	Status []*LoadBalancerStatus `json:",omitempty" mapconv:"[]LoadBalancer,omitempty,recursive"`
  1371  }
  1372  
  1373  // Values returns find results
  1374  func (r *LoadBalancerStatusResult) Values() []interface{} {
  1375  	var results []interface{}
  1376  	for _, v := range r.Status {
  1377  		results = append(results, v)
  1378  	}
  1379  	return results
  1380  }
  1381  
  1382  // LocalRouterFindResult represents the Result of API
  1383  type LocalRouterFindResult struct {
  1384  	Total int `json:",omitempty"` // Total count of target resources
  1385  	From  int `json:",omitempty"` // Current page number
  1386  	Count int `json:",omitempty"` // Count of current page
  1387  
  1388  	LocalRouters []*LocalRouter `json:",omitempty" mapconv:"[]CommonServiceItems,omitempty,recursive"`
  1389  }
  1390  
  1391  // Values returns find results
  1392  func (r *LocalRouterFindResult) Values() []interface{} {
  1393  	var results []interface{}
  1394  	for _, v := range r.LocalRouters {
  1395  		results = append(results, v)
  1396  	}
  1397  	return results
  1398  }
  1399  
  1400  // localRouterCreateResult represents the Result of API
  1401  type localRouterCreateResult struct {
  1402  	IsOk bool `json:",omitempty"` // is_ok
  1403  
  1404  	LocalRouter *LocalRouter `json:",omitempty" mapconv:"CommonServiceItem,omitempty,recursive"`
  1405  }
  1406  
  1407  // localRouterReadResult represents the Result of API
  1408  type localRouterReadResult struct {
  1409  	IsOk bool `json:",omitempty"` // is_ok
  1410  
  1411  	LocalRouter *LocalRouter `json:",omitempty" mapconv:"CommonServiceItem,omitempty,recursive"`
  1412  }
  1413  
  1414  // localRouterUpdateResult represents the Result of API
  1415  type localRouterUpdateResult struct {
  1416  	IsOk bool `json:",omitempty"` // is_ok
  1417  
  1418  	LocalRouter *LocalRouter `json:",omitempty" mapconv:"CommonServiceItem,omitempty,recursive"`
  1419  }
  1420  
  1421  // localRouterUpdateSettingsResult represents the Result of API
  1422  type localRouterUpdateSettingsResult struct {
  1423  	IsOk bool `json:",omitempty"` // is_ok
  1424  
  1425  	LocalRouter *LocalRouter `json:",omitempty" mapconv:"CommonServiceItem,omitempty,recursive"`
  1426  }
  1427  
  1428  // localRouterHealthStatusResult represents the Result of API
  1429  type localRouterHealthStatusResult struct {
  1430  	IsOk bool `json:",omitempty"` // is_ok
  1431  
  1432  	LocalRouterHealth *LocalRouterHealth `json:",omitempty" mapconv:"LocalRouter,omitempty,recursive"`
  1433  }
  1434  
  1435  // localRouterMonitorLocalRouterResult represents the Result of API
  1436  type localRouterMonitorLocalRouterResult struct {
  1437  	IsOk bool `json:",omitempty"` // is_ok
  1438  
  1439  	LocalRouterActivity *LocalRouterActivity `json:",omitempty" mapconv:"Data,omitempty,recursive"`
  1440  }
  1441  
  1442  // MobileGatewayFindResult represents the Result of API
  1443  type MobileGatewayFindResult struct {
  1444  	Total int `json:",omitempty"` // Total count of target resources
  1445  	From  int `json:",omitempty"` // Current page number
  1446  	Count int `json:",omitempty"` // Count of current page
  1447  
  1448  	MobileGateways []*MobileGateway `json:",omitempty" mapconv:"[]Appliances,omitempty,recursive"`
  1449  }
  1450  
  1451  // Values returns find results
  1452  func (r *MobileGatewayFindResult) Values() []interface{} {
  1453  	var results []interface{}
  1454  	for _, v := range r.MobileGateways {
  1455  		results = append(results, v)
  1456  	}
  1457  	return results
  1458  }
  1459  
  1460  // mobileGatewayCreateResult represents the Result of API
  1461  type mobileGatewayCreateResult struct {
  1462  	IsOk bool `json:",omitempty"` // is_ok
  1463  
  1464  	MobileGateway *MobileGateway `json:",omitempty" mapconv:"Appliance,omitempty,recursive"`
  1465  }
  1466  
  1467  // mobileGatewayReadResult represents the Result of API
  1468  type mobileGatewayReadResult struct {
  1469  	IsOk bool `json:",omitempty"` // is_ok
  1470  
  1471  	MobileGateway *MobileGateway `json:",omitempty" mapconv:"Appliance,omitempty,recursive"`
  1472  }
  1473  
  1474  // mobileGatewayUpdateResult represents the Result of API
  1475  type mobileGatewayUpdateResult struct {
  1476  	IsOk bool `json:",omitempty"` // is_ok
  1477  
  1478  	MobileGateway *MobileGateway `json:",omitempty" mapconv:"Appliance,omitempty,recursive"`
  1479  }
  1480  
  1481  // mobileGatewayUpdateSettingsResult represents the Result of API
  1482  type mobileGatewayUpdateSettingsResult struct {
  1483  	IsOk bool `json:",omitempty"` // is_ok
  1484  
  1485  	MobileGateway *MobileGateway `json:",omitempty" mapconv:"Appliance,omitempty,recursive"`
  1486  }
  1487  
  1488  // mobileGatewayGetDNSResult represents the Result of API
  1489  type mobileGatewayGetDNSResult struct {
  1490  	IsOk bool `json:",omitempty"` // is_ok
  1491  
  1492  	SIMGroup *MobileGatewayDNSSetting `json:",omitempty" mapconv:"SIMGroup,omitempty,recursive"`
  1493  }
  1494  
  1495  // mobileGatewayGetSIMRoutesResult represents the Result of API
  1496  type mobileGatewayGetSIMRoutesResult struct {
  1497  	IsOk bool `json:",omitempty"` // is_ok
  1498  
  1499  	SIMRoutes MobileGatewaySIMRoutes `json:",omitempty" mapconv:"[]SIMRoutes,omitempty,recursive"`
  1500  }
  1501  
  1502  // mobileGatewayListSIMResult represents the Result of API
  1503  type mobileGatewayListSIMResult struct {
  1504  	IsOk bool `json:",omitempty"` // is_ok
  1505  
  1506  	SIM MobileGatewaySIMs `json:",omitempty" mapconv:"[]SIM,omitempty,recursive"`
  1507  }
  1508  
  1509  // mobileGatewayLogsResult represents the Result of API
  1510  type mobileGatewayLogsResult struct {
  1511  	IsOk bool `json:",omitempty"` // is_ok
  1512  
  1513  	Logs []*MobileGatewaySIMLogs `json:",omitempty" mapconv:"[]Logs,omitempty,recursive"`
  1514  }
  1515  
  1516  // mobileGatewayGetTrafficConfigResult represents the Result of API
  1517  type mobileGatewayGetTrafficConfigResult struct {
  1518  	IsOk bool `json:",omitempty"` // is_ok
  1519  
  1520  	TrafficMonitoring *MobileGatewayTrafficControl `json:",omitempty" mapconv:"TrafficMonitoring,omitempty,recursive"`
  1521  }
  1522  
  1523  // mobileGatewayTrafficStatusResult represents the Result of API
  1524  type mobileGatewayTrafficStatusResult struct {
  1525  	IsOk bool `json:",omitempty"` // is_ok
  1526  
  1527  	TrafficStatus *MobileGatewayTrafficStatus `json:",omitempty" mapconv:"TrafficStatus,omitempty,recursive"`
  1528  }
  1529  
  1530  // mobileGatewayMonitorInterfaceResult represents the Result of API
  1531  type mobileGatewayMonitorInterfaceResult struct {
  1532  	IsOk bool `json:",omitempty"` // is_ok
  1533  
  1534  	InterfaceActivity *InterfaceActivity `json:",omitempty" mapconv:"Data,omitempty,recursive"`
  1535  }
  1536  
  1537  // NFSFindResult represents the Result of API
  1538  type NFSFindResult struct {
  1539  	Total int `json:",omitempty"` // Total count of target resources
  1540  	From  int `json:",omitempty"` // Current page number
  1541  	Count int `json:",omitempty"` // Count of current page
  1542  
  1543  	NFS []*NFS `json:",omitempty" mapconv:"[]Appliances,omitempty,recursive"`
  1544  }
  1545  
  1546  // Values returns find results
  1547  func (r *NFSFindResult) Values() []interface{} {
  1548  	var results []interface{}
  1549  	for _, v := range r.NFS {
  1550  		results = append(results, v)
  1551  	}
  1552  	return results
  1553  }
  1554  
  1555  // nFSCreateResult represents the Result of API
  1556  type nFSCreateResult struct {
  1557  	IsOk bool `json:",omitempty"` // is_ok
  1558  
  1559  	NFS *NFS `json:",omitempty" mapconv:"Appliance,omitempty,recursive"`
  1560  }
  1561  
  1562  // nFSReadResult represents the Result of API
  1563  type nFSReadResult struct {
  1564  	IsOk bool `json:",omitempty"` // is_ok
  1565  
  1566  	NFS *NFS `json:",omitempty" mapconv:"Appliance,omitempty,recursive"`
  1567  }
  1568  
  1569  // nFSUpdateResult represents the Result of API
  1570  type nFSUpdateResult struct {
  1571  	IsOk bool `json:",omitempty"` // is_ok
  1572  
  1573  	NFS *NFS `json:",omitempty" mapconv:"Appliance,omitempty,recursive"`
  1574  }
  1575  
  1576  // nFSMonitorCPUResult represents the Result of API
  1577  type nFSMonitorCPUResult struct {
  1578  	IsOk bool `json:",omitempty"` // is_ok
  1579  
  1580  	CPUTimeActivity *CPUTimeActivity `json:",omitempty" mapconv:"Data,omitempty,recursive"`
  1581  }
  1582  
  1583  // nFSMonitorFreeDiskSizeResult represents the Result of API
  1584  type nFSMonitorFreeDiskSizeResult struct {
  1585  	IsOk bool `json:",omitempty"` // is_ok
  1586  
  1587  	FreeDiskSizeActivity *FreeDiskSizeActivity `json:",omitempty" mapconv:"Data,omitempty,recursive"`
  1588  }
  1589  
  1590  // nFSMonitorInterfaceResult represents the Result of API
  1591  type nFSMonitorInterfaceResult struct {
  1592  	IsOk bool `json:",omitempty"` // is_ok
  1593  
  1594  	InterfaceActivity *InterfaceActivity `json:",omitempty" mapconv:"Data,omitempty,recursive"`
  1595  }
  1596  
  1597  // NoteFindResult represents the Result of API
  1598  type NoteFindResult struct {
  1599  	Total int `json:",omitempty"` // Total count of target resources
  1600  	From  int `json:",omitempty"` // Current page number
  1601  	Count int `json:",omitempty"` // Count of current page
  1602  
  1603  	Notes []*Note `json:",omitempty" mapconv:"[]Notes,omitempty,recursive"`
  1604  }
  1605  
  1606  // Values returns find results
  1607  func (r *NoteFindResult) Values() []interface{} {
  1608  	var results []interface{}
  1609  	for _, v := range r.Notes {
  1610  		results = append(results, v)
  1611  	}
  1612  	return results
  1613  }
  1614  
  1615  // noteCreateResult represents the Result of API
  1616  type noteCreateResult struct {
  1617  	IsOk bool `json:",omitempty"` // is_ok
  1618  
  1619  	Note *Note `json:",omitempty" mapconv:"Note,omitempty,recursive"`
  1620  }
  1621  
  1622  // noteReadResult represents the Result of API
  1623  type noteReadResult struct {
  1624  	IsOk bool `json:",omitempty"` // is_ok
  1625  
  1626  	Note *Note `json:",omitempty" mapconv:"Note,omitempty,recursive"`
  1627  }
  1628  
  1629  // noteUpdateResult represents the Result of API
  1630  type noteUpdateResult struct {
  1631  	IsOk bool `json:",omitempty"` // is_ok
  1632  
  1633  	Note *Note `json:",omitempty" mapconv:"Note,omitempty,recursive"`
  1634  }
  1635  
  1636  // PacketFilterFindResult represents the Result of API
  1637  type PacketFilterFindResult struct {
  1638  	Total int `json:",omitempty"` // Total count of target resources
  1639  	From  int `json:",omitempty"` // Current page number
  1640  	Count int `json:",omitempty"` // Count of current page
  1641  
  1642  	PacketFilters []*PacketFilter `json:",omitempty" mapconv:"[]PacketFilters,omitempty,recursive"`
  1643  }
  1644  
  1645  // Values returns find results
  1646  func (r *PacketFilterFindResult) Values() []interface{} {
  1647  	var results []interface{}
  1648  	for _, v := range r.PacketFilters {
  1649  		results = append(results, v)
  1650  	}
  1651  	return results
  1652  }
  1653  
  1654  // packetFilterCreateResult represents the Result of API
  1655  type packetFilterCreateResult struct {
  1656  	IsOk bool `json:",omitempty"` // is_ok
  1657  
  1658  	PacketFilter *PacketFilter `json:",omitempty" mapconv:"PacketFilter,omitempty,recursive"`
  1659  }
  1660  
  1661  // packetFilterReadResult represents the Result of API
  1662  type packetFilterReadResult struct {
  1663  	IsOk bool `json:",omitempty"` // is_ok
  1664  
  1665  	PacketFilter *PacketFilter `json:",omitempty" mapconv:"PacketFilter,omitempty,recursive"`
  1666  }
  1667  
  1668  // packetFilterUpdateResult represents the Result of API
  1669  type packetFilterUpdateResult struct {
  1670  	IsOk bool `json:",omitempty"` // is_ok
  1671  
  1672  	PacketFilter *PacketFilter `json:",omitempty" mapconv:"PacketFilter,omitempty,recursive"`
  1673  }
  1674  
  1675  // PrivateHostFindResult represents the Result of API
  1676  type PrivateHostFindResult struct {
  1677  	Total int `json:",omitempty"` // Total count of target resources
  1678  	From  int `json:",omitempty"` // Current page number
  1679  	Count int `json:",omitempty"` // Count of current page
  1680  
  1681  	PrivateHosts []*PrivateHost `json:",omitempty" mapconv:"[]PrivateHosts,omitempty,recursive"`
  1682  }
  1683  
  1684  // Values returns find results
  1685  func (r *PrivateHostFindResult) Values() []interface{} {
  1686  	var results []interface{}
  1687  	for _, v := range r.PrivateHosts {
  1688  		results = append(results, v)
  1689  	}
  1690  	return results
  1691  }
  1692  
  1693  // privateHostCreateResult represents the Result of API
  1694  type privateHostCreateResult struct {
  1695  	IsOk bool `json:",omitempty"` // is_ok
  1696  
  1697  	PrivateHost *PrivateHost `json:",omitempty" mapconv:"PrivateHost,omitempty,recursive"`
  1698  }
  1699  
  1700  // privateHostReadResult represents the Result of API
  1701  type privateHostReadResult struct {
  1702  	IsOk bool `json:",omitempty"` // is_ok
  1703  
  1704  	PrivateHost *PrivateHost `json:",omitempty" mapconv:"PrivateHost,omitempty,recursive"`
  1705  }
  1706  
  1707  // privateHostUpdateResult represents the Result of API
  1708  type privateHostUpdateResult struct {
  1709  	IsOk bool `json:",omitempty"` // is_ok
  1710  
  1711  	PrivateHost *PrivateHost `json:",omitempty" mapconv:"PrivateHost,omitempty,recursive"`
  1712  }
  1713  
  1714  // PrivateHostPlanFindResult represents the Result of API
  1715  type PrivateHostPlanFindResult struct {
  1716  	Total int `json:",omitempty"` // Total count of target resources
  1717  	From  int `json:",omitempty"` // Current page number
  1718  	Count int `json:",omitempty"` // Count of current page
  1719  
  1720  	PrivateHostPlans []*PrivateHostPlan `json:",omitempty" mapconv:"[]PrivateHostPlans,omitempty,recursive"`
  1721  }
  1722  
  1723  // Values returns find results
  1724  func (r *PrivateHostPlanFindResult) Values() []interface{} {
  1725  	var results []interface{}
  1726  	for _, v := range r.PrivateHostPlans {
  1727  		results = append(results, v)
  1728  	}
  1729  	return results
  1730  }
  1731  
  1732  // privateHostPlanReadResult represents the Result of API
  1733  type privateHostPlanReadResult struct {
  1734  	IsOk bool `json:",omitempty"` // is_ok
  1735  
  1736  	PrivateHostPlan *PrivateHostPlan `json:",omitempty" mapconv:"PrivateHostPlan,omitempty,recursive"`
  1737  }
  1738  
  1739  // ProxyLBFindResult represents the Result of API
  1740  type ProxyLBFindResult struct {
  1741  	Total int `json:",omitempty"` // Total count of target resources
  1742  	From  int `json:",omitempty"` // Current page number
  1743  	Count int `json:",omitempty"` // Count of current page
  1744  
  1745  	ProxyLBs []*ProxyLB `json:",omitempty" mapconv:"[]CommonServiceItems,omitempty,recursive"`
  1746  }
  1747  
  1748  // Values returns find results
  1749  func (r *ProxyLBFindResult) Values() []interface{} {
  1750  	var results []interface{}
  1751  	for _, v := range r.ProxyLBs {
  1752  		results = append(results, v)
  1753  	}
  1754  	return results
  1755  }
  1756  
  1757  // proxyLBCreateResult represents the Result of API
  1758  type proxyLBCreateResult struct {
  1759  	IsOk bool `json:",omitempty"` // is_ok
  1760  
  1761  	ProxyLB *ProxyLB `json:",omitempty" mapconv:"CommonServiceItem,omitempty,recursive"`
  1762  }
  1763  
  1764  // proxyLBReadResult represents the Result of API
  1765  type proxyLBReadResult struct {
  1766  	IsOk bool `json:",omitempty"` // is_ok
  1767  
  1768  	ProxyLB *ProxyLB `json:",omitempty" mapconv:"CommonServiceItem,omitempty,recursive"`
  1769  }
  1770  
  1771  // proxyLBUpdateResult represents the Result of API
  1772  type proxyLBUpdateResult struct {
  1773  	IsOk bool `json:",omitempty"` // is_ok
  1774  
  1775  	ProxyLB *ProxyLB `json:",omitempty" mapconv:"CommonServiceItem,omitempty,recursive"`
  1776  }
  1777  
  1778  // proxyLBUpdateSettingsResult represents the Result of API
  1779  type proxyLBUpdateSettingsResult struct {
  1780  	IsOk bool `json:",omitempty"` // is_ok
  1781  
  1782  	ProxyLB *ProxyLB `json:",omitempty" mapconv:"CommonServiceItem,omitempty,recursive"`
  1783  }
  1784  
  1785  // proxyLBChangePlanResult represents the Result of API
  1786  type proxyLBChangePlanResult struct {
  1787  	IsOk bool `json:",omitempty"` // is_ok
  1788  
  1789  	ProxyLB *ProxyLB `json:",omitempty" mapconv:"CommonServiceItem,omitempty,recursive"`
  1790  }
  1791  
  1792  // proxyLBGetCertificatesResult represents the Result of API
  1793  type proxyLBGetCertificatesResult struct {
  1794  	IsOk bool `json:",omitempty"` // is_ok
  1795  
  1796  	ProxyLBCertificates *ProxyLBCertificates `json:",omitempty" mapconv:"ProxyLB,omitempty,recursive"`
  1797  }
  1798  
  1799  // proxyLBSetCertificatesResult represents the Result of API
  1800  type proxyLBSetCertificatesResult struct {
  1801  	IsOk bool `json:",omitempty"` // is_ok
  1802  
  1803  	ProxyLBCertificates *ProxyLBCertificates `json:",omitempty" mapconv:"ProxyLB,omitempty,recursive"`
  1804  }
  1805  
  1806  // proxyLBHealthStatusResult represents the Result of API
  1807  type proxyLBHealthStatusResult struct {
  1808  	IsOk bool `json:",omitempty"` // is_ok
  1809  
  1810  	ProxyLBHealth *ProxyLBHealth `json:",omitempty" mapconv:"ProxyLB,omitempty,recursive"`
  1811  }
  1812  
  1813  // proxyLBMonitorConnectionResult represents the Result of API
  1814  type proxyLBMonitorConnectionResult struct {
  1815  	IsOk bool `json:",omitempty"` // is_ok
  1816  
  1817  	ConnectionActivity *ConnectionActivity `json:",omitempty" mapconv:"Data,omitempty,recursive"`
  1818  }
  1819  
  1820  // RegionFindResult represents the Result of API
  1821  type RegionFindResult struct {
  1822  	Total int `json:",omitempty"` // Total count of target resources
  1823  	From  int `json:",omitempty"` // Current page number
  1824  	Count int `json:",omitempty"` // Count of current page
  1825  
  1826  	Regions []*Region `json:",omitempty" mapconv:"[]Regions,omitempty,recursive"`
  1827  }
  1828  
  1829  // Values returns find results
  1830  func (r *RegionFindResult) Values() []interface{} {
  1831  	var results []interface{}
  1832  	for _, v := range r.Regions {
  1833  		results = append(results, v)
  1834  	}
  1835  	return results
  1836  }
  1837  
  1838  // regionReadResult represents the Result of API
  1839  type regionReadResult struct {
  1840  	IsOk bool `json:",omitempty"` // is_ok
  1841  
  1842  	Region *Region `json:",omitempty" mapconv:"Region,omitempty,recursive"`
  1843  }
  1844  
  1845  // ServerFindResult represents the Result of API
  1846  type ServerFindResult struct {
  1847  	Total int `json:",omitempty"` // Total count of target resources
  1848  	From  int `json:",omitempty"` // Current page number
  1849  	Count int `json:",omitempty"` // Count of current page
  1850  
  1851  	Servers []*Server `json:",omitempty" mapconv:"[]Servers,omitempty,recursive"`
  1852  }
  1853  
  1854  // Values returns find results
  1855  func (r *ServerFindResult) Values() []interface{} {
  1856  	var results []interface{}
  1857  	for _, v := range r.Servers {
  1858  		results = append(results, v)
  1859  	}
  1860  	return results
  1861  }
  1862  
  1863  // serverCreateResult represents the Result of API
  1864  type serverCreateResult struct {
  1865  	IsOk bool `json:",omitempty"` // is_ok
  1866  
  1867  	Server *Server `json:",omitempty" mapconv:"Server,omitempty,recursive"`
  1868  }
  1869  
  1870  // serverReadResult represents the Result of API
  1871  type serverReadResult struct {
  1872  	IsOk bool `json:",omitempty"` // is_ok
  1873  
  1874  	Server *Server `json:",omitempty" mapconv:"Server,omitempty,recursive"`
  1875  }
  1876  
  1877  // serverUpdateResult represents the Result of API
  1878  type serverUpdateResult struct {
  1879  	IsOk bool `json:",omitempty"` // is_ok
  1880  
  1881  	Server *Server `json:",omitempty" mapconv:"Server,omitempty,recursive"`
  1882  }
  1883  
  1884  // serverChangePlanResult represents the Result of API
  1885  type serverChangePlanResult struct {
  1886  	IsOk bool `json:",omitempty"` // is_ok
  1887  
  1888  	Server *Server `json:",omitempty" mapconv:"Server,omitempty,recursive"`
  1889  }
  1890  
  1891  // serverGetVNCProxyResult represents the Result of API
  1892  type serverGetVNCProxyResult struct {
  1893  	IsOk bool `json:",omitempty"` // is_ok
  1894  
  1895  	VNCProxyInfo *VNCProxyInfo `json:",omitempty" mapconv:"VNCProxyInfo,omitempty,recursive"`
  1896  }
  1897  
  1898  // serverMonitorResult represents the Result of API
  1899  type serverMonitorResult struct {
  1900  	IsOk bool `json:",omitempty"` // is_ok
  1901  
  1902  	CPUTimeActivity *CPUTimeActivity `json:",omitempty" mapconv:"Data,omitempty,recursive"`
  1903  }
  1904  
  1905  // serverMonitorCPUResult represents the Result of API
  1906  type serverMonitorCPUResult struct {
  1907  	IsOk bool `json:",omitempty"` // is_ok
  1908  
  1909  	CPUTimeActivity *CPUTimeActivity `json:",omitempty" mapconv:"Data,omitempty,recursive"`
  1910  }
  1911  
  1912  // ServerPlanFindResult represents the Result of API
  1913  type ServerPlanFindResult struct {
  1914  	Total int `json:",omitempty"` // Total count of target resources
  1915  	From  int `json:",omitempty"` // Current page number
  1916  	Count int `json:",omitempty"` // Count of current page
  1917  
  1918  	ServerPlans []*ServerPlan `json:",omitempty" mapconv:"[]ServerPlans,omitempty,recursive"`
  1919  }
  1920  
  1921  // Values returns find results
  1922  func (r *ServerPlanFindResult) Values() []interface{} {
  1923  	var results []interface{}
  1924  	for _, v := range r.ServerPlans {
  1925  		results = append(results, v)
  1926  	}
  1927  	return results
  1928  }
  1929  
  1930  // serverPlanReadResult represents the Result of API
  1931  type serverPlanReadResult struct {
  1932  	IsOk bool `json:",omitempty"` // is_ok
  1933  
  1934  	ServerPlan *ServerPlan `json:",omitempty" mapconv:"ServerPlan,omitempty,recursive"`
  1935  }
  1936  
  1937  // ServiceClassFindResult represents the Result of API
  1938  type ServiceClassFindResult struct {
  1939  	Total int `json:",omitempty"` // Total count of target resources
  1940  	From  int `json:",omitempty"` // Current page number
  1941  	Count int `json:",omitempty"` // Count of current page
  1942  
  1943  	ServiceClasses []*ServiceClass `json:",omitempty" mapconv:"[]ServiceClasses,omitempty,recursive"`
  1944  }
  1945  
  1946  // Values returns find results
  1947  func (r *ServiceClassFindResult) Values() []interface{} {
  1948  	var results []interface{}
  1949  	for _, v := range r.ServiceClasses {
  1950  		results = append(results, v)
  1951  	}
  1952  	return results
  1953  }
  1954  
  1955  // SIMFindResult represents the Result of API
  1956  type SIMFindResult struct {
  1957  	Total int `json:",omitempty"` // Total count of target resources
  1958  	From  int `json:",omitempty"` // Current page number
  1959  	Count int `json:",omitempty"` // Count of current page
  1960  
  1961  	SIMs []*SIM `json:",omitempty" mapconv:"[]CommonServiceItems,omitempty,recursive"`
  1962  }
  1963  
  1964  // Values returns find results
  1965  func (r *SIMFindResult) Values() []interface{} {
  1966  	var results []interface{}
  1967  	for _, v := range r.SIMs {
  1968  		results = append(results, v)
  1969  	}
  1970  	return results
  1971  }
  1972  
  1973  // sIMCreateResult represents the Result of API
  1974  type sIMCreateResult struct {
  1975  	IsOk bool `json:",omitempty"` // is_ok
  1976  
  1977  	SIM *SIM `json:",omitempty" mapconv:"CommonServiceItem,omitempty,recursive"`
  1978  }
  1979  
  1980  // sIMReadResult represents the Result of API
  1981  type sIMReadResult struct {
  1982  	IsOk bool `json:",omitempty"` // is_ok
  1983  
  1984  	SIM *SIM `json:",omitempty" mapconv:"CommonServiceItem,omitempty,recursive"`
  1985  }
  1986  
  1987  // sIMUpdateResult represents the Result of API
  1988  type sIMUpdateResult struct {
  1989  	IsOk bool `json:",omitempty"` // is_ok
  1990  
  1991  	SIM *SIM `json:",omitempty" mapconv:"CommonServiceItem,omitempty,recursive"`
  1992  }
  1993  
  1994  // SIMLogsResult represents the Result of API
  1995  type SIMLogsResult struct {
  1996  	Total int `json:",omitempty"` // Total count of target resources
  1997  	From  int `json:",omitempty"` // Current page number
  1998  	Count int `json:",omitempty"` // Count of current page
  1999  
  2000  	Logs []*SIMLog `json:",omitempty" mapconv:"[]Logs,omitempty,recursive"`
  2001  }
  2002  
  2003  // Values returns find results
  2004  func (r *SIMLogsResult) Values() []interface{} {
  2005  	var results []interface{}
  2006  	for _, v := range r.Logs {
  2007  		results = append(results, v)
  2008  	}
  2009  	return results
  2010  }
  2011  
  2012  // sIMGetNetworkOperatorResult represents the Result of API
  2013  type sIMGetNetworkOperatorResult struct {
  2014  	IsOk bool `json:",omitempty"` // is_ok
  2015  
  2016  	Configs []*SIMNetworkOperatorConfig `json:",omitempty" mapconv:"[]NetworkOperationConfigs,omitempty,recursive"`
  2017  }
  2018  
  2019  // sIMMonitorSIMResult represents the Result of API
  2020  type sIMMonitorSIMResult struct {
  2021  	IsOk bool `json:",omitempty"` // is_ok
  2022  
  2023  	LinkActivity *LinkActivity `json:",omitempty" mapconv:"Data,omitempty,recursive"`
  2024  }
  2025  
  2026  // sIMStatusResult represents the Result of API
  2027  type sIMStatusResult struct {
  2028  	IsOk bool `json:",omitempty"` // is_ok
  2029  
  2030  	SIM *SIMInfo `json:",omitempty" mapconv:"SIM,omitempty,recursive"`
  2031  }
  2032  
  2033  // SimpleMonitorFindResult represents the Result of API
  2034  type SimpleMonitorFindResult struct {
  2035  	Total int `json:",omitempty"` // Total count of target resources
  2036  	From  int `json:",omitempty"` // Current page number
  2037  	Count int `json:",omitempty"` // Count of current page
  2038  
  2039  	SimpleMonitors []*SimpleMonitor `json:",omitempty" mapconv:"[]CommonServiceItems,omitempty,recursive"`
  2040  }
  2041  
  2042  // Values returns find results
  2043  func (r *SimpleMonitorFindResult) Values() []interface{} {
  2044  	var results []interface{}
  2045  	for _, v := range r.SimpleMonitors {
  2046  		results = append(results, v)
  2047  	}
  2048  	return results
  2049  }
  2050  
  2051  // simpleMonitorCreateResult represents the Result of API
  2052  type simpleMonitorCreateResult struct {
  2053  	IsOk bool `json:",omitempty"` // is_ok
  2054  
  2055  	SimpleMonitor *SimpleMonitor `json:",omitempty" mapconv:"CommonServiceItem,omitempty,recursive"`
  2056  }
  2057  
  2058  // simpleMonitorReadResult represents the Result of API
  2059  type simpleMonitorReadResult struct {
  2060  	IsOk bool `json:",omitempty"` // is_ok
  2061  
  2062  	SimpleMonitor *SimpleMonitor `json:",omitempty" mapconv:"CommonServiceItem,omitempty,recursive"`
  2063  }
  2064  
  2065  // simpleMonitorUpdateResult represents the Result of API
  2066  type simpleMonitorUpdateResult struct {
  2067  	IsOk bool `json:",omitempty"` // is_ok
  2068  
  2069  	SimpleMonitor *SimpleMonitor `json:",omitempty" mapconv:"CommonServiceItem,omitempty,recursive"`
  2070  }
  2071  
  2072  // simpleMonitorUpdateSettingsResult represents the Result of API
  2073  type simpleMonitorUpdateSettingsResult struct {
  2074  	IsOk bool `json:",omitempty"` // is_ok
  2075  
  2076  	SimpleMonitor *SimpleMonitor `json:",omitempty" mapconv:"CommonServiceItem,omitempty,recursive"`
  2077  }
  2078  
  2079  // simpleMonitorMonitorResponseTimeResult represents the Result of API
  2080  type simpleMonitorMonitorResponseTimeResult struct {
  2081  	IsOk bool `json:",omitempty"` // is_ok
  2082  
  2083  	ResponseTimeSecActivity *ResponseTimeSecActivity `json:",omitempty" mapconv:"Data,omitempty,recursive"`
  2084  }
  2085  
  2086  // simpleMonitorHealthStatusResult represents the Result of API
  2087  type simpleMonitorHealthStatusResult struct {
  2088  	IsOk bool `json:",omitempty"` // is_ok
  2089  
  2090  	SimpleMonitorHealthStatus *SimpleMonitorHealthStatus `json:",omitempty" mapconv:"SimpleMonitor,omitempty,recursive"`
  2091  }
  2092  
  2093  // SSHKeyFindResult represents the Result of API
  2094  type SSHKeyFindResult struct {
  2095  	Total int `json:",omitempty"` // Total count of target resources
  2096  	From  int `json:",omitempty"` // Current page number
  2097  	Count int `json:",omitempty"` // Count of current page
  2098  
  2099  	SSHKeys []*SSHKey `json:",omitempty" mapconv:"[]SSHKeys,omitempty,recursive"`
  2100  }
  2101  
  2102  // Values returns find results
  2103  func (r *SSHKeyFindResult) Values() []interface{} {
  2104  	var results []interface{}
  2105  	for _, v := range r.SSHKeys {
  2106  		results = append(results, v)
  2107  	}
  2108  	return results
  2109  }
  2110  
  2111  // sSHKeyCreateResult represents the Result of API
  2112  type sSHKeyCreateResult struct {
  2113  	IsOk bool `json:",omitempty"` // is_ok
  2114  
  2115  	SSHKey *SSHKey `json:",omitempty" mapconv:"SSHKey,omitempty,recursive"`
  2116  }
  2117  
  2118  // sSHKeyGenerateResult represents the Result of API
  2119  type sSHKeyGenerateResult struct {
  2120  	IsOk bool `json:",omitempty"` // is_ok
  2121  
  2122  	SSHKeyGenerated *SSHKeyGenerated `json:",omitempty" mapconv:"SSHKey,omitempty,recursive"`
  2123  }
  2124  
  2125  // sSHKeyReadResult represents the Result of API
  2126  type sSHKeyReadResult struct {
  2127  	IsOk bool `json:",omitempty"` // is_ok
  2128  
  2129  	SSHKey *SSHKey `json:",omitempty" mapconv:"SSHKey,omitempty,recursive"`
  2130  }
  2131  
  2132  // sSHKeyUpdateResult represents the Result of API
  2133  type sSHKeyUpdateResult struct {
  2134  	IsOk bool `json:",omitempty"` // is_ok
  2135  
  2136  	SSHKey *SSHKey `json:",omitempty" mapconv:"SSHKey,omitempty,recursive"`
  2137  }
  2138  
  2139  // SubnetFindResult represents the Result of API
  2140  type SubnetFindResult struct {
  2141  	Total int `json:",omitempty"` // Total count of target resources
  2142  	From  int `json:",omitempty"` // Current page number
  2143  	Count int `json:",omitempty"` // Count of current page
  2144  
  2145  	Subnets []*Subnet `json:",omitempty" mapconv:"[]Subnets,omitempty,recursive"`
  2146  }
  2147  
  2148  // Values returns find results
  2149  func (r *SubnetFindResult) Values() []interface{} {
  2150  	var results []interface{}
  2151  	for _, v := range r.Subnets {
  2152  		results = append(results, v)
  2153  	}
  2154  	return results
  2155  }
  2156  
  2157  // subnetReadResult represents the Result of API
  2158  type subnetReadResult struct {
  2159  	IsOk bool `json:",omitempty"` // is_ok
  2160  
  2161  	Subnet *Subnet `json:",omitempty" mapconv:"Subnet,omitempty,recursive"`
  2162  }
  2163  
  2164  // SwitchFindResult represents the Result of API
  2165  type SwitchFindResult struct {
  2166  	Total int `json:",omitempty"` // Total count of target resources
  2167  	From  int `json:",omitempty"` // Current page number
  2168  	Count int `json:",omitempty"` // Count of current page
  2169  
  2170  	Switches []*Switch `json:",omitempty" mapconv:"[]Switches,omitempty,recursive"`
  2171  }
  2172  
  2173  // Values returns find results
  2174  func (r *SwitchFindResult) Values() []interface{} {
  2175  	var results []interface{}
  2176  	for _, v := range r.Switches {
  2177  		results = append(results, v)
  2178  	}
  2179  	return results
  2180  }
  2181  
  2182  // switchCreateResult represents the Result of API
  2183  type switchCreateResult struct {
  2184  	IsOk bool `json:",omitempty"` // is_ok
  2185  
  2186  	Switch *Switch `json:",omitempty" mapconv:"Switch,omitempty,recursive"`
  2187  }
  2188  
  2189  // switchReadResult represents the Result of API
  2190  type switchReadResult struct {
  2191  	IsOk bool `json:",omitempty"` // is_ok
  2192  
  2193  	Switch *Switch `json:",omitempty" mapconv:"Switch,omitempty,recursive"`
  2194  }
  2195  
  2196  // switchUpdateResult represents the Result of API
  2197  type switchUpdateResult struct {
  2198  	IsOk bool `json:",omitempty"` // is_ok
  2199  
  2200  	Switch *Switch `json:",omitempty" mapconv:"Switch,omitempty,recursive"`
  2201  }
  2202  
  2203  // SwitchGetServersResult represents the Result of API
  2204  type SwitchGetServersResult struct {
  2205  	Total int `json:",omitempty"` // Total count of target resources
  2206  	From  int `json:",omitempty"` // Current page number
  2207  	Count int `json:",omitempty"` // Count of current page
  2208  
  2209  	Servers []*Server `json:",omitempty" mapconv:"[]Servers,omitempty,recursive"`
  2210  }
  2211  
  2212  // Values returns find results
  2213  func (r *SwitchGetServersResult) Values() []interface{} {
  2214  	var results []interface{}
  2215  	for _, v := range r.Servers {
  2216  		results = append(results, v)
  2217  	}
  2218  	return results
  2219  }
  2220  
  2221  // VPCRouterFindResult represents the Result of API
  2222  type VPCRouterFindResult struct {
  2223  	Total int `json:",omitempty"` // Total count of target resources
  2224  	From  int `json:",omitempty"` // Current page number
  2225  	Count int `json:",omitempty"` // Count of current page
  2226  
  2227  	VPCRouters []*VPCRouter `json:",omitempty" mapconv:"[]Appliances,omitempty,recursive"`
  2228  }
  2229  
  2230  // Values returns find results
  2231  func (r *VPCRouterFindResult) Values() []interface{} {
  2232  	var results []interface{}
  2233  	for _, v := range r.VPCRouters {
  2234  		results = append(results, v)
  2235  	}
  2236  	return results
  2237  }
  2238  
  2239  // vPCRouterCreateResult represents the Result of API
  2240  type vPCRouterCreateResult struct {
  2241  	IsOk bool `json:",omitempty"` // is_ok
  2242  
  2243  	VPCRouter *VPCRouter `json:",omitempty" mapconv:"Appliance,omitempty,recursive"`
  2244  }
  2245  
  2246  // vPCRouterReadResult represents the Result of API
  2247  type vPCRouterReadResult struct {
  2248  	IsOk bool `json:",omitempty"` // is_ok
  2249  
  2250  	VPCRouter *VPCRouter `json:",omitempty" mapconv:"Appliance,omitempty,recursive"`
  2251  }
  2252  
  2253  // vPCRouterUpdateResult represents the Result of API
  2254  type vPCRouterUpdateResult struct {
  2255  	IsOk bool `json:",omitempty"` // is_ok
  2256  
  2257  	VPCRouter *VPCRouter `json:",omitempty" mapconv:"Appliance,omitempty,recursive"`
  2258  }
  2259  
  2260  // vPCRouterUpdateSettingsResult represents the Result of API
  2261  type vPCRouterUpdateSettingsResult struct {
  2262  	IsOk bool `json:",omitempty"` // is_ok
  2263  
  2264  	VPCRouter *VPCRouter `json:",omitempty" mapconv:"Appliance,omitempty,recursive"`
  2265  }
  2266  
  2267  // vPCRouterMonitorCPUResult represents the Result of API
  2268  type vPCRouterMonitorCPUResult struct {
  2269  	IsOk bool `json:",omitempty"` // is_ok
  2270  
  2271  	CPUTimeActivity *CPUTimeActivity `json:",omitempty" mapconv:"Data,omitempty,recursive"`
  2272  }
  2273  
  2274  // vPCRouterMonitorInterfaceResult represents the Result of API
  2275  type vPCRouterMonitorInterfaceResult struct {
  2276  	IsOk bool `json:",omitempty"` // is_ok
  2277  
  2278  	InterfaceActivity *InterfaceActivity `json:",omitempty" mapconv:"Data,omitempty,recursive"`
  2279  }
  2280  
  2281  // vPCRouterStatusResult represents the Result of API
  2282  type vPCRouterStatusResult struct {
  2283  	IsOk bool `json:",omitempty"` // is_ok
  2284  
  2285  	VPCRouterStatus *VPCRouterStatus `json:",omitempty" mapconv:"Router,omitempty,recursive"`
  2286  }
  2287  
  2288  // vPCRouterLogsResult represents the Result of API
  2289  type vPCRouterLogsResult struct {
  2290  	IsOk bool `json:",omitempty"` // is_ok
  2291  
  2292  	VPCRouterLog *VPCRouterLog `json:",omitempty" mapconv:"VPCRouter,omitempty,recursive"`
  2293  }
  2294  
  2295  // vPCRouterPingResult represents the Result of API
  2296  type vPCRouterPingResult struct {
  2297  	IsOk bool `json:",omitempty"` // is_ok
  2298  
  2299  	VPCRouterPingResults *VPCRouterPingResults `json:",omitempty" mapconv:"VPCRouter,omitempty,recursive"`
  2300  }
  2301  
  2302  // ZoneFindResult represents the Result of API
  2303  type ZoneFindResult struct {
  2304  	Total int `json:",omitempty"` // Total count of target resources
  2305  	From  int `json:",omitempty"` // Current page number
  2306  	Count int `json:",omitempty"` // Count of current page
  2307  
  2308  	Zones []*Zone `json:",omitempty" mapconv:"[]Zones,omitempty,recursive"`
  2309  }
  2310  
  2311  // Values returns find results
  2312  func (r *ZoneFindResult) Values() []interface{} {
  2313  	var results []interface{}
  2314  	for _, v := range r.Zones {
  2315  		results = append(results, v)
  2316  	}
  2317  	return results
  2318  }
  2319  
  2320  // zoneReadResult represents the Result of API
  2321  type zoneReadResult struct {
  2322  	IsOk bool `json:",omitempty"` // is_ok
  2323  
  2324  	Zone *Zone `json:",omitempty" mapconv:"Zone,omitempty,recursive"`
  2325  }