private CassandraTableResource PopulateCassandraTableResource(CassandraTableGetPropertiesResource resource)
 {
     return(new CassandraTableResource
     {
         DefaultTtl = resource.DefaultTtl,
         Id = resource.Id,
         Schema = resource.Schema
     });
 }
Пример #2
0
 public PSCassandraTableGetPropertiesResource(CassandraTableGetPropertiesResource cassandraTableGetPropertiesResource)
 {
     Id         = cassandraTableGetPropertiesResource.Id;
     DefaultTtl = cassandraTableGetPropertiesResource.DefaultTtl;
     Schema     = new PSCassandraSchema(cassandraTableGetPropertiesResource.Schema);
     _rid       = cassandraTableGetPropertiesResource._rid;
     _ts        = cassandraTableGetPropertiesResource._ts;
     _etag      = cassandraTableGetPropertiesResource._etag;
 }
Пример #3
0
        public PSCassandraTableGetPropertiesResource(CassandraTableGetPropertiesResource cassandraTableGetPropertiesResource)
        {
            if (cassandraTableGetPropertiesResource == null)
            {
                return;
            }

            Id                   = cassandraTableGetPropertiesResource.Id;
            DefaultTtl           = cassandraTableGetPropertiesResource.DefaultTtl;
            Schema               = new PSCassandraSchema(cassandraTableGetPropertiesResource.Schema);
            AnalyticalStorageTtl = cassandraTableGetPropertiesResource.AnalyticalStorageTtl;
            _rid                 = cassandraTableGetPropertiesResource._rid;
            _ts                  = cassandraTableGetPropertiesResource._ts;
            _etag                = cassandraTableGetPropertiesResource._etag;
        }